Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(175)

Side by Side Diff: tools/dm_flags.py

Issue 2039813007: Add raw pixel serialization fallback for SkImages that cannot be encoded. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fixed only on Mac Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/dm_flags.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 1 #
2 # Copyright 2015 Google Inc. 2 # Copyright 2015 Google Inc.
3 # 3 #
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 # 6 #
7 7
8 #!/usr/bin/env python 8 #!/usr/bin/env python
9 9
10 usage = ''' 10 usage = '''
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 blacklist.extend('_ image gen_platf rgb24lprof.bmp'.split(' ')) 156 blacklist.extend('_ image gen_platf rgb24lprof.bmp'.split(' '))
157 blacklist.extend('_ image gen_platf 8bpp-pixeldata-cropped.bmp'.split(' ')) 157 blacklist.extend('_ image gen_platf 8bpp-pixeldata-cropped.bmp'.split(' '))
158 blacklist.extend('_ image gen_platf 4bpp-pixeldata-cropped.bmp'.split(' ')) 158 blacklist.extend('_ image gen_platf 4bpp-pixeldata-cropped.bmp'.split(' '))
159 blacklist.extend('_ image gen_platf 32bpp-pixeldata-cropped.bmp'.split(' ')) 159 blacklist.extend('_ image gen_platf 32bpp-pixeldata-cropped.bmp'.split(' '))
160 blacklist.extend('_ image gen_platf 24bpp-pixeldata-cropped.bmp'.split(' ')) 160 blacklist.extend('_ image gen_platf 24bpp-pixeldata-cropped.bmp'.split(' '))
161 if 'x86_64' in bot and 'CPU' in bot: 161 if 'x86_64' in bot and 'CPU' in bot:
162 # This GM triggers a SkSmallAllocator assert. 162 # This GM triggers a SkSmallAllocator assert.
163 blacklist.extend('_ gm _ composeshader_bitmap'.split(' ')) 163 blacklist.extend('_ gm _ composeshader_bitmap'.split(' '))
164 164
165 # skia:4095 165 # skia:4095
166 for test in ['not_native32_bitmap_config', 166 for test in ['bleed_image',
167 'bleed_image',
168 'bleed_alpha_image',
169 'bleed_alpha_image_shader',
170 'c_gms', 167 'c_gms',
171 'colortype', 168 'colortype',
172 'colortype_xfermodes', 169 'colortype_xfermodes',
173 'drawfilter', 170 'drawfilter',
174 'fontmgr_bounds_0.75_0', 171 'fontmgr_bounds_0.75_0',
175 'fontmgr_bounds_1_-0.25', 172 'fontmgr_bounds_1_-0.25',
176 'fontmgr_bounds', 173 'fontmgr_bounds',
177 'fontmgr_match', 174 'fontmgr_match',
178 'fontmgr_iter', 175 'fontmgr_iter']:
179 'verylargebitmap', # Windows only.
180 'verylarge_picture_image']: # Windows only.
181 blacklist.extend(['serialize-8888', 'gm', '_', test]) 176 blacklist.extend(['serialize-8888', 'gm', '_', test])
177 if 'Mac' not in bot:
178 for test in ['bleed_alpha_image', 'bleed_alpha_image_shader']:
179 blacklist.extend(['serialize-8888', 'gm', '_', test])
180 if 'Win' in bot:
181 for test in ['verylargebitmap', 'verylarge_picture_image']:
182 blacklist.extend(['serialize-8888', 'gm', '_', test])
183
182 # skia:4769 184 # skia:4769
183 for test in ['drawfilter']: 185 for test in ['drawfilter']:
184 blacklist.extend([ 'sp-8888', 'gm', '_', test]) 186 blacklist.extend([ 'sp-8888', 'gm', '_', test])
185 blacklist.extend([ 'pic-8888', 'gm', '_', test]) 187 blacklist.extend([ 'pic-8888', 'gm', '_', test])
186 blacklist.extend(['2ndpic-8888', 'gm', '_', test]) 188 blacklist.extend(['2ndpic-8888', 'gm', '_', test])
187 # skia:4703 189 # skia:4703
188 for test in ['image-cacherator-from-picture', 190 for test in ['image-cacherator-from-picture',
189 'image-cacherator-from-raster', 191 'image-cacherator-from-raster',
190 'image-cacherator-from-ctable']: 192 'image-cacherator-from-ctable']:
191 blacklist.extend([ 'sp-8888', 'gm', '_', test]) 193 blacklist.extend([ 'sp-8888', 'gm', '_', test])
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 match.append('~bleed_image') # skia:4367 233 match.append('~bleed_image') # skia:4367
232 match.append('~ReadPixels') # skia:4368 234 match.append('~ReadPixels') # skia:4368
233 235
234 if 'ANGLE' in bot and 'Debug' in bot: 236 if 'ANGLE' in bot and 'Debug' in bot:
235 match.append('~GLPrograms') # skia:4717 237 match.append('~GLPrograms') # skia:4717
236 238
237 if 'MSAN' in bot: 239 if 'MSAN' in bot:
238 match.extend(['~Once', '~Shared']) # Not sure what's up with these tests. 240 match.extend(['~Once', '~Shared']) # Not sure what's up with these tests.
239 241
240 if 'TSAN' in bot: 242 if 'TSAN' in bot:
241 match.extend(['~ReadWriteAlpha']) # Flaky on TSAN-covered on nvidia bots. 243 match.extend(['~ReadWriteAlpha']) # Flaky on TSAN-covered on nvidia bots.
242 244
243 if blacklist: 245 if blacklist:
244 args.append('--blacklist') 246 args.append('--blacklist')
245 args.extend(blacklist) 247 args.extend(blacklist)
246 248
247 if match: 249 if match:
248 args.append('--match') 250 args.append('--match')
249 args.extend(match) 251 args.extend(match)
250 252
251 # These bots run out of memory running RAW codec tests. Do not run them in 253 # These bots run out of memory running RAW codec tests. Do not run them in
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 if len(sys.argv) == 2 and sys.argv[1] == 'test': 306 if len(sys.argv) == 2 and sys.argv[1] == 'test':
305 self_test() 307 self_test()
306 sys.exit(0) 308 sys.exit(0)
307 309
308 if len(sys.argv) != 3: 310 if len(sys.argv) != 3:
309 print usage 311 print usage
310 sys.exit(1) 312 sys.exit(1)
311 313
312 with open(sys.argv[1], 'w') as out: 314 with open(sys.argv[1], 'w') as out:
313 json.dump(get_args(sys.argv[2]), out) 315 json.dump(get_args(sys.argv[2]), out)
OLDNEW
« no previous file with comments | « tools/dm_flags.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698