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 11 matching lines...) Expand all Loading... | |
22 bool implSidePainting; | 22 bool implSidePainting; |
23 bool renderVSyncEnabled; | 23 bool renderVSyncEnabled; |
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 calculateTopControlsPosition; | |
32 double refreshRate; | 33 double refreshRate; |
33 size_t maxPartialTextureUpdates; | 34 size_t maxPartialTextureUpdates; |
34 size_t numRasterThreads; | 35 size_t numRasterThreads; |
36 size_t topControlsHeight; // in pixels compensated for density | |
jamesr
2012/12/19 22:56:29
in cc, integral pixel offsets are just 'int'
star
Ted C
2012/12/20 00:42:39
Done. Just renamed with the suffix Px, which is a
| |
35 gfx::Size defaultTileSize; | 37 gfx::Size defaultTileSize; |
36 gfx::Size maxUntiledLayerSize; | 38 gfx::Size maxUntiledLayerSize; |
37 gfx::Size minimumOcclusionTrackingSize; | 39 gfx::Size minimumOcclusionTrackingSize; |
38 | 40 |
39 LayerTreeDebugState initialDebugState; | 41 LayerTreeDebugState initialDebugState; |
40 }; | 42 }; |
41 | 43 |
42 } // namespace cc | 44 } // namespace cc |
43 | 45 |
44 #endif // CC_LAYER_TREE_SETTINGS_H_ | 46 #endif // CC_LAYER_TREE_SETTINGS_H_ |
OLD | NEW |