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

Side by Side Diff: tools/dm_flags.py

Issue 1834693002: Add test configs for nvpr with atlas text (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: only nvprdit for dm Created 4 years, 8 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 | « tests/TestConfigParsing.cpp ('k') | tools/flags/SkCommonFlagsConfig.cpp » ('j') | 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 28 matching lines...) Expand all
39 if '-GCE-' in bot: 39 if '-GCE-' in bot:
40 configs.extend(['f16', 'srgb']) # Gamma-correct formats. 40 configs.extend(['f16', 'srgb']) # Gamma-correct formats.
41 configs.extend(['sp-8888', '2ndpic-8888']) # Test niche uses of SkPicture. 41 configs.extend(['sp-8888', '2ndpic-8888']) # Test niche uses of SkPicture.
42 42
43 if '-TSAN' not in bot: 43 if '-TSAN' not in bot:
44 if ('TegraK1' in bot or 44 if ('TegraK1' in bot or
45 'GTX550Ti' in bot or 45 'GTX550Ti' in bot or
46 'GTX660' in bot or 46 'GTX660' in bot or
47 'GT610' in bot): 47 'GT610' in bot):
48 if 'Android' in bot: 48 if 'Android' in bot:
49 configs.append('nvprmsaa4') 49 configs.append('nvprdit4')
50 else: 50 else:
51 configs.append('nvprmsaa16') 51 configs.append('nvprdit16')
52 52
53 # The S4 crashes and the NP produces a long error stream when we run with 53 # The S4 crashes and the NP produces a long error stream when we run with
54 # MSAA. The Tegra2 and Tegra3 just don't support it. 54 # MSAA. The Tegra2 and Tegra3 just don't support it.
55 if ('GalaxyS4' not in bot and 55 if ('GalaxyS4' not in bot and
56 'NexusPlayer' not in bot and 56 'NexusPlayer' not in bot and
57 'Tegra3' not in bot and 57 'Tegra3' not in bot and
58 'iOS' not in bot): 58 'iOS' not in bot):
59 if 'Android' in bot: 59 if 'Android' in bot:
60 configs.append('msaa4') 60 configs.append('msaa4')
61 else: 61 else:
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 if len(sys.argv) == 2 and sys.argv[1] == 'test': 285 if len(sys.argv) == 2 and sys.argv[1] == 'test':
286 self_test() 286 self_test()
287 sys.exit(0) 287 sys.exit(0)
288 288
289 if len(sys.argv) != 3: 289 if len(sys.argv) != 3:
290 print usage 290 print usage
291 sys.exit(1) 291 sys.exit(1)
292 292
293 with open(sys.argv[1], 'w') as out: 293 with open(sys.argv[1], 'w') as out:
294 json.dump(get_args(sys.argv[2]), out) 294 json.dump(get_args(sys.argv[2]), out)
OLDNEW
« no previous file with comments | « tests/TestConfigParsing.cpp ('k') | tools/flags/SkCommonFlagsConfig.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698