| 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 bd41c8f8f7af6ecef456d888aa9204ef17454d53..c28385d5ba4694a5aaf1bc018a737298439e2a54 100644
|
| --- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
|
| +++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
|
| @@ -24,6 +24,9 @@ void GLES2BindAttribLocation(GLuint program, GLuint index, const char* name) {
|
| void GLES2BindBuffer(GLenum target, GLuint buffer) {
|
| gles2::GetGLContext()->BindBuffer(target, buffer);
|
| }
|
| +void GLES2BindBufferBase(GLenum target, GLuint index, GLuint buffer) {
|
| + gles2::GetGLContext()->BindBufferBase(target, index, buffer);
|
| +}
|
| void GLES2BindFramebuffer(GLenum target, GLuint framebuffer) {
|
| gles2::GetGLContext()->BindFramebuffer(target, framebuffer);
|
| }
|
| @@ -561,6 +564,20 @@ void GLES2TexImage2D(GLenum target,
|
| gles2::GetGLContext()->TexImage2D(target, level, internalformat, width,
|
| height, border, format, type, pixels);
|
| }
|
| +void GLES2TexImage3D(GLenum target,
|
| + GLint level,
|
| + GLint internalformat,
|
| + GLsizei width,
|
| + GLsizei height,
|
| + GLsizei depth,
|
| + GLint border,
|
| + GLenum format,
|
| + GLenum type,
|
| + const void* pixels) {
|
| + gles2::GetGLContext()->TexImage3D(target, level, internalformat, width,
|
| + height, depth, border, format, type,
|
| + pixels);
|
| +}
|
| void GLES2TexParameterf(GLenum target, GLenum pname, GLfloat param) {
|
| gles2::GetGLContext()->TexParameterf(target, pname, param);
|
| }
|
| @@ -594,6 +611,21 @@ void GLES2TexSubImage2D(GLenum target,
|
| gles2::GetGLContext()->TexSubImage2D(target, level, xoffset, yoffset, width,
|
| height, format, type, pixels);
|
| }
|
| +void GLES2TexSubImage3D(GLenum target,
|
| + GLint level,
|
| + GLint xoffset,
|
| + GLint yoffset,
|
| + GLint zoffset,
|
| + GLsizei width,
|
| + GLsizei height,
|
| + GLsizei depth,
|
| + GLenum format,
|
| + GLenum type,
|
| + const void* pixels) {
|
| + gles2::GetGLContext()->TexSubImage3D(target, level, xoffset, yoffset, zoffset,
|
| + width, height, depth, format, type,
|
| + pixels);
|
| +}
|
| void GLES2Uniform1f(GLint location, GLfloat x) {
|
| gles2::GetGLContext()->Uniform1f(location, x);
|
| }
|
| @@ -1174,6 +1206,10 @@ extern const NameToFunc g_gles2_function_table[] = {
|
| reinterpret_cast<GLES2FunctionPointer>(glBindBuffer),
|
| },
|
| {
|
| + "glBindBufferBase",
|
| + reinterpret_cast<GLES2FunctionPointer>(glBindBufferBase),
|
| + },
|
| + {
|
| "glBindFramebuffer",
|
| reinterpret_cast<GLES2FunctionPointer>(glBindFramebuffer),
|
| },
|
| @@ -1679,6 +1715,10 @@ extern const NameToFunc g_gles2_function_table[] = {
|
| reinterpret_cast<GLES2FunctionPointer>(glTexImage2D),
|
| },
|
| {
|
| + "glTexImage3D",
|
| + reinterpret_cast<GLES2FunctionPointer>(glTexImage3D),
|
| + },
|
| + {
|
| "glTexParameterf",
|
| reinterpret_cast<GLES2FunctionPointer>(glTexParameterf),
|
| },
|
| @@ -1703,6 +1743,10 @@ extern const NameToFunc g_gles2_function_table[] = {
|
| reinterpret_cast<GLES2FunctionPointer>(glTexSubImage2D),
|
| },
|
| {
|
| + "glTexSubImage3D",
|
| + reinterpret_cast<GLES2FunctionPointer>(glTexSubImage3D),
|
| + },
|
| + {
|
| "glUniform1f",
|
| reinterpret_cast<GLES2FunctionPointer>(glUniform1f),
|
| },
|
|
|