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

Side by Side Diff: cc/resources/tile_manager.h

Issue 14301021: cc: Don't pass simple well-defined classes by reference. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « cc/resources/tile.h ('k') | cc/resources/tile_manager.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_RESOURCES_TILE_MANAGER_H_ 5 #ifndef CC_RESOURCES_TILE_MANAGER_H_
6 #define CC_RESOURCES_TILE_MANAGER_H_ 6 #define CC_RESOURCES_TILE_MANAGER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <queue> 9 #include <queue>
10 #include <set> 10 #include <set>
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 scoped_ptr<ResourcePool::Resource> resource, 146 scoped_ptr<ResourcePool::Resource> resource,
147 int manage_tiles_call_count_when_dispatched); 147 int manage_tiles_call_count_when_dispatched);
148 void DidFinishTileInitialization(Tile* tile); 148 void DidFinishTileInitialization(Tile* tile);
149 void DidTileTreeBinChange(Tile* tile, 149 void DidTileTreeBinChange(Tile* tile,
150 TileManagerBin new_tree_bin, 150 TileManagerBin new_tree_bin,
151 WhichTree tree); 151 WhichTree tree);
152 scoped_ptr<Value> GetMemoryRequirementsAsValue() const; 152 scoped_ptr<Value> GetMemoryRequirementsAsValue() const;
153 153
154 static void RunRasterTask( 154 static void RunRasterTask(
155 uint8* buffer, 155 uint8* buffer,
156 const gfx::Rect& rect, 156 gfx::Rect rect,
157 float contents_scale, 157 float contents_scale,
158 const RasterTaskMetadata& metadata, 158 const RasterTaskMetadata& metadata,
159 RenderingStatsInstrumentation* stats_instrumentation, 159 RenderingStatsInstrumentation* stats_instrumentation,
160 PicturePileImpl* picture_pile); 160 PicturePileImpl* picture_pile);
161 static void RunImageDecodeTask( 161 static void RunImageDecodeTask(
162 skia::LazyPixelRef* pixel_ref, 162 skia::LazyPixelRef* pixel_ref,
163 RenderingStatsInstrumentation* stats_instrumentation); 163 RenderingStatsInstrumentation* stats_instrumentation);
164 164
165 static void RecordCheapnessPredictorResults(bool is_predicted_cheap, 165 static void RecordCheapnessPredictorResults(bool is_predicted_cheap,
166 bool is_actually_cheap); 166 bool is_actually_cheap);
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 size_t max_pending_tasks_; 205 size_t max_pending_tasks_;
206 206
207 base::TimeTicks anticipated_draw_time_; 207 base::TimeTicks anticipated_draw_time_;
208 208
209 DISALLOW_COPY_AND_ASSIGN(TileManager); 209 DISALLOW_COPY_AND_ASSIGN(TileManager);
210 }; 210 };
211 211
212 } // namespace cc 212 } // namespace cc
213 213
214 #endif // CC_RESOURCES_TILE_MANAGER_H_ 214 #endif // CC_RESOURCES_TILE_MANAGER_H_
OLDNEW
« no previous file with comments | « cc/resources/tile.h ('k') | cc/resources/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698