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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 | 43 |
44 // Check that property changes during paint do not occur. | 44 // Check that property changes during paint do not occur. |
45 const char kStrictLayerPropertyChangeChecking[] = | 45 const char kStrictLayerPropertyChangeChecking[] = |
46 "strict-layer-property-change-checking"; | 46 "strict-layer-property-change-checking"; |
47 | 47 |
48 // Ensures that the draw properties computed via the property trees match those | 48 // Ensures that the draw properties computed via the property trees match those |
49 // computed by CalcDrawProperties. | 49 // computed by CalcDrawProperties. |
50 const char kEnablePropertyTreeVerification[] = | 50 const char kEnablePropertyTreeVerification[] = |
51 "enable-property-tree-verification"; | 51 "enable-property-tree-verification"; |
52 | 52 |
| 53 // Compress tile textures for GPUs supporting it. |
| 54 const char kEnableTileCompression[] = "enable-tile-compression"; |
| 55 |
53 // Use a BeginFrame signal from browser to renderer to schedule rendering. | 56 // Use a BeginFrame signal from browser to renderer to schedule rendering. |
54 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling"; | 57 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling"; |
55 | 58 |
56 // Enables the GPU benchmarking extension | 59 // Enables the GPU benchmarking extension |
57 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; | 60 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; |
58 | 61 |
59 // Disables the use of property trees rather than CalcDrawProps for computing | 62 // Disables the use of property trees rather than CalcDrawProps for computing |
60 // draw properties. | 63 // draw properties. |
61 const char kDisableCompositorPropertyTrees[] = | 64 const char kDisableCompositorPropertyTrees[] = |
62 "disable-compositor-property-trees"; | 65 "disable-compositor-property-trees"; |
(...skipping 28 matching lines...) Expand all Loading... |
91 "ui-show-replica-screenspace-rects"; | 94 "ui-show-replica-screenspace-rects"; |
92 | 95 |
93 // Prevents the layer tree unit tests from timing out. | 96 // Prevents the layer tree unit tests from timing out. |
94 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; | 97 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; |
95 | 98 |
96 // Makes pixel tests write their output instead of read it. | 99 // Makes pixel tests write their output instead of read it. |
97 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; | 100 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; |
98 | 101 |
99 } // namespace switches | 102 } // namespace switches |
100 } // namespace cc | 103 } // namespace cc |
OLD | NEW |