OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CC_LAYER_TREE_SETTINGS_H_ |
| 6 #define CC_LAYER_TREE_SETTINGS_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 #include "cc/cc_export.h" |
| 10 #include "cc/layer_tree_debug_state.h" |
| 11 #include "ui/gfx/size.h" |
| 12 |
| 13 namespace cc { |
| 14 |
| 15 class CC_EXPORT LayerTreeSettings { |
| 16 public: |
| 17 LayerTreeSettings(); |
| 18 ~LayerTreeSettings(); |
| 19 |
| 20 bool acceleratePainting; |
| 21 bool implSidePainting; |
| 22 bool renderVSyncEnabled; |
| 23 bool perTilePaintingEnabled; |
| 24 bool partialSwapEnabled; |
| 25 bool acceleratedAnimationEnabled; |
| 26 bool pageScalePinchZoomEnabled; |
| 27 bool backgroundColorInsteadOfCheckerboard; |
| 28 bool showOverdrawInTracing; |
| 29 double refreshRate; |
| 30 size_t maxPartialTextureUpdates; |
| 31 size_t numRasterThreads; |
| 32 gfx::Size defaultTileSize; |
| 33 gfx::Size maxUntiledLayerSize; |
| 34 gfx::Size minimumOcclusionTrackingSize; |
| 35 |
| 36 LayerTreeDebugState initialDebugState; |
| 37 }; |
| 38 |
| 39 } // namespace cc |
| 40 |
| 41 #endif // CC_LAYER_TREE_SETTINGS_H_ |
OLD | NEW |