diff options
author | 2015-04-10 14:36:48 -0700 | |
---|---|---|
committer | 2015-04-10 14:36:49 -0700 | |
commit | 3c309db75bb8c4c2b58724a0e2f6f3b387ca842c (patch) | |
tree | ba2f2ddf0670e3fd8edde370db6ba369ea2ec491 /tools/dm_flags.py | |
parent | 25c40d25d75c8ee5d9632608ba09eb2c5fb765d2 (diff) |
Implementing filling for SkBmpCodec
The bmp codec currently returns kIncompleteInput
when the stream is truncated, which we treat as a
partial success. However, we neglect the fill the
remaining pixels in the image, leaving these
uninitialized.
This CL addresses this problem by initializing the
remaining pixels in the image to default values.
BUG=skia:3257
Review URL: https://codereview.chromium.org/1075243003
Diffstat (limited to 'tools/dm_flags.py')
-rwxr-xr-x | tools/dm_flags.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/dm_flags.py b/tools/dm_flags.py index 368d0a348e..c3a44a9d79 100755 --- a/tools/dm_flags.py +++ b/tools/dm_flags.py @@ -73,9 +73,17 @@ def get_args(bot): blacklist.extend('_ image decode pal8oversizepal.bmp'.split(' ')) blacklist.extend('_ image decode pal4rletrns.bmp'.split(' ')) blacklist.extend('_ image decode pal8rletrns.bmp'.split(' ')) + blacklist.extend('_ image decode 4bpp-pixeldata-cropped.bmp'.split(' ')) + blacklist.extend('_ image decode 8bpp-pixeldata-cropped.bmp'.split(' ')) + blacklist.extend('_ image decode 24bpp-pixeldata-cropped.bmp'.split(' ')) + blacklist.extend('_ image decode 32bpp-pixeldata-cropped.bmp'.split(' ')) blacklist.extend('_ image subset rgb24largepal.bmp'.split(' ')) blacklist.extend('_ image subset pal8os2v2-16.bmp'.split(' ')) blacklist.extend('_ image subset pal8oversizepal.bmp'.split(' ')) + blacklist.extend('_ image subset 4bpp-pixeldata-cropped.bmp'.split(' ')) + blacklist.extend('_ image subset 8bpp-pixeldata-cropped.bmp'.split(' ')) + blacklist.extend('_ image subset 24bpp-pixeldata-cropped.bmp'.split(' ')) + blacklist.extend('_ image subset 32bpp-pixeldata-cropped.bmp'.split(' ')) # New ico files that fail on SkImageDecoder blacklist.extend('_ image decode Hopstarter-Mac-Folders-Apple.ico'.split(' ')) |