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

Unified Diff: cc/resources/tile_manager.h

Issue 767083005: cc: Rename TileManager::ManageTiles to PrepareTiles. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed a Trace name. Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/layers/picture_layer_impl_unittest.cc ('k') | cc/resources/tile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/tile_manager.h
diff --git a/cc/resources/tile_manager.h b/cc/resources/tile_manager.h
index 8d19520699b4c5edd713e9ab94763604795f1944..a89e6f9239bac66021c079c787c0d924eec34ff0 100644
--- a/cc/resources/tile_manager.h
+++ b/cc/resources/tile_manager.h
@@ -106,7 +106,12 @@ class CC_EXPORT TileManager : public RasterizerClient,
size_t scheduled_raster_task_limit);
~TileManager() override;
- void ManageTiles(const GlobalStateThatImpactsTilePriority& state);
+ // Assigns tile memory and schedules work to prepare tiles for drawing.
+ // - Runs client_->NotifyReadyToActivate() when all tiles required for
+ // activation are prepared, or failed to prepare due to OOM.
+ // - Runs client_->NotifyReadyToDraw() when all tiles required draw are
+ // prepared, or failed to prepare due to OOM.
+ void PrepareTiles(const GlobalStateThatImpactsTilePriority& state);
void UpdateVisibleTiles();
« no previous file with comments | « cc/layers/picture_layer_impl_unittest.cc ('k') | cc/resources/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698