diff options
author | msarett <msarett@google.com> | 2015-12-11 10:37:39 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-11 10:37:39 -0800 |
commit | 457f54df1e6706f560e291ab5e3b90bf0d20ded0 (patch) | |
tree | 7bc79d6ffaef0827672fed042762384a0a5361cb /src/gpu/GrBufferAllocPool.cpp | |
parent | 061aaa79f7d8a2e93962e8296abaae13f0a7a715 (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 'src/gpu/GrBufferAllocPool.cpp')
0 files changed, 0 insertions, 0 deletions