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 // Defines all the "cc" command-line switches. | 5 // Defines all the "cc" command-line switches. |
6 | 6 |
7 #ifndef CC_BASE_SWITCHES_H_ | 7 #ifndef CC_BASE_SWITCHES_H_ |
8 #define CC_BASE_SWITCHES_H_ | 8 #define CC_BASE_SWITCHES_H_ |
9 | 9 |
10 #include "cc/base/cc_export.h" | 10 #include "cc/base/cc_export.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 CC_EXPORT extern const char kDisableMainFrameBeforeActivation[]; | 21 CC_EXPORT extern const char kDisableMainFrameBeforeActivation[]; |
22 CC_EXPORT extern const char kEnableMainFrameBeforeActivation[]; | 22 CC_EXPORT extern const char kEnableMainFrameBeforeActivation[]; |
23 CC_EXPORT extern const char kJankInsteadOfCheckerboard[]; | 23 CC_EXPORT extern const char kJankInsteadOfCheckerboard[]; |
24 CC_EXPORT extern const char kTopControlsHideThreshold[]; | 24 CC_EXPORT extern const char kTopControlsHideThreshold[]; |
25 CC_EXPORT extern const char kTopControlsShowThreshold[]; | 25 CC_EXPORT extern const char kTopControlsShowThreshold[]; |
26 CC_EXPORT extern const char kSlowDownRasterScaleFactor[]; | 26 CC_EXPORT extern const char kSlowDownRasterScaleFactor[]; |
27 CC_EXPORT extern const char kCompositeToMailbox[]; | 27 CC_EXPORT extern const char kCompositeToMailbox[]; |
28 CC_EXPORT extern const char kMaxUnusedResourceMemoryUsagePercentage[]; | 28 CC_EXPORT extern const char kMaxUnusedResourceMemoryUsagePercentage[]; |
29 CC_EXPORT extern const char kStrictLayerPropertyChangeChecking[]; | 29 CC_EXPORT extern const char kStrictLayerPropertyChangeChecking[]; |
30 CC_EXPORT extern const char kEnablePropertyTreeVerification[]; | 30 CC_EXPORT extern const char kEnablePropertyTreeVerification[]; |
| 31 CC_EXPORT extern const char kEnableTileCompression[]; |
31 | 32 |
32 // Switches for both the renderer and ui compositors. | 33 // Switches for both the renderer and ui compositors. |
33 CC_EXPORT extern const char kUIDisablePartialSwap[]; | 34 CC_EXPORT extern const char kUIDisablePartialSwap[]; |
34 CC_EXPORT extern const char kEnableBeginFrameScheduling[]; | 35 CC_EXPORT extern const char kEnableBeginFrameScheduling[]; |
35 CC_EXPORT extern const char kEnableGpuBenchmarking[]; | 36 CC_EXPORT extern const char kEnableGpuBenchmarking[]; |
36 | 37 |
37 // Debug visualizations. | 38 // Debug visualizations. |
38 CC_EXPORT extern const char kShowCompositedLayerBorders[]; | 39 CC_EXPORT extern const char kShowCompositedLayerBorders[]; |
39 CC_EXPORT extern const char kUIShowCompositedLayerBorders[]; | 40 CC_EXPORT extern const char kUIShowCompositedLayerBorders[]; |
40 CC_EXPORT extern const char kShowFPSCounter[]; | 41 CC_EXPORT extern const char kShowFPSCounter[]; |
(...skipping 10 matching lines...) Expand all Loading... |
51 CC_EXPORT extern const char kUIShowReplicaScreenSpaceRects[]; | 52 CC_EXPORT extern const char kUIShowReplicaScreenSpaceRects[]; |
52 | 53 |
53 // Unit test related. | 54 // Unit test related. |
54 CC_EXPORT extern const char kCCLayerTreeTestNoTimeout[]; | 55 CC_EXPORT extern const char kCCLayerTreeTestNoTimeout[]; |
55 CC_EXPORT extern const char kCCRebaselinePixeltests[]; | 56 CC_EXPORT extern const char kCCRebaselinePixeltests[]; |
56 | 57 |
57 } // namespace switches | 58 } // namespace switches |
58 } // namespace cc | 59 } // namespace cc |
59 | 60 |
60 #endif // CC_BASE_SWITCHES_H_ | 61 #endif // CC_BASE_SWITCHES_H_ |
OLD | NEW |