commit | 457f54df1e6706f560e291ab5e3b90bf0d20ded0 | [log] [tgz] |
---|---|---|
author | msarett <msarett@google.com> | Fri Dec 11 10:37:39 2015 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Fri Dec 11 10:37:39 2015 -0800 |
tree | 7bc79d6ffaef0827672fed042762384a0a5361cb | |
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