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

Side by Side Diff: tools/dm_flags.py

Issue 2195893002: Always return ImageShader, even from SkShader::MakeBitmapShader (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update serialize-8888 ignore list: skbug.com/5595 Created 4 years, 4 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
« src/image/SkImageShader.h ('K') | « tests/ShaderTest.cpp ('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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 'bitmapshaders', 201 'bitmapshaders',
202 'bleed', 202 'bleed',
203 'bleed_alpha_bmp', 203 'bleed_alpha_bmp',
204 'bleed_alpha_bmp_shader', 204 'bleed_alpha_bmp_shader',
205 'convex_poly_clip', 205 'convex_poly_clip',
206 'extractalpha', 206 'extractalpha',
207 'filterbitmap_checkerboard_32_32_g8', 207 'filterbitmap_checkerboard_32_32_g8',
208 'filterbitmap_image_mandrill_64', 208 'filterbitmap_image_mandrill_64',
209 'shadows', 209 'shadows',
210 'simpleaaclip_aaclip']) 210 'simpleaaclip_aaclip'])
211 # skia:5595
212 bad_serialize_gms.extend(['composeshader_bitmap',
213 'scaled_tilemodes_npot',
214 'scaled_tilemodes'])
211 for test in bad_serialize_gms: 215 for test in bad_serialize_gms:
212 blacklist.extend(['serialize-8888', 'gm', '_', test]) 216 blacklist.extend(['serialize-8888', 'gm', '_', test])
213 217
214 if 'Mac' not in bot: 218 if 'Mac' not in bot:
215 for test in ['bleed_alpha_image', 'bleed_alpha_image_shader']: 219 for test in ['bleed_alpha_image', 'bleed_alpha_image_shader']:
216 blacklist.extend(['serialize-8888', 'gm', '_', test]) 220 blacklist.extend(['serialize-8888', 'gm', '_', test])
217 # It looks like we skip these only for out-of-memory concerns. 221 # It looks like we skip these only for out-of-memory concerns.
218 if 'Win' in bot or 'Android' in bot: 222 if 'Win' in bot or 'Android' in bot:
219 for test in ['verylargebitmap', 'verylarge_picture_image']: 223 for test in ['verylargebitmap', 'verylarge_picture_image']:
220 blacklist.extend(['serialize-8888', 'gm', '_', test]) 224 blacklist.extend(['serialize-8888', 'gm', '_', test])
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 if len(sys.argv) == 2 and sys.argv[1] == 'test': 364 if len(sys.argv) == 2 and sys.argv[1] == 'test':
361 self_test() 365 self_test()
362 sys.exit(0) 366 sys.exit(0)
363 367
364 if len(sys.argv) != 3: 368 if len(sys.argv) != 3:
365 print usage 369 print usage
366 sys.exit(1) 370 sys.exit(1)
367 371
368 with open(sys.argv[1], 'w') as out: 372 with open(sys.argv[1], 'w') as out:
369 json.dump(get_args(sys.argv[2]), out) 373 json.dump(get_args(sys.argv[2]), out)
OLDNEW
« src/image/SkImageShader.h ('K') | « tests/ShaderTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698