| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 | 5 |
| 6 """ | 6 """ |
| 7 This file defines the configurations in which bench_pictures should be run | 7 This file defines the configurations in which bench_pictures should be run |
| 8 on various platforms. The buildbots read these configurations from the | 8 on various platforms. The buildbots read these configurations from the |
| 9 bench_pictures_cfg dictionary. Everything else in this file exists to help in | 9 bench_pictures_cfg dictionary. Everything else in this file exists to help in |
| 10 constructing that dictionary. | 10 constructing that dictionary. |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 # a dictionary of key/value pairs directly corresponding to the command-line | 106 # a dictionary of key/value pairs directly corresponding to the command-line |
| 107 # flags passed to bench_pictures. | 107 # flags passed to bench_pictures. |
| 108 bench_pictures_cfg = { | 108 bench_pictures_cfg = { |
| 109 'angle': [TiledConfig(DEFAULT_TILE_X, DEFAULT_TILE_Y, config='angle')], | 109 'angle': [TiledConfig(DEFAULT_TILE_X, DEFAULT_TILE_Y, config='angle')], |
| 110 'debug': [TiledBitmapConfig(DEFAULT_TILE_X, DEFAULT_TILE_Y)], | 110 'debug': [TiledBitmapConfig(DEFAULT_TILE_X, DEFAULT_TILE_Y)], |
| 111 'default': default_configs, | 111 'default': default_configs, |
| 112 'no_gpu': [cfg for cfg in default_configs if cfg['config'] != 'gpu'], | 112 'no_gpu': [cfg for cfg in default_configs if cfg['config'] != 'gpu'], |
| 113 'nexus_s': AndroidConfigList((256, 256), 0.4897, [], (480, 800), | 113 'nexus_s': AndroidConfigList((256, 256), 0.4897, [], (480, 800), |
| 114 do_gpu=False), | 114 do_gpu=False), |
| 115 'xoom': AndroidConfigList((256, 256), 1.2244, [], (1200, 800)), | 115 'xoom': AndroidConfigList((256, 256), 1.2244, [], (1200, 800)), |
| 116 'galaxy_nexus': AndroidConfigList((256, 256), 0.8163, [], (800, 1280)) + \ | 116 'galaxy_nexus': AndroidConfigList((256, 256), 0.8163, [], (800, 1280)), |
| 117 [msaa4], | |
| 118 'nexus_4': AndroidConfigList((256, 256), 0.7836, [], (768, 1280)), | 117 'nexus_4': AndroidConfigList((256, 256), 0.7836, [], (768, 1280)), |
| 119 'nexus_7': AndroidConfigList((256, 256), 1.3061, [2], (1280, 800)), | 118 'nexus_7': AndroidConfigList((256, 256), 1.3061, [2], (1280, 800)), |
| 120 'nexus_10': AndroidConfigList((512, 512), 2.6122, [], (2560, 1600), | 119 'nexus_10': AndroidConfigList((512, 512), 2.6122, [], (2560, 1600), |
| 121 do_gpu=False) + [msaa4], | 120 do_gpu=False) + [msaa4], |
| 122 'razr_i': AndroidConfigList((256, 256), 0.5510, [], (540, 960)) + \ | 121 'razr_i': AndroidConfigList((256, 256), 0.5510, [], (540, 960)) + \ |
| 123 [msaa4], | 122 [msaa4], |
| 124 'intel_rhb': AndroidConfigList((256, 256), 0.5510, [], (540, 960)) + \ | 123 'intel_rhb': AndroidConfigList((256, 256), 0.5510, [], (540, 960)) + \ |
| 125 [msaa4], | 124 [msaa4], |
| 126 } | 125 } |
| OLD | NEW |