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

Unified Diff: cc/picture_layer_impl.cc

Issue 12321053: cc: Complete pending tile uploads if they are needed for tree activation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Chromified and added a test. Created 7 years, 9 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 | « no previous file | cc/resource_provider.h » ('j') | cc/tile_manager.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture_layer_impl.cc
diff --git a/cc/picture_layer_impl.cc b/cc/picture_layer_impl.cc
index e4bb4441ad584481392cd28348ba3271cd361691..48ae6d5c0927ac0abd002ceb42b0c1d942a60dbe 100644
--- a/cc/picture_layer_impl.cc
+++ b/cc/picture_layer_impl.cc
@@ -508,6 +508,8 @@ bool PictureLayerImpl::areVisibleResourcesReady() const {
PictureLayerTiling::LayerDeviceAlignmentUnknown);
iter;
++iter) {
+ if (iter)
+ layerTreeImpl()->tile_manager()->FlushPendingTileUploadIfNeeded(*iter);
reveman 2013/03/07 20:31:58 We should avoid this when in "smoothness takes pri
Sami 2013/03/08 18:01:10 Agreed, let's be careful about this. I've added a
// A null tile (i.e. no recording) is considered "ready".
if (!*iter || iter->GetResourceId())
missing_region.Subtract(iter.geometry_rect());
« no previous file with comments | « no previous file | cc/resource_provider.h » ('j') | cc/tile_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698