| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 | 46 |
| 47 // Check that property changes during paint do not occur. | 47 // Check that property changes during paint do not occur. |
| 48 const char kStrictLayerPropertyChangeChecking[] = | 48 const char kStrictLayerPropertyChangeChecking[] = |
| 49 "strict-layer-property-change-checking"; | 49 "strict-layer-property-change-checking"; |
| 50 | 50 |
| 51 // Ensures that the draw properties computed via the property trees match those | 51 // Ensures that the draw properties computed via the property trees match those |
| 52 // computed by CalcDrawProperties. | 52 // computed by CalcDrawProperties. |
| 53 const char kEnablePropertyTreeVerification[] = | 53 const char kEnablePropertyTreeVerification[] = |
| 54 "enable-property-tree-verification"; | 54 "enable-property-tree-verification"; |
| 55 | 55 |
| 56 // Compress tile textures for GPUs supporting it. |
| 57 const char kEnableTileCompression[] = "enable-tile-compression"; |
| 58 |
| 56 // Disable partial swap which is needed for some OpenGL drivers / emulators. | 59 // Disable partial swap which is needed for some OpenGL drivers / emulators. |
| 57 const char kUIDisablePartialSwap[] = "ui-disable-partial-swap"; | 60 const char kUIDisablePartialSwap[] = "ui-disable-partial-swap"; |
| 58 | 61 |
| 59 // Use a BeginFrame signal from browser to renderer to schedule rendering. | 62 // Use a BeginFrame signal from browser to renderer to schedule rendering. |
| 60 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling"; | 63 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling"; |
| 61 | 64 |
| 62 // Enables the GPU benchmarking extension | 65 // Enables the GPU benchmarking extension |
| 63 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; | 66 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; |
| 64 | 67 |
| 65 // Renders a border around compositor layers to help debug and study | 68 // Renders a border around compositor layers to help debug and study |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 "ui-show-replica-screenspace-rects"; | 101 "ui-show-replica-screenspace-rects"; |
| 99 | 102 |
| 100 // Prevents the layer tree unit tests from timing out. | 103 // Prevents the layer tree unit tests from timing out. |
| 101 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; | 104 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; |
| 102 | 105 |
| 103 // Makes pixel tests write their output instead of read it. | 106 // Makes pixel tests write their output instead of read it. |
| 104 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; | 107 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; |
| 105 | 108 |
| 106 } // namespace switches | 109 } // namespace switches |
| 107 } // namespace cc | 110 } // namespace cc |
| OLD | NEW |