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

Side by Side Diff: cc/tile_manager.h

Issue 12209022: cc: add rasterize time to continuous painting graph data in impl-side-painting (Closed) Base URL: http://git.chromium.org/chromium/src.git@raster
Patch Set: Save paint and rasterize time in per frame struct Created 7 years, 10 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
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_TILE_MANAGER_H_ 5 #ifndef CC_TILE_MANAGER_H_
6 #define CC_TILE_MANAGER_H_ 6 #define CC_TILE_MANAGER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <queue> 9 #include <queue>
10 #include <vector> 10 #include <vector>
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 void DidTileRasterStateChange(Tile* tile, TileRasterState state); 161 void DidTileRasterStateChange(Tile* tile, TileRasterState state);
162 void DidTileBinChange(Tile* tile, 162 void DidTileBinChange(Tile* tile,
163 TileManagerBin bin, 163 TileManagerBin bin,
164 WhichTree tree); 164 WhichTree tree);
165 scoped_ptr<Value> GetMemoryRequirementsAsValue() const; 165 scoped_ptr<Value> GetMemoryRequirementsAsValue() const;
166 166
167 static void PerformRaster(uint8* buffer, 167 static void PerformRaster(uint8* buffer,
168 const gfx::Rect& rect, 168 const gfx::Rect& rect,
169 float contents_scale, 169 float contents_scale,
170 bool use_cheapness_estimator, 170 bool use_cheapness_estimator,
171 bool is_pending_now_bin,
171 PicturePileImpl* picture_pile, 172 PicturePileImpl* picture_pile,
172 RenderingStats* stats); 173 RenderingStats* stats);
173 static void RunImageDecodeTask(skia::LazyPixelRef* pixel_ref, 174 static void RunImageDecodeTask(skia::LazyPixelRef* pixel_ref,
174 RenderingStats* stats); 175 RenderingStats* stats);
175 176
176 static void RecordCheapnessPredictorResults(bool is_predicted_cheap, 177 static void RecordCheapnessPredictorResults(bool is_predicted_cheap,
177 bool is_actually_cheap); 178 bool is_actually_cheap);
178 179
179 TileManagerClient* client_; 180 TileManagerClient* client_;
180 scoped_ptr<ResourcePool> resource_pool_; 181 scoped_ptr<ResourcePool> resource_pool_;
(...skipping 26 matching lines...) Expand all
207 208
208 bool use_cheapness_estimator_; 209 bool use_cheapness_estimator_;
209 int raster_state_count_[NUM_STATES][NUM_TREES][NUM_BINS]; 210 int raster_state_count_[NUM_STATES][NUM_TREES][NUM_BINS];
210 211
211 DISALLOW_COPY_AND_ASSIGN(TileManager); 212 DISALLOW_COPY_AND_ASSIGN(TileManager);
212 }; 213 };
213 214
214 } // namespace cc 215 } // namespace cc
215 216
216 #endif // CC_TILE_MANAGER_H_ 217 #endif // CC_TILE_MANAGER_H_
OLDNEW
« cc/paint_time_counter.cc ('K') | « cc/ring_buffer.h ('k') | cc/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698