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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 | 56 |
57 bool acceleratePainting; | 57 bool acceleratePainting; |
58 bool showPlatformLayerTree; | 58 bool showPlatformLayerTree; |
59 bool showPaintRects; | 59 bool showPaintRects; |
60 bool showPropertyChangedRects; | 60 bool showPropertyChangedRects; |
61 bool showSurfaceDamageRects; | 61 bool showSurfaceDamageRects; |
62 bool showScreenSpaceRects; | 62 bool showScreenSpaceRects; |
63 bool showReplicaScreenSpaceRects; | 63 bool showReplicaScreenSpaceRects; |
64 bool showOccludingRects; | 64 bool showOccludingRects; |
65 bool renderVSyncEnabled; | 65 bool renderVSyncEnabled; |
| 66 bool perTilePaintingEnabled; |
| 67 bool partialSwapEnabled; |
| 68 bool acceleratedAnimationEnabled; |
| 69 bool pageScalePinchZoomEnabled; |
| 70 bool backgroundColorInsteadOfCheckerboard; |
| 71 bool showOverdrawInTracing; |
66 double refreshRate; | 72 double refreshRate; |
67 size_t maxPartialTextureUpdates; | 73 size_t maxPartialTextureUpdates; |
68 gfx::Size defaultTileSize; | 74 gfx::Size defaultTileSize; |
69 gfx::Size maxUntiledLayerSize; | 75 gfx::Size maxUntiledLayerSize; |
70 gfx::Size minimumOcclusionTrackingSize; | 76 gfx::Size minimumOcclusionTrackingSize; |
71 | 77 |
72 bool showDebugInfo() const { return showPlatformLayerTree || showDebugRects(
); } | 78 bool showDebugInfo() const { return showPlatformLayerTree || showDebugRects(
); } |
73 bool showDebugRects() const { return showPaintRects || showPropertyChangedRe
cts || showSurfaceDamageRects || showScreenSpaceRects || showReplicaScreenSpaceR
ects || showOccludingRects; } | 79 bool showDebugRects() const { return showPaintRects || showPropertyChangedRe
cts || showSurfaceDamageRects || showScreenSpaceRects || showReplicaScreenSpaceR
ects || showOccludingRects; } |
74 }; | 80 }; |
75 | 81 |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 size_t m_partialTextureUpdateRequests; | 293 size_t m_partialTextureUpdateRequests; |
288 | 294 |
289 static bool s_needsFilterContext; | 295 static bool s_needsFilterContext; |
290 | 296 |
291 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 297 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
292 }; | 298 }; |
293 | 299 |
294 } // namespace cc | 300 } // namespace cc |
295 | 301 |
296 #endif // CC_LAYER_TREE_HOST_H_ | 302 #endif // CC_LAYER_TREE_HOST_H_ |
OLD | NEW |