| 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 23 matching lines...) Expand all Loading... |
| 34 const char kTopControlsHideThreshold[] = "top-controls-hide-threshold"; | 34 const char kTopControlsHideThreshold[] = "top-controls-hide-threshold"; |
| 35 | 35 |
| 36 // Percentage of the top controls need to be shown before they will auto show. | 36 // Percentage of the top controls need to be shown before they will auto show. |
| 37 const char kTopControlsShowThreshold[] = "top-controls-show-threshold"; | 37 const char kTopControlsShowThreshold[] = "top-controls-show-threshold"; |
| 38 | 38 |
| 39 // Re-rasters everything multiple times to simulate a much slower machine. | 39 // Re-rasters everything multiple times to simulate a much slower machine. |
| 40 // Give a scale factor to cause raster to take that many times longer to | 40 // Give a scale factor to cause raster to take that many times longer to |
| 41 // complete, such as --slow-down-raster-scale-factor=25. | 41 // complete, such as --slow-down-raster-scale-factor=25. |
| 42 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor"; | 42 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor"; |
| 43 | 43 |
| 44 // Check that property changes during paint do not occur. | |
| 45 const char kStrictLayerPropertyChangeChecking[] = | |
| 46 "strict-layer-property-change-checking"; | |
| 47 | |
| 48 // Ensures that the draw properties computed via the property trees match those | 44 // Ensures that the draw properties computed via the property trees match those |
| 49 // computed by CalcDrawProperties. | 45 // computed by CalcDrawProperties. |
| 50 const char kEnablePropertyTreeVerification[] = | 46 const char kEnablePropertyTreeVerification[] = |
| 51 "enable-property-tree-verification"; | 47 "enable-property-tree-verification"; |
| 52 | 48 |
| 53 // Use a BeginFrame signal from browser to renderer to schedule rendering. | 49 // Use a BeginFrame signal from browser to renderer to schedule rendering. |
| 54 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling"; | 50 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling"; |
| 55 | 51 |
| 56 // Enables the GPU benchmarking extension | 52 // Enables the GPU benchmarking extension |
| 57 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; | 53 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 "ui-show-replica-screenspace-rects"; | 87 "ui-show-replica-screenspace-rects"; |
| 92 | 88 |
| 93 // Prevents the layer tree unit tests from timing out. | 89 // Prevents the layer tree unit tests from timing out. |
| 94 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; | 90 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; |
| 95 | 91 |
| 96 // Makes pixel tests write their output instead of read it. | 92 // Makes pixel tests write their output instead of read it. |
| 97 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; | 93 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; |
| 98 | 94 |
| 99 } // namespace switches | 95 } // namespace switches |
| 100 } // namespace cc | 96 } // namespace cc |
| OLD | NEW |