| 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 27 matching lines...) Expand all Loading... |
| 38 TiledBitmapConfig(DEFAULT_TILE_X, DEFAULT_TILE_Y), | 38 TiledBitmapConfig(DEFAULT_TILE_X, DEFAULT_TILE_Y), |
| 39 TiledGPUConfig(DEFAULT_TILE_X, DEFAULT_TILE_Y), | 39 TiledGPUConfig(DEFAULT_TILE_X, DEFAULT_TILE_Y), |
| 40 | 40 |
| 41 # CopyTiles | 41 # CopyTiles |
| 42 CopyTilesConfig(DEFAULT_TILE_X, DEFAULT_TILE_Y), | 42 CopyTilesConfig(DEFAULT_TILE_X, DEFAULT_TILE_Y), |
| 43 | 43 |
| 44 # Record | 44 # Record |
| 45 RecordConfig(), | 45 RecordConfig(), |
| 46 | 46 |
| 47 # Multi-threaded | 47 # Multi-threaded |
| 48 MultiThreadTileConfig(2, DEFAULT_TILE_X, DEFAULT_TILE_Y), | |
| 49 MultiThreadTileConfig(3, DEFAULT_TILE_X, DEFAULT_TILE_Y), | |
| 50 MultiThreadTileConfig(4, DEFAULT_TILE_X, DEFAULT_TILE_Y), | 48 MultiThreadTileConfig(4, DEFAULT_TILE_X, DEFAULT_TILE_Y), |
| 51 | 49 |
| 52 # Different tile sizes | 50 # Different tile sizes |
| 53 TiledBitmapConfig(512, 512), | 51 TiledBitmapConfig(512, 512), |
| 54 TiledBitmapConfig(1024, 256), | |
| 55 TiledBitmapConfig(1024, 64), | |
| 56 | 52 |
| 57 # Different bounding box heirarchies, for different modes. | 53 # Different bounding box heirarchies, for different modes. |
| 58 RecordRTreeConfig(), | 54 RecordRTreeConfig(), |
| 59 PlaybackCreationRTreeConfig(), | 55 PlaybackCreationRTreeConfig(), |
| 60 TileRTreeConfig( DEFAULT_TILE_X, DEFAULT_TILE_Y), | 56 TileRTreeConfig( DEFAULT_TILE_X, DEFAULT_TILE_Y), |
| 61 RecordGridConfig( DEFAULT_TILE_X, DEFAULT_TILE_Y), | 57 RecordGridConfig( DEFAULT_TILE_X, DEFAULT_TILE_Y), |
| 62 PlaybackCreationGridConfig( DEFAULT_TILE_X, DEFAULT_TILE_Y), | 58 PlaybackCreationGridConfig( DEFAULT_TILE_X, DEFAULT_TILE_Y), |
| 63 TileGridConfig( DEFAULT_TILE_X, DEFAULT_TILE_Y), | 59 TileGridConfig( DEFAULT_TILE_X, DEFAULT_TILE_Y), |
| 64 ] | 60 ] |
| 65 | 61 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 'angle': [TiledConfig(DEFAULT_TILE_X, DEFAULT_TILE_Y, config='angle')], | 105 'angle': [TiledConfig(DEFAULT_TILE_X, DEFAULT_TILE_Y, config='angle')], |
| 110 'debug': [TiledBitmapConfig(DEFAULT_TILE_X, DEFAULT_TILE_Y)], | 106 'debug': [TiledBitmapConfig(DEFAULT_TILE_X, DEFAULT_TILE_Y)], |
| 111 'default': default_configs, | 107 'default': default_configs, |
| 112 'no_gpu': [cfg for cfg in default_configs if cfg['config'] != 'gpu'], | 108 'no_gpu': [cfg for cfg in default_configs if cfg['config'] != 'gpu'], |
| 113 'nexus_s': AndroidConfigList((256, 256), 0.4897, [], (480, 800), | 109 'nexus_s': AndroidConfigList((256, 256), 0.4897, [], (480, 800), |
| 114 do_gpu=False), | 110 do_gpu=False), |
| 115 'xoom': AndroidConfigList((256, 256), 1.2244, [], (1200, 800)), | 111 'xoom': AndroidConfigList((256, 256), 1.2244, [], (1200, 800)), |
| 116 'galaxy_nexus': AndroidConfigList((256, 256), 0.8163, [], (800, 1280)) + \ | 112 'galaxy_nexus': AndroidConfigList((256, 256), 0.8163, [], (800, 1280)) + \ |
| 117 [msaa4], | 113 [msaa4], |
| 118 'nexus_4': AndroidConfigList((256, 256), 0.7836, [], (768, 1280)), | 114 'nexus_4': AndroidConfigList((256, 256), 0.7836, [], (768, 1280)), |
| 119 'nexus_7': AndroidConfigList((256, 256), 1.3061, [2], (1280, 800)), | 115 'nexus_7': AndroidConfigList((256, 256), 1.3061, [4], (1280, 800)), |
| 120 'nexus_10': AndroidConfigList((512, 512), 2.6122, [], (2560, 1600), | 116 'nexus_10': AndroidConfigList((512, 512), 2.6122, [], (2560, 1600), |
| 121 do_gpu=False) + [msaa4], | 117 do_gpu=False) + [msaa4], |
| 122 'razr_i': AndroidConfigList((256, 256), 0.5510, [], (540, 960)) + \ | 118 'razr_i': AndroidConfigList((256, 256), 0.5510, [], (540, 960)) + \ |
| 123 [msaa4], | 119 [msaa4], |
| 124 'intel_rhb': AndroidConfigList((256, 256), 0.5510, [], (540, 960)) + \ | 120 'intel_rhb': AndroidConfigList((256, 256), 0.5510, [], (540, 960)) + \ |
| 125 [msaa4], | 121 [msaa4], |
| 126 } | 122 } |
| OLD | NEW |