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

Unified Diff: gpu/command_buffer/client/gles2_implementation_impl_autogen.h

Issue 1241433003: Rebind EGL context to flush driver caches. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 5 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: gpu/command_buffer/client/gles2_implementation_impl_autogen.h
diff --git a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
index 79a7650709a7b73ebf7a01b8a151cd2a26b65066..367fa4bdbe65f84e4334a3e83bc1662fc6f07367 100644
--- a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
@@ -3441,6 +3441,14 @@ void GLES2Implementation::ScheduleOverlayPlaneCHROMIUM(
CheckGLError();
}
+void GLES2Implementation::FlushDriverCachesCHROMIUM() {
+ GPU_CLIENT_SINGLE_THREAD_CHECK();
+ GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glFlushDriverCachesCHROMIUM("
+ << ")");
+ helper_->FlushDriverCachesCHROMIUM();
+ CheckGLError();
+}
+
void GLES2Implementation::MatrixLoadfCHROMIUM(GLenum matrixMode,
const GLfloat* m) {
GPU_CLIENT_SINGLE_THREAD_CHECK();

Powered by Google App Engine
This is Rietveld 408576698