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

Side by Side Diff: tools/dm_flags.py

Issue 1318503003: Skip scaled_tilemodes_npot on Galaxy S4 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 3 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 match.append('~desk_yahoonews_0') 163 match.append('~desk_yahoonews_0')
164 164
165 if 'NexusPlayer' in bot: 165 if 'NexusPlayer' in bot:
166 match.append('~ResourceCache') 166 match.append('~ResourceCache')
167 167
168 if 'iOS' in bot: 168 if 'iOS' in bot:
169 match.append('~WritePixels') 169 match.append('~WritePixels')
170 170
171 if 'GalaxyS4' in bot: # skia:4079 171 if 'GalaxyS4' in bot: # skia:4079
172 match.append('~imagefiltersclipped') 172 match.append('~imagefiltersclipped')
173 match.append('~scaled_tilemodes_npot')
173 174
174 if match: 175 if match:
175 args.append('--match') 176 args.append('--match')
176 args.extend(match) 177 args.extend(match)
177 178
178 return args 179 return args
179 cov_end = lineno() # Don't care about code coverage past here. 180 cov_end = lineno() # Don't care about code coverage past here.
180 181
181 182
182 def self_test(): 183 def self_test():
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 if len(sys.argv) == 2 and sys.argv[1] == 'test': 218 if len(sys.argv) == 2 and sys.argv[1] == 'test':
218 self_test() 219 self_test()
219 sys.exit(0) 220 sys.exit(0)
220 221
221 if len(sys.argv) != 3: 222 if len(sys.argv) != 3:
222 print usage 223 print usage
223 sys.exit(1) 224 sys.exit(1)
224 225
225 with open(sys.argv[1], 'w') as out: 226 with open(sys.argv[1], 'w') as out:
226 json.dump(get_args(sys.argv[2]), out) 227 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