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

Side by Side Diff: tools/dm_flags.py

Issue 1718273004: Add an SkImageGeneratorCG (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 80 chars Created 4 years, 9 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 if 'iOS' in bot: 106 if 'iOS' in bot:
107 blacklist.extend('gpu skp _ _ msaa skp _ _'.split(' ')) 107 blacklist.extend('gpu skp _ _ msaa skp _ _'.split(' '))
108 blacklist.extend('msaa16 gm _ tilemodesProcess'.split(' ')) 108 blacklist.extend('msaa16 gm _ tilemodesProcess'.split(' '))
109 109
110 # the 32-bit GCE bots run out of memory in DM when running these large images 110 # the 32-bit GCE bots run out of memory in DM when running these large images
111 if 'x86' in bot and not 'x86-64' in bot: 111 if 'x86' in bot and not 'x86-64' in bot:
112 blacklist.extend('_ image _ interlaced1.png'.split(' ')) 112 blacklist.extend('_ image _ interlaced1.png'.split(' '))
113 blacklist.extend('_ image _ interlaced2.png'.split(' ')) 113 blacklist.extend('_ image _ interlaced2.png'.split(' '))
114 blacklist.extend('_ image _ interlaced3.png'.split(' ')) 114 blacklist.extend('_ image _ interlaced3.png'.split(' '))
115 115
116 # CG fails on questionable bmps
117 if 'Mac' in bot or 'iOS' in bot:
118 blacklist.extend('_ image gen_platf rgba32abf.bmp'.split(' '))
119 blacklist.extend('_ image gen_platf rgb24prof.bmp'.split(' '))
120 blacklist.extend('_ image gen_platf rgb24lprof.bmp'.split(' '))
121 blacklist.extend('_ image gen_platf 8bpp-pixeldata-cropped.bmp'.split(' '))
122 blacklist.extend('_ image gen_platf 4bpp-pixeldata-cropped.bmp'.split(' '))
123 blacklist.extend('_ image gen_platf 32bpp-pixeldata-cropped.bmp'.split(' '))
124 blacklist.extend('_ image gen_platf 24bpp-pixeldata-cropped.bmp'.split(' '))
125
116 # skia:4095 126 # skia:4095
117 for test in ['not_native32_bitmap_config', 127 for test in ['not_native32_bitmap_config',
118 'bleed_image', 128 'bleed_image',
119 'bleed_alpha_image', 129 'bleed_alpha_image',
120 'bleed_alpha_image_shader', 130 'bleed_alpha_image_shader',
121 'blend', 131 'blend',
122 'c_gms', 132 'c_gms',
123 'colortype', 133 'colortype',
124 'colortype_xfermodes', 134 'colortype_xfermodes',
125 'colorwheelnative', 135 'colorwheelnative',
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 if len(sys.argv) == 2 and sys.argv[1] == 'test': 264 if len(sys.argv) == 2 and sys.argv[1] == 'test':
255 self_test() 265 self_test()
256 sys.exit(0) 266 sys.exit(0)
257 267
258 if len(sys.argv) != 3: 268 if len(sys.argv) != 3:
259 print usage 269 print usage
260 sys.exit(1) 270 sys.exit(1)
261 271
262 with open(sys.argv[1], 'w') as out: 272 with open(sys.argv[1], 'w') as out:
263 json.dump(get_args(sys.argv[2]), out) 273 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