diff options
author | Leon Scroggins III <scroggo@google.com> | 2016-12-16 14:17:03 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-12-16 19:51:52 +0000 |
commit | 4cd68653e32928536854769ba132db5b43b5d337 (patch) | |
tree | 80302bfde52d791a27d445c9a58a71365c3f20ea /resources/yellow_rose.png | |
parent | f856fd1ccdd839646159767f6aa9a2f2a1b97f04 (diff) |
Only attempt index8 if underlying GIF is index8
Recent changes (crrev.com/2045293002) made it so that a GIF may not
support index 8. In that case, make SkAndroidCodec not suggest index 8.
Add a test and a new test file. randPixelsOffset.gif is the same as
randPixels.gif, except its frame is offset. Since it does not have a
transparent index, we have to decode to kN32.
Change-Id: I1c09ab9094083de3dfc436632b3c26dbde1dccbd
Reviewed-on: https://skia-review.googlesource.com/6196
Commit-Queue: Leon Scroggins <scroggo@google.com>
Reviewed-by: Matt Sarett <msarett@google.com>
Diffstat (limited to 'resources/yellow_rose.png')
0 files changed, 0 insertions, 0 deletions