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

Side by Side Diff: tools/dm_flags.py

Issue 1414563002: Test SkRemote on GCE bots. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 2 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 19 matching lines...) Expand all
30 args = [] 30 args = []
31 31
32 configs = ['565', '8888', 'gpu'] 32 configs = ['565', '8888', 'gpu']
33 33
34 if 'Android' not in bot: 34 if 'Android' not in bot:
35 configs.extend(('upright-matrix-8888', 'upright-matrix-gpu')) 35 configs.extend(('upright-matrix-8888', 'upright-matrix-gpu'))
36 args.extend('--matrix 0 1 1 0'.split(' ')) 36 args.extend('--matrix 0 1 1 0'.split(' '))
37 37
38 if '-GCE-' in bot: 38 if '-GCE-' in bot:
39 configs.append('sp-8888') 39 configs.append('sp-8888')
40 configs.extend(['remote-8888', 'remote_cache-8888'])
40 41
41 if 'TegraK1' in bot or 'GTX550Ti' in bot or 'GTX660' in bot or 'GT610' in bot: 42 if 'TegraK1' in bot or 'GTX550Ti' in bot or 'GTX660' in bot or 'GT610' in bot:
42 if 'Android' in bot: 43 if 'Android' in bot:
43 configs.append('nvprmsaa4') 44 configs.append('nvprmsaa4')
44 else: 45 else:
45 configs.append('nvprmsaa16') 46 configs.append('nvprmsaa16')
46 47
47 # The S4 crashes and the NP produces a long error stream when we run with 48 # The S4 crashes and the NP produces a long error stream when we run with
48 # MSAA. The Tegra2 and Tegra3 just don't support it. 49 # MSAA. The Tegra2 and Tegra3 just don't support it.
49 if ('GalaxyS4' not in bot and 50 if ('GalaxyS4' not in bot and
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 if len(sys.argv) == 2 and sys.argv[1] == 'test': 244 if len(sys.argv) == 2 and sys.argv[1] == 'test':
244 self_test() 245 self_test()
245 sys.exit(0) 246 sys.exit(0)
246 247
247 if len(sys.argv) != 3: 248 if len(sys.argv) != 3:
248 print usage 249 print usage
249 sys.exit(1) 250 sys.exit(1)
250 251
251 with open(sys.argv[1], 'w') as out: 252 with open(sys.argv[1], 'w') as out:
252 json.dump(get_args(sys.argv[2]), out) 253 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