OLD | NEW |
---|---|
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_ | 5 #ifndef CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_ |
6 #define CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_ | 6 #define CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
112 DebugRectHistory* debug_rect_history) const; | 112 DebugRectHistory* debug_rect_history) const; |
113 | 113 |
114 scoped_ptr<ScopedResource> hud_resource_; | 114 scoped_ptr<ScopedResource> hud_resource_; |
115 scoped_ptr<SkCanvas> hud_canvas_; | 115 scoped_ptr<SkCanvas> hud_canvas_; |
116 | 116 |
117 skia::RefPtr<SkTypeface> typeface_; | 117 skia::RefPtr<SkTypeface> typeface_; |
118 | 118 |
119 Graph fps_graph_; | 119 Graph fps_graph_; |
120 Graph paint_time_graph_; | 120 Graph paint_time_graph_; |
121 MemoryHistory::Entry memory_entry_; | 121 MemoryHistory::Entry memory_entry_; |
122 mutable int current_paint_rect_color_; | |
danakj
2014/02/10 16:11:12
why mutable?
| |
122 | 123 |
123 base::TimeTicks time_of_last_graph_update_; | 124 base::TimeTicks time_of_last_graph_update_; |
124 | 125 |
125 DISALLOW_COPY_AND_ASSIGN(HeadsUpDisplayLayerImpl); | 126 DISALLOW_COPY_AND_ASSIGN(HeadsUpDisplayLayerImpl); |
126 }; | 127 }; |
127 | 128 |
128 } // namespace cc | 129 } // namespace cc |
129 | 130 |
130 #endif // CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_ | 131 #endif // CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_ |
OLD | NEW |