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

Unified Diff: cc/resources/tiling_set_raster_queue_required.cc

Issue 1126813002: cc: Pass priority rect information from iterators to tilings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase fix Created 5 years, 7 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/tiling_set_raster_queue_all.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/tiling_set_raster_queue_required.cc
diff --git a/cc/resources/tiling_set_raster_queue_required.cc b/cc/resources/tiling_set_raster_queue_required.cc
index 4ff8b6e8e7390433b7fd4968c6e9724bcd1c7d14..716fe66b45f422f1f2408bb83020bf53580f4d14 100644
--- a/cc/resources/tiling_set_raster_queue_required.cc
+++ b/cc/resources/tiling_set_raster_queue_required.cc
@@ -103,7 +103,8 @@ TilingSetRasterQueueRequired::TilingIterator::TilingIterator(
// for occlusion, since the tile's internal state has not yet been updated.
if (tile && tile->NeedsRaster() && !tiling_->IsTileOccluded(tile)) {
tiling_->UpdateRequiredStatesOnTile(tile);
- current_tile_ = tiling_->MakePrioritizedTile(tile);
+ current_tile_ = tiling_->MakePrioritizedTile(
+ tile, tiling_->ComputePriorityRectTypeForTile(tile));
return;
}
++(*this);
@@ -142,7 +143,8 @@ TilingSetRasterQueueRequired::TilingIterator&
}
tiling_->UpdateRequiredStatesOnTile(tile);
- current_tile_ = tiling_->MakePrioritizedTile(tile);
+ current_tile_ = tiling_->MakePrioritizedTile(
+ tile, tiling_->ComputePriorityRectTypeForTile(tile));
return *this;
}
« no previous file with comments | « cc/resources/tiling_set_raster_queue_all.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698