| 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 12 matching lines...) Expand all Loading... |
| 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 useLinearFadeScrollbarAnimator; | 32 bool useLinearFadeScrollbarAnimator; |
| 33 bool calculateTopControlsPosition; |
| 33 float minimumContentsScale; | 34 float minimumContentsScale; |
| 34 float lowResContentsScaleFactor; | 35 float lowResContentsScaleFactor; |
| 35 double refreshRate; | 36 double refreshRate; |
| 36 size_t maxPartialTextureUpdates; | 37 size_t maxPartialTextureUpdates; |
| 37 size_t numRasterThreads; | 38 size_t numRasterThreads; |
| 39 int topControlsHeightPx; |
| 38 gfx::Size defaultTileSize; | 40 gfx::Size defaultTileSize; |
| 39 gfx::Size maxUntiledLayerSize; | 41 gfx::Size maxUntiledLayerSize; |
| 40 gfx::Size minimumOcclusionTrackingSize; | 42 gfx::Size minimumOcclusionTrackingSize; |
| 41 | 43 |
| 42 LayerTreeDebugState initialDebugState; | 44 LayerTreeDebugState initialDebugState; |
| 43 }; | 45 }; |
| 44 | 46 |
| 45 } // namespace cc | 47 } // namespace cc |
| 46 | 48 |
| 47 #endif // CC_LAYER_TREE_SETTINGS_H_ | 49 #endif // CC_LAYER_TREE_SETTINGS_H_ |
| OLD | NEW |