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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
64 // Virtual viewport for fixed-position elements, scrollbars during pinch. | 64 // Virtual viewport for fixed-position elements, scrollbars during pinch. |
65 const char kEnablePinchVirtualViewport[] = "enable-pinch-virtual-viewport"; | 65 const char kEnablePinchVirtualViewport[] = "enable-pinch-virtual-viewport"; |
66 const char kDisablePinchVirtualViewport[] = "disable-pinch-virtual-viewport"; | 66 const char kDisablePinchVirtualViewport[] = "disable-pinch-virtual-viewport"; |
67 | 67 |
68 // Disable partial swap which is needed for some OpenGL drivers / emulators. | 68 // Disable partial swap which is needed for some OpenGL drivers / emulators. |
69 const char kUIDisablePartialSwap[] = "ui-disable-partial-swap"; | 69 const char kUIDisablePartialSwap[] = "ui-disable-partial-swap"; |
70 | 70 |
71 // Enables the GPU benchmarking extension | 71 // Enables the GPU benchmarking extension |
72 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; | 72 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; |
73 | 73 |
74 // Use a eginFrame signal from browser to renderer to scheduling rendering. | |
brianderson
2014/08/21 00:13:59
egin -> Begin
simonhong
2014/08/26 08:24:47
Done.
| |
75 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling"; | |
76 | |
74 // Renders a border around compositor layers to help debug and study | 77 // Renders a border around compositor layers to help debug and study |
75 // layer compositing. | 78 // layer compositing. |
76 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; | 79 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; |
77 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; | 80 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; |
78 | 81 |
79 // Draws a FPS indicator | 82 // Draws a FPS indicator |
80 const char kShowFPSCounter[] = "show-fps-counter"; | 83 const char kShowFPSCounter[] = "show-fps-counter"; |
81 const char kUIShowFPSCounter[] = "ui-show-fps-counter"; | 84 const char kUIShowFPSCounter[] = "ui-show-fps-counter"; |
82 | 85 |
83 // Renders a border that represents the bounding box for the layer's animation. | 86 // Renders a border that represents the bounding box for the layer's animation. |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
115 const char kUIShowNonOccludingRects[] = "ui-show-nonoccluding-rects"; | 118 const char kUIShowNonOccludingRects[] = "ui-show-nonoccluding-rects"; |
116 | 119 |
117 // Prevents the layer tree unit tests from timing out. | 120 // Prevents the layer tree unit tests from timing out. |
118 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; | 121 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; |
119 | 122 |
120 // Makes pixel tests write their output instead of read it. | 123 // Makes pixel tests write their output instead of read it. |
121 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; | 124 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; |
122 | 125 |
123 } // namespace switches | 126 } // namespace switches |
124 } // namespace cc | 127 } // namespace cc |
OLD | NEW |