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

Unified Diff: ui/gl/gl_gl_api_implementation.cc

Issue 898543002: Remove GLFence::CreateWithoutFlush (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove flush event Created 5 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 | « 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: ui/gl/gl_gl_api_implementation.cc
diff --git a/ui/gl/gl_gl_api_implementation.cc b/ui/gl/gl_gl_api_implementation.cc
index fada5e3707c328e230067171d9b1882f0712f872..81a1b72657ba0d841f9fd8780f68f57260160609 100644
--- a/ui/gl/gl_gl_api_implementation.cc
+++ b/ui/gl/gl_gl_api_implementation.cc
@@ -395,11 +395,6 @@ void GLApiBase::InitializeBase(DriverGL* driver) {
driver_ = driver;
}
-void GLApiBase::SignalFlush() {
- DCHECK(GLContext::GetCurrent());
- GLContext::GetCurrent()->OnFlush();
-}
-
RealGLApi::RealGLApi() {
}
@@ -412,12 +407,10 @@ void RealGLApi::Initialize(DriverGL* driver) {
void RealGLApi::glFlushFn() {
GLApiBase::glFlushFn();
- GLApiBase::SignalFlush();
}
void RealGLApi::glFinishFn() {
GLApiBase::glFinishFn();
- GLApiBase::SignalFlush();
}
TraceGLApi::~TraceGLApi() {
@@ -525,12 +518,10 @@ const GLubyte* VirtualGLApi::glGetStringFn(GLenum name) {
void VirtualGLApi::glFlushFn() {
GLApiBase::glFlushFn();
- GLApiBase::SignalFlush();
}
void VirtualGLApi::glFinishFn() {
GLApiBase::glFinishFn();
- GLApiBase::SignalFlush();
}
ScopedSetGLToRealGLApi::ScopedSetGLToRealGLApi()
« no previous file with comments | « 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