diff options
author | Leon Scroggins III <scroggo@google.com> | 2017-04-24 15:44:45 -0400 |
---|---|---|
committer | Leon Scroggins <scroggo@google.com> | 2017-04-25 11:45:15 +0000 |
commit | 600effbdc7d8fb1cfb1b9dcecf785a2e42cc1cc3 (patch) | |
tree | 764972ccf52d5642df5c484668799ae3689afab1 /src/xps | |
parent | dd3b3f41829d32d7eaf3eb4903570d49c2ba9ff8 (diff) |
Improve the Codec_end test and add fixes
Better imitate the original Android bug. Create a stream with
multiple images in it, and verify that it successfully decodes after
decoding once.
This exposes a bug in SkPngCodec, which did not work for interlaced
images.
Test more formats that also happen to succeed: ICO, BMP, and WBMP
This explicitly does *not* attempt to fix sampled or subset
decodes, which already stopped early when decoding as an
optimization.
Change-Id: Ib0b8918f14ba3fb0fa31e9c71c8100dcbeeb465f
Reviewed-on: https://skia-review.googlesource.com/14104
Reviewed-by: Matt Sarett <msarett@google.com>
Diffstat (limited to 'src/xps')
0 files changed, 0 insertions, 0 deletions