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

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

Issue 1814573002: Move flush id from WebGraphicsContext3DImpl to GLES2Implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lastflush: . 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: gpu/command_buffer/client/gles2_c_lib_autogen.h
diff --git a/gpu/command_buffer/client/gles2_c_lib_autogen.h b/gpu/command_buffer/client/gles2_c_lib_autogen.h
index 1aa3cbde1f580bee666065f3ac898d4dca59bc87..67f1e055def71ca49ceb48196c96f189df3d4456 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -1523,6 +1523,9 @@ void GL_APIENTRY GLES2SwapInterval(GLint interval) {
void GL_APIENTRY GLES2FlushDriverCachesCHROMIUM() {
gles2::GetGLContext()->FlushDriverCachesCHROMIUM();
}
+GLuint GL_APIENTRY GLES2GetLastFlushIdCHROMIUM() {
+ return gles2::GetGLContext()->GetLastFlushIdCHROMIUM();
+}
void GL_APIENTRY GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) {
gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m);
}
@@ -2888,6 +2891,10 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glFlushDriverCachesCHROMIUM),
},
{
+ "glGetLastFlushIdCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glGetLastFlushIdCHROMIUM),
+ },
+ {
"glMatrixLoadfCHROMIUM",
reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM),
},

Powered by Google App Engine
This is Rietveld 408576698