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 #include "cc/base/switches.h" | 5 #include "cc/base/switches.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 | 8 |
9 namespace cc { | 9 namespace cc { |
10 namespace switches { | 10 namespace switches { |
(...skipping 25 matching lines...) Expand all Loading... |
36 const char kBrowserControlsShowThreshold[] = "top-controls-show-threshold"; | 36 const char kBrowserControlsShowThreshold[] = "top-controls-show-threshold"; |
37 | 37 |
38 // Re-rasters everything multiple times to simulate a much slower machine. | 38 // Re-rasters everything multiple times to simulate a much slower machine. |
39 // Give a scale factor to cause raster to take that many times longer to | 39 // Give a scale factor to cause raster to take that many times longer to |
40 // complete, such as --slow-down-raster-scale-factor=25. | 40 // complete, such as --slow-down-raster-scale-factor=25. |
41 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor"; | 41 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor"; |
42 | 42 |
43 // Compress tile textures for GPUs supporting it. | 43 // Compress tile textures for GPUs supporting it. |
44 const char kEnableTileCompression[] = "enable-tile-compression"; | 44 const char kEnableTileCompression[] = "enable-tile-compression"; |
45 | 45 |
46 // Convert rasterization and compositing inputs to the output color space | |
47 // before operating on them. | |
48 const char kEnableColorCorrectRendering[] = "enable-color-correct-rendering"; | |
49 | |
50 // Enables the GPU benchmarking extension | 46 // Enables the GPU benchmarking extension |
51 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; | 47 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; |
52 | 48 |
53 // Enables multi-client Surface synchronization. In practice, this indicates | 49 // Enables multi-client Surface synchronization. In practice, this indicates |
54 // that LayerTreeHost expects to be given a valid LocalSurfaceId provided by | 50 // that LayerTreeHost expects to be given a valid LocalSurfaceId provided by |
55 // the parent compositor. | 51 // the parent compositor. |
56 const char kEnableSurfaceSynchronization[] = "enable-surface-synchronization"; | 52 const char kEnableSurfaceSynchronization[] = "enable-surface-synchronization"; |
57 | 53 |
58 // Renders a border around compositor layers to help debug and study | 54 // Renders a border around compositor layers to help debug and study |
59 // layer compositing. | 55 // layer compositing. |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; | 108 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; |
113 | 109 |
114 // Increases timeout for memory checkers. | 110 // Increases timeout for memory checkers. |
115 const char kCCLayerTreeTestLongTimeout[] = "cc-layer-tree-test-long-timeout"; | 111 const char kCCLayerTreeTestLongTimeout[] = "cc-layer-tree-test-long-timeout"; |
116 | 112 |
117 // Makes pixel tests write their output instead of read it. | 113 // Makes pixel tests write their output instead of read it. |
118 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; | 114 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; |
119 | 115 |
120 } // namespace switches | 116 } // namespace switches |
121 } // namespace cc | 117 } // namespace cc |
OLD | NEW |