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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 // computed by CalcDrawProperties. | 49 // computed by CalcDrawProperties. |
50 const char kEnablePropertyTreeVerification[] = | 50 const char kEnablePropertyTreeVerification[] = |
51 "enable-property-tree-verification"; | 51 "enable-property-tree-verification"; |
52 | 52 |
53 // Use a BeginFrame signal from browser to renderer to schedule rendering. | 53 // Use a BeginFrame signal from browser to renderer to schedule rendering. |
54 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling"; | 54 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling"; |
55 | 55 |
56 // Enables the GPU benchmarking extension | 56 // Enables the GPU benchmarking extension |
57 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; | 57 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; |
58 | 58 |
59 // Disables the use of property trees rather than CalcDrawProps for computing | 59 // Enables the use of property trees rather than CalcDrawProps for computing |
60 // draw properties. | 60 // draw properties. |
61 const char kDisableCompositorPropertyTrees[] = | 61 const char kEnableCompositorPropertyTrees[] = |
62 "disable-compositor-property-trees"; | 62 "enable-compositor-property-trees"; |
63 | 63 |
64 // Renders a border around compositor layers to help debug and study | 64 // Renders a border around compositor layers to help debug and study |
65 // layer compositing. | 65 // layer compositing. |
66 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; | 66 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; |
67 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; | 67 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; |
68 | 68 |
69 // Draws a heads-up-display showing Frames Per Second as well as GPU memory | 69 // Draws a heads-up-display showing Frames Per Second as well as GPU memory |
70 // usage. If you also use --vmodule="head*=1" then FPS will also be output to | 70 // usage. If you also use --vmodule="head*=1" then FPS will also be output to |
71 // the console log. | 71 // the console log. |
72 const char kShowFPSCounter[] = "show-fps-counter"; | 72 const char kShowFPSCounter[] = "show-fps-counter"; |
(...skipping 24 matching lines...) Expand all Loading... |
97 "ui-show-replica-screenspace-rects"; | 97 "ui-show-replica-screenspace-rects"; |
98 | 98 |
99 // Prevents the layer tree unit tests from timing out. | 99 // Prevents the layer tree unit tests from timing out. |
100 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; | 100 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; |
101 | 101 |
102 // Makes pixel tests write their output instead of read it. | 102 // Makes pixel tests write their output instead of read it. |
103 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; | 103 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; |
104 | 104 |
105 } // namespace switches | 105 } // namespace switches |
106 } // namespace cc | 106 } // namespace cc |
OLD | NEW |