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

Unified Diff: cc/tile_manager.cc

Issue 11879012: cc: Redraw incomplete frames when new texture uploads finish (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@decouple_draw3b
Patch Set: Add trace events and isImplThread DCHECKS Created 7 years, 11 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
« cc/layer_tree_host_impl.cc ('K') | « cc/tile_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tile_manager.cc
diff --git a/cc/tile_manager.cc b/cc/tile_manager.cc
index e7583bd20e40e03b4d551c3c98b004249d304ed5..c3978ff733133eb789f5bda4dbbc77c9dc45251e 100644
--- a/cc/tile_manager.cc
+++ b/cc/tile_manager.cc
@@ -241,6 +241,10 @@ void TileManager::CheckForCompletedSetPixels() {
break;
}
+ if (tile->priority(ACTIVE_TREE).distance_to_visible_in_pixels == 0 &&
+ tile->priority(ACTIVE_TREE).resolution == HIGH_RESOLUTION)
+ client_->DidUploadVisibleHighResolutionTile();
+
// It's now safe to release the pixel buffer.
resource_pool_->resource_provider()->releasePixelBuffer(
tile->managed_state().resource->id());
« cc/layer_tree_host_impl.cc ('K') | « cc/tile_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698