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

Side by Side Diff: tools/dm_flags.py

Issue 2174353008: Include NVPR configs in dm runs on TegraX1 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add NVPR configs to dm runs on TegraX1 Created 4 years, 4 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 # Runs out of memory on Android bots and Daisy. Everyone else seems fine. 56 # Runs out of memory on Android bots and Daisy. Everyone else seems fine.
57 if 'Android' in bot or 'Daisy' in bot: 57 if 'Android' in bot or 'Daisy' in bot:
58 configs.remove('pdf') 58 configs.remove('pdf')
59 59
60 if '-GCE-' in bot: 60 if '-GCE-' in bot:
61 configs.extend(['f16', 'srgb']) # Gamma-correct formats. 61 configs.extend(['f16', 'srgb']) # Gamma-correct formats.
62 configs.extend(['sp-8888', '2ndpic-8888']) # Test niche uses of SkPicture. 62 configs.extend(['sp-8888', '2ndpic-8888']) # Test niche uses of SkPicture.
63 63
64 if '-TSAN' not in bot: 64 if '-TSAN' not in bot:
65 if ('TegraK1' in bot or 65 if ('TegraK1' in bot or
66 'TegraX1' in bot or
66 'GTX550Ti' in bot or 67 'GTX550Ti' in bot or
67 'GTX660' in bot or 68 'GTX660' in bot or
68 'GT610' in bot): 69 'GT610' in bot):
69 if 'Android' in bot: 70 if 'Android' in bot:
70 configs.append('nvprdit4') 71 configs.append('nvprdit4')
71 else: 72 else:
72 configs.append('nvprdit16') 73 configs.append('nvprdit16')
73 74
74 # We want to test the OpenGL config not the GLES config on the X1 75 # We want to test the OpenGL config not the GLES config on the X1
75 if 'TegraX1' in bot: 76 if 'TegraX1' in bot:
76 configs = [x.replace('gpu', 'gl') for x in configs] 77 configs = [x.replace('gpu', 'gl') for x in configs]
77 configs = [x.replace('msaa', 'glmsaa') for x in configs] 78 configs = [x.replace('msaa', 'glmsaa') for x in configs]
79 configs = [x.replace('nvpr', 'glnvpr') for x in configs]
78 80
79 # NP is running out of RAM when we run all these modes. skia:3255 81 # NP is running out of RAM when we run all these modes. skia:3255
80 if 'NexusPlayer' not in bot: 82 if 'NexusPlayer' not in bot:
81 configs.extend(mode + '-8888' for mode in 83 configs.extend(mode + '-8888' for mode in
82 ['serialize', 'tiles_rt', 'pic']) 84 ['serialize', 'tiles_rt', 'pic'])
83 85
84 if 'ANGLE' in bot: 86 if 'ANGLE' in bot:
85 configs.append('angle') 87 configs.append('angle')
86 88
87 # We want to run gpudft on atleast the mali 400 89 # We want to run gpudft on atleast the mali 400
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 if len(sys.argv) == 2 and sys.argv[1] == 'test': 330 if len(sys.argv) == 2 and sys.argv[1] == 'test':
329 self_test() 331 self_test()
330 sys.exit(0) 332 sys.exit(0)
331 333
332 if len(sys.argv) != 3: 334 if len(sys.argv) != 3:
333 print usage 335 print usage
334 sys.exit(1) 336 sys.exit(1)
335 337
336 with open(sys.argv[1], 'w') as out: 338 with open(sys.argv[1], 'w') as out:
337 json.dump(get_args(sys.argv[2]), out) 339 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