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

Unified Diff: mojo/gpu/mojo_gles2_impl_autogen.cc

Issue 1814573002: Move flush id from WebGraphicsContext3DImpl to GLES2Implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lastflush: rebase Created 4 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: mojo/gpu/mojo_gles2_impl_autogen.cc
diff --git a/mojo/gpu/mojo_gles2_impl_autogen.cc b/mojo/gpu/mojo_gles2_impl_autogen.cc
index 09a0d38278cb1d86d3fd2951347916384864b335..2e0c661eec8671d1214bf8833f8283f5ae31887f 100644
--- a/mojo/gpu/mojo_gles2_impl_autogen.cc
+++ b/mojo/gpu/mojo_gles2_impl_autogen.cc
@@ -1709,6 +1709,10 @@ void MojoGLES2Impl::FlushDriverCachesCHROMIUM() {
MojoGLES2MakeCurrent(context_);
glFlushDriverCachesCHROMIUM();
}
+GLuint MojoGLES2Impl::GetLastFlushIdCHROMIUM() {
+ MojoGLES2MakeCurrent(context_);
+ return glGetLastFlushIdCHROMIUM();
+}
void MojoGLES2Impl::MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) {
MojoGLES2MakeCurrent(context_);
glMatrixLoadfCHROMIUM(matrixMode, m);
« no previous file with comments | « mojo/gpu/mojo_gles2_impl_autogen.h ('k') | mojo/public/c/gles2/gles2_call_visitor_chromium_extension_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698