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