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 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 const Graph& graph) const; | 98 const Graph& graph) const; |
99 | 99 |
100 SkRect DrawFPSDisplay(SkCanvas* canvas, | 100 SkRect DrawFPSDisplay(SkCanvas* canvas, |
101 const FrameRateCounter* fps_counter, | 101 const FrameRateCounter* fps_counter, |
102 int right, | 102 int right, |
103 int top) const; | 103 int top) const; |
104 SkRect DrawMemoryDisplay(SkCanvas* canvas, | 104 SkRect DrawMemoryDisplay(SkCanvas* canvas, |
105 int top, | 105 int top, |
106 int right, | 106 int right, |
107 int width) const; | 107 int width) const; |
| 108 SkRect DrawGpuRasterizationStatus(SkCanvas* canvas, |
| 109 int right, |
| 110 int top, |
| 111 int width) const; |
108 SkRect DrawPaintTimeDisplay(SkCanvas* canvas, | 112 SkRect DrawPaintTimeDisplay(SkCanvas* canvas, |
109 const PaintTimeCounter* paint_time_counter, | 113 const PaintTimeCounter* paint_time_counter, |
110 int top, | 114 int top, |
111 int right) const; | 115 int right) const; |
112 void DrawDebugRect(SkCanvas* canvas, | 116 void DrawDebugRect(SkCanvas* canvas, |
113 SkPaint* paint, | 117 SkPaint* paint, |
114 const DebugRect& rect, | 118 const DebugRect& rect, |
115 SkColor stroke_color, | 119 SkColor stroke_color, |
116 SkColor fill_color, | 120 SkColor fill_color, |
117 float stroke_width, | 121 float stroke_width, |
(...skipping 15 matching lines...) Expand all Loading... |
133 std::vector<DebugRect> paint_rects_; | 137 std::vector<DebugRect> paint_rects_; |
134 | 138 |
135 base::TimeTicks time_of_last_graph_update_; | 139 base::TimeTicks time_of_last_graph_update_; |
136 | 140 |
137 DISALLOW_COPY_AND_ASSIGN(HeadsUpDisplayLayerImpl); | 141 DISALLOW_COPY_AND_ASSIGN(HeadsUpDisplayLayerImpl); |
138 }; | 142 }; |
139 | 143 |
140 } // namespace cc | 144 } // namespace cc |
141 | 145 |
142 #endif // CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_ | 146 #endif // CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_ |
OLD | NEW |