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 19 matching lines...) Expand all Loading... |
30 bool backgroundColorInsteadOfCheckerboard; | 30 bool backgroundColorInsteadOfCheckerboard; |
31 bool showOverdrawInTracing; | 31 bool showOverdrawInTracing; |
32 bool canUseLCDText; | 32 bool canUseLCDText; |
33 bool shouldClearRootRenderPass; | 33 bool shouldClearRootRenderPass; |
34 bool useLinearFadeScrollbarAnimator; | 34 bool useLinearFadeScrollbarAnimator; |
35 bool solidColorScrollbars; | 35 bool solidColorScrollbars; |
36 SkColor solidColorScrollbarColor; | 36 SkColor solidColorScrollbarColor; |
37 int solidColorScrollbarThicknessDIP; | 37 int solidColorScrollbarThicknessDIP; |
38 bool calculateTopControlsPosition; | 38 bool calculateTopControlsPosition; |
39 bool useCheapnessEstimator; | 39 bool useCheapnessEstimator; |
| 40 bool useColorEstimator; |
40 bool useMemoryManagement; | 41 bool useMemoryManagement; |
| 42 bool predictionBenchmarking; |
41 float minimumContentsScale; | 43 float minimumContentsScale; |
42 float lowResContentsScaleFactor; | 44 float lowResContentsScaleFactor; |
43 float topControlsHeight; | 45 float topControlsHeight; |
44 float topControlsShowThreshold; | 46 float topControlsShowThreshold; |
45 float topControlsHideThreshold; | 47 float topControlsHideThreshold; |
46 double refreshRate; | 48 double refreshRate; |
47 size_t maxPartialTextureUpdates; | 49 size_t maxPartialTextureUpdates; |
48 size_t numRasterThreads; | 50 size_t numRasterThreads; |
49 gfx::Size defaultTileSize; | 51 gfx::Size defaultTileSize; |
50 gfx::Size maxUntiledLayerSize; | 52 gfx::Size maxUntiledLayerSize; |
51 gfx::Size minimumOcclusionTrackingSize; | 53 gfx::Size minimumOcclusionTrackingSize; |
52 | 54 |
53 LayerTreeDebugState initialDebugState; | 55 LayerTreeDebugState initialDebugState; |
54 }; | 56 }; |
55 | 57 |
56 } // namespace cc | 58 } // namespace cc |
57 | 59 |
58 #endif // CC_LAYER_TREE_SETTINGS_H_ | 60 #endif // CC_LAYER_TREE_SETTINGS_H_ |
OLD | NEW |