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 13 matching lines...) Expand all Loading... |
24 bool perTilePaintingEnabled; | 24 bool perTilePaintingEnabled; |
25 bool partialSwapEnabled; | 25 bool partialSwapEnabled; |
26 bool acceleratedAnimationEnabled; | 26 bool acceleratedAnimationEnabled; |
27 bool pageScalePinchZoomEnabled; | 27 bool pageScalePinchZoomEnabled; |
28 bool backgroundColorInsteadOfCheckerboard; | 28 bool backgroundColorInsteadOfCheckerboard; |
29 bool showOverdrawInTracing; | 29 bool showOverdrawInTracing; |
30 bool canUseLCDText; | 30 bool canUseLCDText; |
31 bool shouldClearRootRenderPass; | 31 bool shouldClearRootRenderPass; |
32 bool useLinearFadeScrollbarAnimator; | 32 bool useLinearFadeScrollbarAnimator; |
33 float minimumContentsScale; | 33 float minimumContentsScale; |
| 34 float lowResContentsScaleFactor; |
34 double refreshRate; | 35 double refreshRate; |
35 size_t maxPartialTextureUpdates; | 36 size_t maxPartialTextureUpdates; |
36 size_t numRasterThreads; | 37 size_t numRasterThreads; |
37 gfx::Size defaultTileSize; | 38 gfx::Size defaultTileSize; |
38 gfx::Size maxUntiledLayerSize; | 39 gfx::Size maxUntiledLayerSize; |
39 gfx::Size minimumOcclusionTrackingSize; | 40 gfx::Size minimumOcclusionTrackingSize; |
40 | 41 |
41 LayerTreeDebugState initialDebugState; | 42 LayerTreeDebugState initialDebugState; |
42 }; | 43 }; |
43 | 44 |
44 } // namespace cc | 45 } // namespace cc |
45 | 46 |
46 #endif // CC_LAYER_TREE_SETTINGS_H_ | 47 #endif // CC_LAYER_TREE_SETTINGS_H_ |
OLD | NEW |