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

Unified Diff: cc/tile_manager.cc

Issue 11830041: Shallow flush after calling beginSetPixels (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@decouple_draw3b
Patch Set: rebase 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
« no previous file with comments | « no previous file | 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 62f7b5f4799a837da7bbb0299ab6b30f9279e678..a75b7154d4a2b29db24d862d6eb2517ae03f6a21 100644
--- a/cc/tile_manager.cc
+++ b/cc/tile_manager.cc
@@ -555,6 +555,7 @@ void TileManager::OnRasterTaskCompleted(
managed_tile_state.can_be_freed = false;
resource_pool_->resource_provider()->beginSetPixels(resource->id());
+ resource_pool_->resource_provider()->shallowFlushIfSupported();
managed_tile_state.resource = resource.Pass();
tiles_with_pending_set_pixels_.push(tile);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698