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

Unified Diff: cc/resources/tile_manager.cc

Issue 24153017: cc: Always check for completed raster tasks before scheduling more tasks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/resources/pixel_buffer_raster_worker_pool.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/tile_manager.cc
diff --git a/cc/resources/tile_manager.cc b/cc/resources/tile_manager.cc
index b845eaf20e778d669c1c04f4525d7bb387ec98f7..0a4e7895159105c457e39594b8bb9f0f69be27cb 100644
--- a/cc/resources/tile_manager.cc
+++ b/cc/resources/tile_manager.cc
@@ -397,6 +397,8 @@ void TileManager::GetTilesWithAssignedBins(PrioritizedTileSet* tiles) {
void TileManager::ManageTiles() {
TRACE_EVENT0("cc", "TileManager::ManageTiles");
+ raster_worker_pool_->CheckForCompletedTasks();
vmpstr 2013/09/18 20:39:36 nit: Can you add a comment here, something similar
reveman 2013/09/18 21:48:30 Done.
+
TileVector tiles_that_need_to_be_rasterized;
AssignGpuMemoryToTiles(GetPrioritizedTileSet(),
&tiles_that_need_to_be_rasterized);
« no previous file with comments | « cc/resources/pixel_buffer_raster_worker_pool.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698