| OLD | NEW | 
|---|
| 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  Loading... | 
| 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  Loading... | 
| 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) | 
| OLD | NEW | 
|---|