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

Side by Side Diff: tools/dm_flags.py

Issue 1099943002: Skip msaa4 on Tegra 2 and 3. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 5 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 | « 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 20 matching lines...) Expand all
31 31
32 configs = ['565', '8888', 'gpu'] 32 configs = ['565', '8888', 'gpu']
33 33
34 if 'TegraK1' in bot or 'GTX550Ti' in bot or 'GTX660' in bot or 'GT610' in bot: 34 if 'TegraK1' in bot or 'GTX550Ti' in bot or 'GTX660' in bot or 'GT610' in bot:
35 if 'Android' in bot: 35 if 'Android' in bot:
36 configs.append('nvprmsaa4') 36 configs.append('nvprmsaa4')
37 else: 37 else:
38 configs.append('nvprmsaa16') 38 configs.append('nvprmsaa16')
39 39
40 # The S4 crashes and the NP produces a long error stream when we run with 40 # The S4 crashes and the NP produces a long error stream when we run with
41 # MSAA. 41 # MSAA. The Tegra2 and Tegra3 just don't support it.
42 if ('GalaxyS4' not in bot and 42 if ('GalaxyS4' not in bot and
43 'NexusPlayer' not in bot): 43 'NexusPlayer' not in bot and
44 'Tegra2' not in bot and
45 'Tegra3' not in bot):
44 if 'Android' in bot: 46 if 'Android' in bot:
45 configs.append('msaa4') 47 configs.append('msaa4')
46 else: 48 else:
47 configs.append('msaa16') 49 configs.append('msaa16')
48 # Runs out of memory on Android bots and Daisy. Everyone else seems fine. 50 # Runs out of memory on Android bots and Daisy. Everyone else seems fine.
49 if 'Android' not in bot and 'Daisy' not in bot: 51 if 'Android' not in bot and 'Daisy' not in bot:
50 configs.append('pdf') 52 configs.append('pdf')
51 53
52 # Xoom and NP are running out of RAM when we run all these modes. skia:3255 54 # Xoom and NP are running out of RAM when we run all these modes. skia:3255
53 if ('Xoom' not in bot and 55 if ('Xoom' not in bot and
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 if len(sys.argv) == 2 and sys.argv[1] == 'test': 192 if len(sys.argv) == 2 and sys.argv[1] == 'test':
191 self_test() 193 self_test()
192 sys.exit(0) 194 sys.exit(0)
193 195
194 if len(sys.argv) != 3: 196 if len(sys.argv) != 3:
195 print usage 197 print usage
196 sys.exit(1) 198 sys.exit(1)
197 199
198 with open(sys.argv[1], 'w') as out: 200 with open(sys.argv[1], 'w') as out:
199 json.dump(get_args(sys.argv[2]), out) 201 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