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

Unified Diff: trunk/src/ui/gl/gl_gl_api_implementation.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
« no previous file with comments | « trunk/src/ui/gl/gl_gl_api_implementation.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ui/gl/gl_gl_api_implementation.cc
===================================================================
--- trunk/src/ui/gl/gl_gl_api_implementation.cc (revision 258964)
+++ trunk/src/ui/gl/gl_gl_api_implementation.cc (working copy)
@@ -343,11 +343,6 @@
driver_ = driver;
}
-void GLApiBase::SignalFlush() {
- DCHECK(GLContext::GetCurrent());
- GLContext::GetCurrent()->OnFlush();
-}
-
RealGLApi::RealGLApi() {
}
@@ -358,16 +353,6 @@
InitializeBase(driver);
}
-void RealGLApi::glFlushFn() {
- GLApiBase::glFlushFn();
- GLApiBase::SignalFlush();
-}
-
-void RealGLApi::glFinishFn() {
- GLApiBase::glFinishFn();
- GLApiBase::SignalFlush();
-}
-
TraceGLApi::~TraceGLApi() {
}
@@ -460,14 +445,4 @@
}
}
-void VirtualGLApi::glFlushFn() {
- GLApiBase::glFlushFn();
- GLApiBase::SignalFlush();
-}
-
-void VirtualGLApi::glFinishFn() {
- GLApiBase::glFinishFn();
- GLApiBase::SignalFlush();
-}
-
} // namespace gfx
« no previous file with comments | « trunk/src/ui/gl/gl_gl_api_implementation.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698