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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 // through the texture mailbox mechanism. | 56 // through the texture mailbox mechanism. |
57 // Requires --enable-compositor-frame-message. | 57 // Requires --enable-compositor-frame-message. |
58 const char kCompositeToMailbox[] = "composite-to-mailbox"; | 58 const char kCompositeToMailbox[] = "composite-to-mailbox"; |
59 | 59 |
60 // Check that property changes during paint do not occur. | 60 // Check that property changes during paint do not occur. |
61 const char kStrictLayerPropertyChangeChecking[] = | 61 const char kStrictLayerPropertyChangeChecking[] = |
62 "strict-layer-property-change-checking"; | 62 "strict-layer-property-change-checking"; |
63 | 63 |
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 | 67 |
67 // Disable partial swap which is needed for some OpenGL drivers / emulators. | 68 // Disable partial swap which is needed for some OpenGL drivers / emulators. |
68 const char kUIDisablePartialSwap[] = "ui-disable-partial-swap"; | 69 const char kUIDisablePartialSwap[] = "ui-disable-partial-swap"; |
69 | 70 |
70 // Enables the GPU benchmarking extension | 71 // Enables the GPU benchmarking extension |
71 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; | 72 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; |
72 | 73 |
73 // Renders a border around compositor layers to help debug and study | 74 // Renders a border around compositor layers to help debug and study |
74 // layer compositing. | 75 // layer compositing. |
75 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; | 76 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 | 119 |
119 // Makes pixel tests write their output instead of read it. | 120 // Makes pixel tests write their output instead of read it. |
120 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; | 121 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; |
121 | 122 |
122 // Disable touch hit testing in the compositor. | 123 // Disable touch hit testing in the compositor. |
123 const char kDisableCompositorTouchHitTesting[] = | 124 const char kDisableCompositorTouchHitTesting[] = |
124 "disable-compositor-touch-hit-testing"; | 125 "disable-compositor-touch-hit-testing"; |
125 | 126 |
126 } // namespace switches | 127 } // namespace switches |
127 } // namespace cc | 128 } // namespace cc |
OLD | NEW |