Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Side by Side Diff: cc/layers/heads_up_display_layer_impl.h

Issue 1855273002: Update new Surface callsites (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: software_output_device was indirectly including skia::refptr, switch to sk_sp<> Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | cc/layers/heads_up_display_layer_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 SkColor stroke_color, 123 SkColor stroke_color,
124 SkColor fill_color, 124 SkColor fill_color,
125 float stroke_width, 125 float stroke_width,
126 const std::string& label_text) const; 126 const std::string& label_text) const;
127 void DrawDebugRects(SkCanvas* canvas, DebugRectHistory* debug_rect_history); 127 void DrawDebugRects(SkCanvas* canvas, DebugRectHistory* debug_rect_history);
128 128
129 void AcquireResource(ResourceProvider* resource_provider); 129 void AcquireResource(ResourceProvider* resource_provider);
130 void ReleaseUnmatchedSizeResources(ResourceProvider* resource_provider); 130 void ReleaseUnmatchedSizeResources(ResourceProvider* resource_provider);
131 131
132 std::vector<scoped_ptr<ScopedResource>> resources_; 132 std::vector<scoped_ptr<ScopedResource>> resources_;
133 skia::RefPtr<SkSurface> hud_surface_; 133 sk_sp<SkSurface> hud_surface_;
134 134
135 skia::RefPtr<SkTypeface> typeface_; 135 skia::RefPtr<SkTypeface> typeface_;
136 136
137 float internal_contents_scale_; 137 float internal_contents_scale_;
138 gfx::Size internal_content_bounds_; 138 gfx::Size internal_content_bounds_;
139 139
140 Graph fps_graph_; 140 Graph fps_graph_;
141 Graph paint_time_graph_; 141 Graph paint_time_graph_;
142 MemoryHistory::Entry memory_entry_; 142 MemoryHistory::Entry memory_entry_;
143 int fade_step_; 143 int fade_step_;
144 std::vector<DebugRect> paint_rects_; 144 std::vector<DebugRect> paint_rects_;
145 145
146 base::TimeTicks time_of_last_graph_update_; 146 base::TimeTicks time_of_last_graph_update_;
147 147
148 DISALLOW_COPY_AND_ASSIGN(HeadsUpDisplayLayerImpl); 148 DISALLOW_COPY_AND_ASSIGN(HeadsUpDisplayLayerImpl);
149 }; 149 };
150 150
151 } // namespace cc 151 } // namespace cc
152 152
153 #endif // CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_ 153 #endif // CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/layers/heads_up_display_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698