| 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 24 matching lines...) Expand all Loading... |
| 35 DEFAULT_VIEWPORT_X = 1500 | 35 DEFAULT_VIEWPORT_X = 1500 |
| 36 DEFAULT_VIEWPORT_Y = 1000 | 36 DEFAULT_VIEWPORT_Y = 1000 |
| 37 | 37 |
| 38 | 38 |
| 39 # Configs to run on most bots | 39 # Configs to run on most bots |
| 40 default_configs = [ | 40 default_configs = [ |
| 41 # Basic CPU and GPU configs | 41 # Basic CPU and GPU configs |
| 42 TiledBitmapConfig(DEFAULT_TILE_X, DEFAULT_TILE_Y), | 42 TiledBitmapConfig(DEFAULT_TILE_X, DEFAULT_TILE_Y), |
| 43 | 43 |
| 44 # Viewport CPU and GPU | 44 # Viewport CPU and GPU |
| 45 ViewportBitmapConfig(DEFAULT_VIEWPORT_X, DEFAULT_VIEWPORT_Y) | 45 ViewportBitmapConfig(DEFAULT_VIEWPORT_X, DEFAULT_VIEWPORT_Y), |
| 46 ViewportGPUConfig(DEFAULT_VIEWPORT_X, DEFAULT_VIEWPORT_Y) | 46 ViewportGPUConfig(DEFAULT_VIEWPORT_X, DEFAULT_VIEWPORT_Y), |
| 47 | 47 |
| 48 # CopyTiles | 48 # CopyTiles |
| 49 CopyTilesConfig(DEFAULT_TILE_X, DEFAULT_TILE_Y), | 49 CopyTilesConfig(DEFAULT_TILE_X, DEFAULT_TILE_Y), |
| 50 | 50 |
| 51 # Record | 51 # Record |
| 52 RecordConfig(), | 52 RecordConfig(), |
| 53 | 53 |
| 54 # Multi-threaded | 54 # Multi-threaded |
| 55 MultiThreadTileConfig(4, DEFAULT_TILE_X, DEFAULT_TILE_Y), | 55 MultiThreadTileConfig(4, DEFAULT_TILE_X, DEFAULT_TILE_Y), |
| 56 | 56 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 'galaxy_nexus': AndroidConfigList((256, 256), 0.8163, [], (800, 1280)), | 118 'galaxy_nexus': AndroidConfigList((256, 256), 0.8163, [], (800, 1280)), |
| 119 'nexus_4': AndroidConfigList((256, 256), 0.7836, [], (768, 1280)), | 119 'nexus_4': AndroidConfigList((256, 256), 0.7836, [], (768, 1280)), |
| 120 'nexus_7': AndroidConfigList((256, 256), 1.3061, [4], (1280, 800)), | 120 'nexus_7': AndroidConfigList((256, 256), 1.3061, [4], (1280, 800)), |
| 121 'nexus_10': AndroidConfigList((512, 512), 2.6122, [], (2560, 1600), | 121 'nexus_10': AndroidConfigList((512, 512), 2.6122, [], (2560, 1600), |
| 122 do_gpu=False) + [msaa4], | 122 do_gpu=False) + [msaa4], |
| 123 'razr_i': AndroidConfigList((256, 256), 0.5510, [], (540, 960)) + \ | 123 'razr_i': AndroidConfigList((256, 256), 0.5510, [], (540, 960)) + \ |
| 124 [msaa4], | 124 [msaa4], |
| 125 'intel_rhb': AndroidConfigList((256, 256), 0.5510, [], (540, 960)) + \ | 125 'intel_rhb': AndroidConfigList((256, 256), 0.5510, [], (540, 960)) + \ |
| 126 [msaa4], | 126 [msaa4], |
| 127 } | 127 } |
| OLD | NEW |