summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorMatt Sarett <msarett@google.com>2016-12-21 12:17:17 -0500
committerMatt Sarett <msarett@google.com>2017-01-05 10:45:18 -0500
commit33e3741cad838d3228aeb110a107b021bf7b90a7 (patch)
treedf5bb7a43977b9e4ebd784f13a79ee3910a950a6 /tools/aapt2/diff/Diff.cpp
parente19fa20ca5a1e6f5c7fd95ed8990923a01185f92 (diff)
Decode images to sRGB, premultiply based on framework define
This reenables color conversion to sRGB at decode time. Use the value ANDROID_LINEAR_BLENDING_ENABLED to decide whether to use the codec's linear premultiply or manually perform a legacy premultiply. Test: Demonstrated that legacy premultiply is still faster than the linear premultiply. So the performance of the two pass approach (decode, then premultiply) is acceptable. Skia tests both of these decoding modes. BUG:33741991 BUG:8860389 BUG:24279600 Change-Id: Idea0f359565bd8c7c3ba06e77a897173677db1c6
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions