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

Unified Diff: ui/gl/gl_fence.h

Issue 180723023: gpu: Mailbox emulation with EGLImage (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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: ui/gl/gl_fence.h
diff --git a/ui/gl/gl_fence.h b/ui/gl/gl_fence.h
index d4f3218d52f483947fce83a41c555aade3f92d54..199f4aca6ce50844888192ecfc7b820038cf0f95 100644
--- a/ui/gl/gl_fence.h
+++ b/ui/gl/gl_fence.h
@@ -18,6 +18,9 @@ class GL_EXPORT GLFence {
static GLFence* Create();
virtual bool HasCompleted() = 0;
virtual void ClientWait() = 0;
+ // Will block the server if supported, but might fall back to blocking the
+ // client.
+ virtual void ServerWait() = 0;
protected:
static bool IsContextLost();

Powered by Google App Engine
This is Rietveld 408576698