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_DEBUG_STATE_H_ | 5 #ifndef CC_LAYER_TREE_DEBUG_STATE_H_ |
6 #define CC_LAYER_TREE_DEBUG_STATE_H_ | 6 #define CC_LAYER_TREE_DEBUG_STATE_H_ |
7 | 7 |
8 #include "cc/cc_export.h" | 8 #include "cc/cc_export.h" |
9 | 9 |
10 namespace cc { | 10 namespace cc { |
(...skipping 14 matching lines...) Expand all Loading... |
25 bool showScreenSpaceRects; | 25 bool showScreenSpaceRects; |
26 bool showReplicaScreenSpaceRects; | 26 bool showReplicaScreenSpaceRects; |
27 bool showOccludingRects; | 27 bool showOccludingRects; |
28 bool showNonOccludingRects; | 28 bool showNonOccludingRects; |
29 | 29 |
30 int slowDownRasterScaleFactor; | 30 int slowDownRasterScaleFactor; |
31 | 31 |
32 void setRecordRenderingStats(bool); | 32 void setRecordRenderingStats(bool); |
33 bool recordRenderingStats() const; | 33 bool recordRenderingStats() const; |
34 | 34 |
| 35 bool traceAllRenderedFrames; |
| 36 |
35 bool showHudInfo() const; | 37 bool showHudInfo() const; |
36 bool showHudRects() const; | 38 bool showHudRects() const; |
37 bool hudNeedsFont() const; | 39 bool hudNeedsFont() const; |
38 | 40 |
39 static bool equal(const LayerTreeDebugState& a, const LayerTreeDebugState& b); | 41 static bool equal(const LayerTreeDebugState& a, const LayerTreeDebugState& b); |
40 static LayerTreeDebugState unite(const LayerTreeDebugState& a, const LayerTree
DebugState& b); | 42 static LayerTreeDebugState unite(const LayerTreeDebugState& a, const LayerTree
DebugState& b); |
41 | 43 |
42 private: | 44 private: |
43 bool m_recordRenderingStats; | 45 bool m_recordRenderingStats; |
44 }; | 46 }; |
45 | 47 |
46 } // namespace cc | 48 } // namespace cc |
47 | 49 |
48 #endif // CC_LAYER_TREE_DEBUG_STATE_H_ | 50 #endif // CC_LAYER_TREE_DEBUG_STATE_H_ |
OLD | NEW |