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

Unified Diff: trunk/src/gpu/command_buffer/service/mailbox_synchronizer.cc

Issue 209853004: Revert 258122 "gpu: Allow fences to check whether a flush has oc..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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
Index: trunk/src/gpu/command_buffer/service/mailbox_synchronizer.cc
===================================================================
--- trunk/src/gpu/command_buffer/service/mailbox_synchronizer.cc (revision 258964)
+++ trunk/src/gpu/command_buffer/service/mailbox_synchronizer.cc (working copy)
@@ -174,6 +174,8 @@
textures_.insert(std::make_pair(texture, TextureVersion(group)));
}
}
+ // Make sure all write fences are flushed.
+ glFlush();
}
void MailboxSynchronizer::UpdateTextureLocked(Texture* texture,

Powered by Google App Engine
This is Rietveld 408576698