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

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: rename some method, only check for incomplete frames when impl-side painting 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/scheduler.h ('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 2d7a8a62af105d5e24e7fbb7b8c5399da7bbf580..06be1566af4e6bb6cb40ae66b1415c0218335352 100644
--- a/cc/tile_manager.cc
+++ b/cc/tile_manager.cc
@@ -248,6 +248,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/scheduler.h ('K') | « cc/tile_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698