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

Unified Diff: ppapi/proxy/compositor_layer_resource.cc

Issue 1641323002: Make sure Ppapi compositor layer resources are synchronized. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Go back to synchronizing every layer Created 4 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: ppapi/proxy/compositor_layer_resource.cc
diff --git a/ppapi/proxy/compositor_layer_resource.cc b/ppapi/proxy/compositor_layer_resource.cc
index 838a51389bc315ae6e8414d7e2fa8982ffa3784a..ae6bcd5ff2b065d469395dccb62dab7e97e183c5 100644
--- a/ppapi/proxy/compositor_layer_resource.cc
+++ b/ppapi/proxy/compositor_layer_resource.cc
@@ -178,9 +178,8 @@ int32_t CompositorLayerResource::SetTexture(
data_.texture->source_rect.size = source_size_;
const GLuint64 fence_sync = gl->InsertFenceSyncCHROMIUM();
- gl->OrderingBarrierCHROMIUM();
- gl->GenUnverifiedSyncTokenCHROMIUM(fence_sync,
- data_.texture->sync_token.GetData());
+ gl->ShallowFlushCHROMIUM();
+ gl->GenSyncTokenCHROMIUM(fence_sync, data_.texture->sync_token.GetData());
// If the PP_Resource of this layer is released by the plugin, the
// release_callback will be aborted immediately, but the texture or image
« 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