| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // Defines all the "cc" command-line switches. | |
| 6 | |
| 7 #ifndef CC_BASE_SWITCHES_H_ | |
| 8 #define CC_BASE_SWITCHES_H_ | |
| 9 | |
| 10 // Since cc is used from the render process, anything that goes here also needs | |
| 11 // to be added to render_process_host_impl.cc. | |
| 12 | |
| 13 namespace cc { | |
| 14 namespace switches { | |
| 15 | |
| 16 // Switches for the renderer compositor only. | |
| 17 extern const char kDisableThreadedAnimation[]; | |
| 18 extern const char kDisableCompositedAntialiasing[]; | |
| 19 extern const char kDisableMainFrameBeforeActivation[]; | |
| 20 extern const char kEnableMainFrameBeforeActivation[]; | |
| 21 extern const char kJankInsteadOfCheckerboard[]; | |
| 22 extern const char kTopControlsHideThreshold[]; | |
| 23 extern const char kTopControlsShowThreshold[]; | |
| 24 extern const char kSlowDownRasterScaleFactor[]; | |
| 25 extern const char kCompositeToMailbox[]; | |
| 26 extern const char kMaxTilesForInterestArea[]; | |
| 27 extern const char kMaxUnusedResourceMemoryUsagePercentage[]; | |
| 28 extern const char kEnablePinchVirtualViewport[]; | |
| 29 extern const char kDisablePinchVirtualViewport[]; | |
| 30 extern const char kStrictLayerPropertyChangeChecking[]; | |
| 31 extern const char kEnablePropertyTreeVerification[]; | |
| 32 | |
| 33 // Switches for both the renderer and ui compositors. | |
| 34 extern const char kUIDisablePartialSwap[]; | |
| 35 extern const char kEnableGpuBenchmarking[]; | |
| 36 | |
| 37 // Debug visualizations. | |
| 38 extern const char kShowCompositedLayerBorders[]; | |
| 39 extern const char kUIShowCompositedLayerBorders[]; | |
| 40 extern const char kShowFPSCounter[]; | |
| 41 extern const char kUIShowFPSCounter[]; | |
| 42 extern const char kShowLayerAnimationBounds[]; | |
| 43 extern const char kUIShowLayerAnimationBounds[]; | |
| 44 extern const char kShowPropertyChangedRects[]; | |
| 45 extern const char kUIShowPropertyChangedRects[]; | |
| 46 extern const char kShowSurfaceDamageRects[]; | |
| 47 extern const char kUIShowSurfaceDamageRects[]; | |
| 48 extern const char kShowScreenSpaceRects[]; | |
| 49 extern const char kUIShowScreenSpaceRects[]; | |
| 50 extern const char kShowReplicaScreenSpaceRects[]; | |
| 51 extern const char kUIShowReplicaScreenSpaceRects[]; | |
| 52 | |
| 53 // Unit test related. | |
| 54 extern const char kCCLayerTreeTestNoTimeout[]; | |
| 55 extern const char kCCRebaselinePixeltests[]; | |
| 56 | |
| 57 } // namespace switches | |
| 58 } // namespace cc | |
| 59 | |
| 60 #endif // CC_BASE_SWITCHES_H_ | |
| OLD | NEW |