| Index: ui/gl/gl_bindings_autogen_gl.h
|
| diff --git a/ui/gl/gl_bindings_autogen_gl.h b/ui/gl/gl_bindings_autogen_gl.h
|
| index b930484ce518e708f37f1e4b1e5a2a428fdfb612..643a2365adb44bc297e104e97382cd2243d0b5ea 100644
|
| --- a/ui/gl/gl_bindings_autogen_gl.h
|
| +++ b/ui/gl/gl_bindings_autogen_gl.h
|
| @@ -406,6 +406,10 @@ typedef void(GL_BINDING_CALL* glGetProgramInfoLogProc)(GLuint program,
|
| typedef void(GL_BINDING_CALL* glGetProgramivProc)(GLuint program,
|
| GLenum pname,
|
| GLint* params);
|
| +typedef GLint(GL_BINDING_CALL* glGetProgramResourceLocationProc)(
|
| + GLuint program,
|
| + GLenum programInterface,
|
| + const char* name);
|
| typedef void(GL_BINDING_CALL* glGetQueryivProc)(GLenum target,
|
| GLenum pname,
|
| GLint* params);
|
| @@ -457,6 +461,8 @@ typedef void(GL_BINDING_CALL* glGetShaderSourceProc)(GLuint shader,
|
| GLsizei* length,
|
| char* source);
|
| typedef const GLubyte*(GL_BINDING_CALL* glGetStringProc)(GLenum name);
|
| +typedef const GLubyte*(GL_BINDING_CALL* glGetStringiProc)(GLenum name,
|
| + GLuint index);
|
| typedef void(GL_BINDING_CALL* glGetSyncivProc)(GLsync sync,
|
| GLenum pname,
|
| GLsizei bufSize,
|
| @@ -1072,6 +1078,7 @@ struct ProcsGL {
|
| glGetProgramBinaryProc glGetProgramBinaryFn;
|
| glGetProgramInfoLogProc glGetProgramInfoLogFn;
|
| glGetProgramivProc glGetProgramivFn;
|
| + glGetProgramResourceLocationProc glGetProgramResourceLocationFn;
|
| glGetQueryivProc glGetQueryivFn;
|
| glGetQueryivARBProc glGetQueryivARBFn;
|
| glGetQueryObjecti64vProc glGetQueryObjecti64vFn;
|
| @@ -1088,6 +1095,7 @@ struct ProcsGL {
|
| glGetShaderPrecisionFormatProc glGetShaderPrecisionFormatFn;
|
| glGetShaderSourceProc glGetShaderSourceFn;
|
| glGetStringProc glGetStringFn;
|
| + glGetStringiProc glGetStringiFn;
|
| glGetSyncivProc glGetSyncivFn;
|
| glGetTexLevelParameterfvProc glGetTexLevelParameterfvFn;
|
| glGetTexLevelParameterivProc glGetTexLevelParameterivFn;
|
| @@ -1579,6 +1587,9 @@ class GL_EXPORT GLApi {
|
| virtual void glGetProgramivFn(GLuint program,
|
| GLenum pname,
|
| GLint* params) = 0;
|
| + virtual GLint glGetProgramResourceLocationFn(GLuint program,
|
| + GLenum programInterface,
|
| + const char* name) = 0;
|
| virtual void glGetQueryivFn(GLenum target, GLenum pname, GLint* params) = 0;
|
| virtual void glGetQueryivARBFn(GLenum target,
|
| GLenum pname,
|
| @@ -1622,6 +1633,7 @@ class GL_EXPORT GLApi {
|
| GLsizei* length,
|
| char* source) = 0;
|
| virtual const GLubyte* glGetStringFn(GLenum name) = 0;
|
| + virtual const GLubyte* glGetStringiFn(GLenum name, GLuint index) = 0;
|
| virtual void glGetSyncivFn(GLsync sync,
|
| GLenum pname,
|
| GLsizei bufSize,
|
| @@ -2181,6 +2193,8 @@ class GL_EXPORT GLApi {
|
| #define glGetProgramBinary ::gfx::g_current_gl_context->glGetProgramBinaryFn
|
| #define glGetProgramInfoLog ::gfx::g_current_gl_context->glGetProgramInfoLogFn
|
| #define glGetProgramiv ::gfx::g_current_gl_context->glGetProgramivFn
|
| +#define glGetProgramResourceLocation \
|
| + ::gfx::g_current_gl_context->glGetProgramResourceLocationFn
|
| #define glGetQueryiv ::gfx::g_current_gl_context->glGetQueryivFn
|
| #define glGetQueryivARB ::gfx::g_current_gl_context->glGetQueryivARBFn
|
| #define glGetQueryObjecti64v ::gfx::g_current_gl_context->glGetQueryObjecti64vFn
|
| @@ -2204,6 +2218,7 @@ class GL_EXPORT GLApi {
|
| ::gfx::g_current_gl_context->glGetShaderPrecisionFormatFn
|
| #define glGetShaderSource ::gfx::g_current_gl_context->glGetShaderSourceFn
|
| #define glGetString ::gfx::g_current_gl_context->glGetStringFn
|
| +#define glGetStringi ::gfx::g_current_gl_context->glGetStringiFn
|
| #define glGetSynciv ::gfx::g_current_gl_context->glGetSyncivFn
|
| #define glGetTexLevelParameterfv \
|
| ::gfx::g_current_gl_context->glGetTexLevelParameterfvFn
|
|
|