aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/imagescalealigned.cpp
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2015-12-11 10:37:39 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-12-11 10:37:39 -0800
commit457f54df1e6706f560e291ab5e3b90bf0d20ded0 (patch)
tree7bc79d6ffaef0827672fed042762384a0a5361cb /gm/imagescalealigned.cpp
parent061aaa79f7d8a2e93962e8296abaae13f0a7a715 (diff)
Change computeOutputColorType() to mimic old behavior
This will prevent behavior changes in BitmapFactory when switching from SkImageDecoder to SkAndroidCodec. We will only choose kGray8 if it is explicitly requested (and also supported). Additionally, we will always decode GIFS and WBMPS to kIndex8. BUG=skia: Review URL: https://codereview.chromium.org/1519843002
Diffstat (limited to 'gm/imagescalealigned.cpp')
0 files changed, 0 insertions, 0 deletions