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/base/cc_export.h" |
9 | 9 |
10 namespace cc { | 10 namespace cc { |
11 | 11 |
12 class CC_EXPORT LayerTreeDebugState { | 12 class CC_EXPORT LayerTreeDebugState { |
13 public: | 13 public: |
14 LayerTreeDebugState(); | 14 LayerTreeDebugState(); |
15 ~LayerTreeDebugState(); | 15 ~LayerTreeDebugState(); |
16 | 16 |
17 bool showFPSCounter; | 17 bool showFPSCounter; |
18 bool showPlatformLayerTree; | 18 bool showPlatformLayerTree; |
(...skipping 22 matching lines...) Expand all Loading... |
41 static bool equal(const LayerTreeDebugState& a, const LayerTreeDebugState& b); | 41 static bool equal(const LayerTreeDebugState& a, const LayerTreeDebugState& b); |
42 static LayerTreeDebugState unite(const LayerTreeDebugState& a, const LayerTree
DebugState& b); | 42 static LayerTreeDebugState unite(const LayerTreeDebugState& a, const LayerTree
DebugState& b); |
43 | 43 |
44 private: | 44 private: |
45 bool m_recordRenderingStats; | 45 bool m_recordRenderingStats; |
46 }; | 46 }; |
47 | 47 |
48 } // namespace cc | 48 } // namespace cc |
49 | 49 |
50 #endif // CC_LAYER_TREE_DEBUG_STATE_H_ | 50 #endif // CC_LAYER_TREE_DEBUG_STATE_H_ |
OLD | NEW |