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

Side by Side Diff: tools/nanobench_flags.py

Issue 1780463003: Revert of nanobench: turn on f16 and sRGB on the bots (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 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/nanobench_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 26 matching lines...) Expand all
37 args.extend(['--useThermalManager', '1,1,10,1000']) 37 args.extend(['--useThermalManager', '1,1,10,1000'])
38 38
39 if 'Appurify' not in bot: 39 if 'Appurify' not in bot:
40 args.extend(['--scales', '1.0', '1.1']) 40 args.extend(['--scales', '1.0', '1.1'])
41 41
42 if 'iOS' in bot: 42 if 'iOS' in bot:
43 args.extend(['--skps', 'ignore_skps']) 43 args.extend(['--skps', 'ignore_skps'])
44 44
45 if 'Appurify' not in bot: 45 if 'Appurify' not in bot:
46 config = ['565', '8888', 'gpu', 'nonrendering', 'angle', 'hwui'] 46 config = ['565', '8888', 'gpu', 'nonrendering', 'angle', 'hwui']
47 config.extend(['srgb', 'f16'])
48 # The S4 crashes and the NP produces a long error stream when we run with 47 # The S4 crashes and the NP produces a long error stream when we run with
49 # MSAA. 48 # MSAA.
50 if ('GalaxyS4' not in bot and 49 if ('GalaxyS4' not in bot and
51 'NexusPlayer' not in bot): 50 'NexusPlayer' not in bot):
52 if 'Android' in bot: 51 if 'Android' in bot:
53 config.extend(['msaa4', 'nvprmsaa4']) 52 config.extend(['msaa4', 'nvprmsaa4'])
54 else: 53 else:
55 config.extend(['msaa16', 'nvprmsaa16']) 54 config.extend(['msaa16', 'nvprmsaa16'])
56 args.append('--config') 55 args.append('--config')
57 args.extend(config) 56 args.extend(config)
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 if len(sys.argv) == 2 and sys.argv[1] == 'test': 168 if len(sys.argv) == 2 and sys.argv[1] == 'test':
170 self_test() 169 self_test()
171 sys.exit(0) 170 sys.exit(0)
172 171
173 if len(sys.argv) != 3: 172 if len(sys.argv) != 3:
174 print usage 173 print usage
175 sys.exit(1) 174 sys.exit(1)
176 175
177 with open(sys.argv[1], 'w') as out: 176 with open(sys.argv[1], 'w') as out:
178 json.dump(get_args(sys.argv[2]), out) 177 json.dump(get_args(sys.argv[2]), out)
OLDNEW
« no previous file with comments | « tools/nanobench_flags.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698