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

Side by Side Diff: tools/dm_flags.py

Issue 1563923003: Revert of DM: add a pixel check to serialize (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 11 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 blacklist.extend('gpu skp _ _ msaa skp _ _'.split(' ')) 161 blacklist.extend('gpu skp _ _ msaa skp _ _'.split(' '))
162 blacklist.extend('gpu image decode _ msaa image decode _'.split(' ')) 162 blacklist.extend('gpu image decode _ msaa image decode _'.split(' '))
163 blacklist.extend('msaa16 gm _ tilemodesProcess'.split(' ')) 163 blacklist.extend('msaa16 gm _ tilemodesProcess'.split(' '))
164 164
165 # the 32-bit GCE bots run out of memory in DM when running these large images 165 # the 32-bit GCE bots run out of memory in DM when running these large images
166 if 'x86' in bot and not 'x86-64' in bot: 166 if 'x86' in bot and not 'x86-64' in bot:
167 blacklist.extend('_ image _ interlaced1.png'.split(' ')) 167 blacklist.extend('_ image _ interlaced1.png'.split(' '))
168 blacklist.extend('_ image _ interlaced2.png'.split(' ')) 168 blacklist.extend('_ image _ interlaced2.png'.split(' '))
169 blacklist.extend('_ image _ interlaced3.png'.split(' ')) 169 blacklist.extend('_ image _ interlaced3.png'.split(' '))
170 170
171 # skia:4095
172 for test in ['not_native32_bitmap_config',
173 'bleed_image',
174 'bleed_alpha_image',
175 'bleed_alpha_image_shader',
176 'blend',
177 'c_gms',
178 'colortype',
179 'colortype_xfermodes',
180 'colorwheelnative',
181 'drawfilter',
182 'fontmgr_bounds_0.75_0',
183 'fontmgr_bounds_1_-0.25',
184 'fontmgr_bounds',
185 'fontmgr_match',
186 'fontmgr_iter',
187 'lightingshader',
188 'localmatriximagefilter',
189 'path_stroke_with_zero_length',
190 'textblobgeometrychange']:
191 blacklist.extend(['serialize-8888', 'gm', '_', test])
192
193 if blacklist: 171 if blacklist:
194 args.append('--blacklist') 172 args.append('--blacklist')
195 args.extend(blacklist) 173 args.extend(blacklist)
196 174
197 match = [] 175 match = []
198 if 'Valgrind' in bot: # skia:3021 176 if 'Valgrind' in bot: # skia:3021
199 match.append('~Threaded') 177 match.append('~Threaded')
200 178
201 if 'GalaxyS3' in bot: # skia:1699 179 if 'GalaxyS3' in bot: # skia:1699
202 match.append('~WritePixels') 180 match.append('~WritePixels')
203 181
204 if 'AndroidOne' in bot: # skia:4711 182 if 'AndroidOne' in bot: # skia:4711
205 match.append('~WritePixels') 183 match.append('~WritePixels')
206 184
207 if 'NexusPlayer' in bot: 185 if 'NexusPlayer' in bot:
208 match.append('~ResourceCache') 186 match.append('~ResourceCache')
209 187
210 if 'GalaxyS4' in bot: # skia:4079 188 if 'GalaxyS4' in bot: # skia:4079
211 match.append('~imagefiltersclipped') 189 match.append('~imagefiltersclipped')
212 match.append('~imagefilterscropexpand') 190 match.append('~imagefilterscropexpand')
213 match.append('~scaled_tilemodes_npot') 191 match.append('~scaled_tilemodes_npot')
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 if len(sys.argv) == 2 and sys.argv[1] == 'test': 243 if len(sys.argv) == 2 and sys.argv[1] == 'test':
266 self_test() 244 self_test()
267 sys.exit(0) 245 sys.exit(0)
268 246
269 if len(sys.argv) != 3: 247 if len(sys.argv) != 3:
270 print usage 248 print usage
271 sys.exit(1) 249 sys.exit(1)
272 250
273 with open(sys.argv[1], 'w') as out: 251 with open(sys.argv[1], 'w') as out:
274 json.dump(get_args(sys.argv[2]), out) 252 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