aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dm_flags.py
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2015-04-10 14:36:48 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-10 14:36:49 -0700
commit3c309db75bb8c4c2b58724a0e2f6f3b387ca842c (patch)
treeba2f2ddf0670e3fd8edde370db6ba369ea2ec491 /tools/dm_flags.py
parent25c40d25d75c8ee5d9632608ba09eb2c5fb765d2 (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-xtools/dm_flags.py8
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(' '))