| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 const char kCompositeToMailbox[] = "composite-to-mailbox"; | 51 const char kCompositeToMailbox[] = "composite-to-mailbox"; |
| 52 | 52 |
| 53 // Check that property changes during paint do not occur. | 53 // Check that property changes during paint do not occur. |
| 54 const char kStrictLayerPropertyChangeChecking[] = | 54 const char kStrictLayerPropertyChangeChecking[] = |
| 55 "strict-layer-property-change-checking"; | 55 "strict-layer-property-change-checking"; |
| 56 | 56 |
| 57 // Virtual viewport for fixed-position elements, scrollbars during pinch. | 57 // Virtual viewport for fixed-position elements, scrollbars during pinch. |
| 58 const char kEnablePinchVirtualViewport[] = "enable-pinch-virtual-viewport"; | 58 const char kEnablePinchVirtualViewport[] = "enable-pinch-virtual-viewport"; |
| 59 const char kDisablePinchVirtualViewport[] = "disable-pinch-virtual-viewport"; | 59 const char kDisablePinchVirtualViewport[] = "disable-pinch-virtual-viewport"; |
| 60 | 60 |
| 61 // Ensures that the draw properties computed via the property trees match those |
| 62 // computed by CalcDrawProperties. |
| 63 const char kEnablePropertyTreeVerification[] = |
| 64 "enable-property-tree-verification"; |
| 65 |
| 61 // Disable partial swap which is needed for some OpenGL drivers / emulators. | 66 // Disable partial swap which is needed for some OpenGL drivers / emulators. |
| 62 const char kUIDisablePartialSwap[] = "ui-disable-partial-swap"; | 67 const char kUIDisablePartialSwap[] = "ui-disable-partial-swap"; |
| 63 | 68 |
| 64 // Enables the GPU benchmarking extension | 69 // Enables the GPU benchmarking extension |
| 65 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; | 70 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; |
| 66 | 71 |
| 67 // Renders a border around compositor layers to help debug and study | 72 // Renders a border around compositor layers to help debug and study |
| 68 // layer compositing. | 73 // layer compositing. |
| 69 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; | 74 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; |
| 70 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; | 75 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 100 "ui-show-replica-screenspace-rects"; | 105 "ui-show-replica-screenspace-rects"; |
| 101 | 106 |
| 102 // Prevents the layer tree unit tests from timing out. | 107 // Prevents the layer tree unit tests from timing out. |
| 103 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; | 108 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; |
| 104 | 109 |
| 105 // Makes pixel tests write their output instead of read it. | 110 // Makes pixel tests write their output instead of read it. |
| 106 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; | 111 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; |
| 107 | 112 |
| 108 } // namespace switches | 113 } // namespace switches |
| 109 } // namespace cc | 114 } // namespace cc |
| OLD | NEW |