Chromium Code Reviews| Index: cc/tile_manager.h |
| diff --git a/cc/tile_manager.h b/cc/tile_manager.h |
| index 16212ed66e5f7398d0bbbaf572f245ace0824ace..a8490b6facdb4482d032862fe3b0712c43135109 100644 |
| --- a/cc/tile_manager.h |
| +++ b/cc/tile_manager.h |
| @@ -95,7 +95,8 @@ class CC_EXPORT TileManager { |
| TileManager(TileManagerClient* client, |
| ResourceProvider *resource_provider, |
| size_t num_raster_threads, |
| - bool record_rendering_stats); |
| + bool record_rendering_stats, |
| + bool use_cheapess_estimator); |
| virtual ~TileManager(); |
| const GlobalStateThatImpactsTilePriority& GlobalState() const { |
| @@ -150,6 +151,10 @@ class CC_EXPORT TileManager { |
| scoped_refptr<Tile> tile, |
| scoped_ptr<ResourcePool::Resource> resource, |
| int manage_tiles_call_count_when_dispatched); |
| + void OnRasterTaskCompletedByWorker( |
| + scoped_refptr<Tile> tile, |
| + scoped_ptr<ResourcePool::Resource> resource, |
| + int manage_tiles_call_count_when_dispatched); |
|
reveman
2013/02/04 22:53:24
How about OnRasterCompleted() and OnRasterTaskComp
Sami
2013/02/05 12:26:23
Good idea, I like that naming.
|
| void DidFinishTileInitialization(Tile* tile); |
| void DidTileRasterStateChange(Tile* tile, TileRasterState state); |
| void DidTileBinChange(Tile* tile, |
| @@ -194,6 +199,8 @@ class CC_EXPORT TileManager { |
| bool record_rendering_stats_; |
| RenderingStats rendering_stats_; |
| + bool use_cheapness_estimator_; |
| + |
| int raster_state_count_[NUM_STATES][NUM_TREES][NUM_BINS]; |
| DISALLOW_COPY_AND_ASSIGN(TileManager); |