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_DEBUG_LAYER_TREE_DEBUG_STATE_H_ | 5 #ifndef CC_DEBUG_LAYER_TREE_DEBUG_STATE_H_ |
6 #define CC_DEBUG_LAYER_TREE_DEBUG_STATE_H_ | 6 #define CC_DEBUG_LAYER_TREE_DEBUG_STATE_H_ |
7 | 7 |
8 #include "cc/base/cc_export.h" | 8 #include "cc/debug/debug_export.h" |
9 | 9 |
10 namespace cc { | 10 namespace cc { |
11 | 11 |
12 namespace proto { | 12 namespace proto { |
13 class LayerTreeDebugState; | 13 class LayerTreeDebugState; |
14 } // namespace proto | 14 } // namespace proto |
15 | 15 |
16 class CC_EXPORT LayerTreeDebugState { | 16 class CC_DEBUG_EXPORT LayerTreeDebugState { |
17 public: | 17 public: |
18 LayerTreeDebugState(); | 18 LayerTreeDebugState(); |
19 LayerTreeDebugState(const LayerTreeDebugState& other); | 19 LayerTreeDebugState(const LayerTreeDebugState& other); |
20 ~LayerTreeDebugState(); | 20 ~LayerTreeDebugState(); |
21 | 21 |
22 bool show_fps_counter; | 22 bool show_fps_counter; |
23 bool show_debug_borders; | 23 bool show_debug_borders; |
24 | 24 |
25 bool show_paint_rects; | 25 bool show_paint_rects; |
26 bool show_property_changed_rects; | 26 bool show_property_changed_rects; |
(...skipping 20 matching lines...) Expand all Loading... |
47 static LayerTreeDebugState Unite(const LayerTreeDebugState& a, | 47 static LayerTreeDebugState Unite(const LayerTreeDebugState& a, |
48 const LayerTreeDebugState& b); | 48 const LayerTreeDebugState& b); |
49 | 49 |
50 private: | 50 private: |
51 bool record_rendering_stats_; | 51 bool record_rendering_stats_; |
52 }; | 52 }; |
53 | 53 |
54 } // namespace cc | 54 } // namespace cc |
55 | 55 |
56 #endif // CC_DEBUG_LAYER_TREE_DEBUG_STATE_H_ | 56 #endif // CC_DEBUG_LAYER_TREE_DEBUG_STATE_H_ |
OLD | NEW |