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_HOST_H_ | 5 #ifndef CC_LAYER_TREE_HOST_H_ |
6 #define CC_LAYER_TREE_HOST_H_ | 6 #define CC_LAYER_TREE_HOST_H_ |
7 | 7 |
8 #include <limits> | 8 #include <limits> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 bool implSidePainting; | 81 bool implSidePainting; |
82 bool renderVSyncEnabled; | 82 bool renderVSyncEnabled; |
83 bool perTilePaintingEnabled; | 83 bool perTilePaintingEnabled; |
84 bool partialSwapEnabled; | 84 bool partialSwapEnabled; |
85 bool acceleratedAnimationEnabled; | 85 bool acceleratedAnimationEnabled; |
86 bool pageScalePinchZoomEnabled; | 86 bool pageScalePinchZoomEnabled; |
87 bool backgroundColorInsteadOfCheckerboard; | 87 bool backgroundColorInsteadOfCheckerboard; |
88 bool showOverdrawInTracing; | 88 bool showOverdrawInTracing; |
89 double refreshRate; | 89 double refreshRate; |
90 size_t maxPartialTextureUpdates; | 90 size_t maxPartialTextureUpdates; |
| 91 size_t numRasterThreads; |
91 gfx::Size defaultTileSize; | 92 gfx::Size defaultTileSize; |
92 gfx::Size maxUntiledLayerSize; | 93 gfx::Size maxUntiledLayerSize; |
93 gfx::Size minimumOcclusionTrackingSize; | 94 gfx::Size minimumOcclusionTrackingSize; |
94 | 95 |
95 LayerTreeDebugState initialDebugState; | 96 LayerTreeDebugState initialDebugState; |
96 }; | 97 }; |
97 | 98 |
98 // Provides information on an Impl's rendering capabilities back to the LayerTre
eHost | 99 // Provides information on an Impl's rendering capabilities back to the LayerTre
eHost |
99 struct CC_EXPORT RendererCapabilities { | 100 struct CC_EXPORT RendererCapabilities { |
100 RendererCapabilities(); | 101 RendererCapabilities(); |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 size_t m_partialTextureUpdateRequests; | 315 size_t m_partialTextureUpdateRequests; |
315 | 316 |
316 static bool s_needsFilterContext; | 317 static bool s_needsFilterContext; |
317 | 318 |
318 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 319 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
319 }; | 320 }; |
320 | 321 |
321 } // namespace cc | 322 } // namespace cc |
322 | 323 |
323 #endif // CC_LAYER_TREE_HOST_H_ | 324 #endif // CC_LAYER_TREE_HOST_H_ |
OLD | NEW |