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 18 matching lines...) Expand all Loading... |
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; | 35 bool traceAllRenderedFrames; |
36 | 36 |
37 bool showHudInfo() const; | 37 bool showHudInfo() const; |
38 bool showHudRects() const; | 38 bool showHudRects() const; |
39 bool hudNeedsFont() const; | |
40 | 39 |
41 static bool equal(const LayerTreeDebugState& a, const LayerTreeDebugState& b); | 40 static bool equal(const LayerTreeDebugState& a, const LayerTreeDebugState& b); |
42 static LayerTreeDebugState unite(const LayerTreeDebugState& a, const LayerTree
DebugState& b); | 41 static LayerTreeDebugState unite(const LayerTreeDebugState& a, const LayerTree
DebugState& b); |
43 | 42 |
44 private: | 43 private: |
45 bool m_recordRenderingStats; | 44 bool m_recordRenderingStats; |
46 }; | 45 }; |
47 | 46 |
48 } // namespace cc | 47 } // namespace cc |
49 | 48 |
50 #endif // CC_LAYER_TREE_DEBUG_STATE_H_ | 49 #endif // CC_LAYER_TREE_DEBUG_STATE_H_ |
OLD | NEW |