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

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

Issue 903273002: Update from https://crrev.com/315085 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 503fff02065601a8ee43d1cf6e65fedfcf0e0fcf..dfe7a6aa3ffc350df9ba6e0ffd12232c75aa51b6 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -338,6 +338,14 @@ void GLES2GetActiveUniform(GLuint program,
gles2::GetGLContext()->GetActiveUniform(program, index, bufsize, length, size,
type, name);
}
+void GLES2GetActiveUniformBlockName(GLuint program,
+ GLuint index,
+ GLsizei bufsize,
+ GLsizei* length,
+ char* name) {
+ gles2::GetGLContext()->GetActiveUniformBlockName(program, index, bufsize,
+ length, name);
+}
void GLES2GetAttachedShaders(GLuint program,
GLsizei maxcount,
GLsizei* count,
@@ -431,6 +439,9 @@ void GLES2GetTexParameterfv(GLenum target, GLenum pname, GLfloat* params) {
void GLES2GetTexParameteriv(GLenum target, GLenum pname, GLint* params) {
gles2::GetGLContext()->GetTexParameteriv(target, pname, params);
}
+GLuint GLES2GetUniformBlockIndex(GLuint program, const char* name) {
+ return gles2::GetGLContext()->GetUniformBlockIndex(program, name);
+}
void GLES2GetUniformfv(GLuint program, GLint location, GLfloat* params) {
gles2::GetGLContext()->GetUniformfv(program, location, params);
}
@@ -578,6 +589,9 @@ void GLES2ShallowFinishCHROMIUM() {
void GLES2ShallowFlushCHROMIUM() {
gles2::GetGLContext()->ShallowFlushCHROMIUM();
}
+void GLES2OrderingBarrierCHROMIUM() {
+ gles2::GetGLContext()->OrderingBarrierCHROMIUM();
+}
void GLES2StencilFunc(GLenum func, GLint ref, GLuint mask) {
gles2::GetGLContext()->StencilFunc(func, ref, mask);
}
@@ -1038,6 +1052,12 @@ void GLES2GetProgramInfoCHROMIUM(GLuint program,
void* info) {
gles2::GetGLContext()->GetProgramInfoCHROMIUM(program, bufsize, size, info);
}
+void GLES2GetUniformBlocksCHROMIUM(GLuint program,
+ GLsizei bufsize,
+ GLsizei* size,
+ void* info) {
+ gles2::GetGLContext()->GetUniformBlocksCHROMIUM(program, bufsize, size, info);
+}
GLuint GLES2CreateStreamTextureCHROMIUM(GLuint texture) {
return gles2::GetGLContext()->CreateStreamTextureCHROMIUM(texture);
}
@@ -1539,6 +1559,10 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniform),
},
{
+ "glGetActiveUniformBlockName",
+ reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniformBlockName),
+ },
+ {
"glGetAttachedShaders",
reinterpret_cast<GLES2FunctionPointer>(glGetAttachedShaders),
},
@@ -1628,6 +1652,10 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glGetTexParameteriv),
},
{
+ "glGetUniformBlockIndex",
+ reinterpret_cast<GLES2FunctionPointer>(glGetUniformBlockIndex),
+ },
+ {
"glGetUniformfv",
reinterpret_cast<GLES2FunctionPointer>(glGetUniformfv),
},
@@ -1784,6 +1812,10 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glShallowFlushCHROMIUM),
},
{
+ "glOrderingBarrierCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glOrderingBarrierCHROMIUM),
+ },
+ {
"glStencilFunc",
reinterpret_cast<GLES2FunctionPointer>(glStencilFunc),
},
@@ -2192,6 +2224,10 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoCHROMIUM),
},
{
+ "glGetUniformBlocksCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glGetUniformBlocksCHROMIUM),
+ },
+ {
"glCreateStreamTextureCHROMIUM",
reinterpret_cast<GLES2FunctionPointer>(glCreateStreamTextureCHROMIUM),
},
« no previous file with comments | « gpu/command_buffer/client/gl_in_process_context.cc ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698