Chromium Code Reviews| Index: cc/resources/tile_manager.h |
| diff --git a/cc/resources/tile_manager.h b/cc/resources/tile_manager.h |
| index f5bea383141a38c325f695ed2247e9b7561331a9..1eba480213b85b106eff5ddbd9d6e5f766211379 100644 |
| --- a/cc/resources/tile_manager.h |
| +++ b/cc/resources/tile_manager.h |
| @@ -60,6 +60,12 @@ class CC_EXPORT TileManagerClient { |
| virtual void BuildRasterQueue(RasterTilePriorityQueue* queue, |
| TreePriority tree_priority) = 0; |
| + // Called when all tiles from the previous BuildRasterQueue have been |
|
vmpstr
2014/10/31 15:46:30
drive by nit: This isn't entirely true... It would
danakj
2014/10/31 15:47:30
OK thanks I wasn't really sure what to write here,
|
| + // processed. Each BuildRasterQueue call is followed by either another |
| + // BuildRasterQueue call (when some tiles were processed but not all), or a |
| + // FinishedRasterQueue() call. |
| + virtual void FinishedRasterQueue() = 0; |
| + |
| // Given an empty eviction tile priority queue, this will build a priority |
| // queue that will return tiles in order in which they should be evicted. |
| // Note if the queue was previous built, Reset must be called on it. |
| @@ -104,8 +110,7 @@ class CC_EXPORT TileManager : public RasterizerClient, |
| void ManageTiles(const GlobalStateThatImpactsTilePriority& state); |
| - // Returns true when visible tiles have been initialized. |
| - bool UpdateVisibleTiles(); |
| + void UpdateVisibleTiles(); |
| scoped_refptr<Tile> CreateTile(RasterSource* raster_source, |
| const gfx::Size& tile_size, |
| @@ -248,7 +253,6 @@ class CC_EXPORT TileManager : public RasterizerClient, |
| RenderingStatsInstrumentation* rendering_stats_instrumentation_; |
| - bool did_initialize_visible_tile_; |
| bool did_check_for_completed_tasks_since_last_schedule_tasks_; |
| bool did_oom_on_last_assign_; |