OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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 #ifndef CC_LAYER_TREE_SETTINGS_H_ | 5 #ifndef CC_LAYER_TREE_SETTINGS_H_ |
6 #define CC_LAYER_TREE_SETTINGS_H_ | 6 #define CC_LAYER_TREE_SETTINGS_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "cc/cc_export.h" | 9 #include "cc/cc_export.h" |
10 #include "cc/layer_tree_debug_state.h" | 10 #include "cc/layer_tree_debug_state.h" |
(...skipping 21 matching lines...) Expand all Loading... |
32 bool showOverdrawInTracing; | 32 bool showOverdrawInTracing; |
33 bool canUseLCDText; | 33 bool canUseLCDText; |
34 bool shouldClearRootRenderPass; | 34 bool shouldClearRootRenderPass; |
35 bool useLinearFadeScrollbarAnimator; | 35 bool useLinearFadeScrollbarAnimator; |
36 bool solidColorScrollbars; | 36 bool solidColorScrollbars; |
37 SkColor solidColorScrollbarColor; | 37 SkColor solidColorScrollbarColor; |
38 int solidColorScrollbarThicknessDIP; | 38 int solidColorScrollbarThicknessDIP; |
39 bool calculateTopControlsPosition; | 39 bool calculateTopControlsPosition; |
40 bool useCheapnessEstimator; | 40 bool useCheapnessEstimator; |
41 bool useMemoryManagement; | 41 bool useMemoryManagement; |
| 42 bool solidColorBenchmarking; |
42 float minimumContentsScale; | 43 float minimumContentsScale; |
43 float lowResContentsScaleFactor; | 44 float lowResContentsScaleFactor; |
44 float topControlsHeight; | 45 float topControlsHeight; |
45 float topControlsShowThreshold; | 46 float topControlsShowThreshold; |
46 float topControlsHideThreshold; | 47 float topControlsHideThreshold; |
47 double refreshRate; | 48 double refreshRate; |
48 size_t maxPartialTextureUpdates; | 49 size_t maxPartialTextureUpdates; |
49 size_t numRasterThreads; | 50 size_t numRasterThreads; |
50 gfx::Size defaultTileSize; | 51 gfx::Size defaultTileSize; |
51 gfx::Size maxUntiledLayerSize; | 52 gfx::Size maxUntiledLayerSize; |
52 gfx::Size minimumOcclusionTrackingSize; | 53 gfx::Size minimumOcclusionTrackingSize; |
53 | 54 |
54 LayerTreeDebugState initialDebugState; | 55 LayerTreeDebugState initialDebugState; |
55 }; | 56 }; |
56 | 57 |
57 } // namespace cc | 58 } // namespace cc |
58 | 59 |
59 #endif // CC_LAYER_TREE_SETTINGS_H_ | 60 #endif // CC_LAYER_TREE_SETTINGS_H_ |
OLD | NEW |