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