aboutsummaryrefslogtreecommitdiffhomepage
path: root/resources
diff options
context:
space:
mode:
authorGravatar Leon Scroggins III <scroggo@google.com>2016-12-16 14:17:03 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-12-16 19:51:52 +0000
commit4cd68653e32928536854769ba132db5b43b5d337 (patch)
tree80302bfde52d791a27d445c9a58a71365c3f20ea /resources
parentf856fd1ccdd839646159767f6aa9a2f2a1b97f04 (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')
-rw-r--r--resources/randPixelsOffset.gifbin0 -> 277 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/resources/randPixelsOffset.gif b/resources/randPixelsOffset.gif
new file mode 100644
index 0000000000..df326b81f2
--- /dev/null
+++ b/resources/randPixelsOffset.gif
Binary files differ