| 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 canUseLCDText; |
| 66 double refreshRate; | 67 double refreshRate; |
| 67 size_t maxPartialTextureUpdates; | 68 size_t maxPartialTextureUpdates; |
| 68 gfx::Size defaultTileSize; | 69 gfx::Size defaultTileSize; |
| 69 gfx::Size maxUntiledLayerSize; | 70 gfx::Size maxUntiledLayerSize; |
| 70 gfx::Size minimumOcclusionTrackingSize; | 71 gfx::Size minimumOcclusionTrackingSize; |
| 71 | 72 |
| 72 bool showDebugInfo() const { return showPlatformLayerTree || showDebugRects(
); } | 73 bool showDebugInfo() const { return showPlatformLayerTree || showDebugRects(
); } |
| 73 bool showDebugRects() const { return showPaintRects || showPropertyChangedRe
cts || showSurfaceDamageRects || showScreenSpaceRects || showReplicaScreenSpaceR
ects || showOccludingRects; } | 74 bool showDebugRects() const { return showPaintRects || showPropertyChangedRe
cts || showSurfaceDamageRects || showScreenSpaceRects || showReplicaScreenSpaceR
ects || showOccludingRects; } |
| 74 }; | 75 }; |
| 75 | 76 |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 size_t m_partialTextureUpdateRequests; | 288 size_t m_partialTextureUpdateRequests; |
| 288 | 289 |
| 289 static bool s_needsFilterContext; | 290 static bool s_needsFilterContext; |
| 290 | 291 |
| 291 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 292 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
| 292 }; | 293 }; |
| 293 | 294 |
| 294 } // namespace cc | 295 } // namespace cc |
| 295 | 296 |
| 296 #endif // CC_LAYER_TREE_HOST_H_ | 297 #endif // CC_LAYER_TREE_HOST_H_ |
| OLD | NEW |