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

Unified Diff: trunk/src/ui/gl/gl_fence.h

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
« no previous file with comments | « trunk/src/ui/gl/gl_context.cc ('k') | trunk/src/ui/gl/gl_fence.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ui/gl/gl_fence.h
===================================================================
--- trunk/src/ui/gl/gl_fence.h (revision 258964)
+++ trunk/src/ui/gl/gl_fence.h (working copy)
@@ -16,16 +16,11 @@
virtual ~GLFence();
static GLFence* Create();
-
// Creates a fence that is not guaranteed to signal until the current context
- // is flushed. It is illegal to call Client/ServerWait() on a fence without
- // having explicitly called glFlush() or glFinish() in the originating
- // context.
+ // is flushed. Use with caution.
static GLFence* CreateWithoutFlush();
-
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;
« no previous file with comments | « trunk/src/ui/gl/gl_context.cc ('k') | trunk/src/ui/gl/gl_fence.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698