| 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 0158cf64ea64e82d80983719b084e86cd4b38dcf..503fff02065601a8ee43d1cf6e65fedfcf0e0fcf 100644
|
| --- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
|
| +++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
|
| @@ -181,6 +181,18 @@ void GLES2CopyTexSubImage2D(GLenum target,
|
| gles2::GetGLContext()->CopyTexSubImage2D(target, level, xoffset, yoffset, x,
|
| y, width, height);
|
| }
|
| +void GLES2CopyTexSubImage3D(GLenum target,
|
| + GLint level,
|
| + GLint xoffset,
|
| + GLint yoffset,
|
| + GLint zoffset,
|
| + GLint x,
|
| + GLint y,
|
| + GLsizei width,
|
| + GLsizei height) {
|
| + gles2::GetGLContext()->CopyTexSubImage3D(target, level, xoffset, yoffset,
|
| + zoffset, x, y, width, height);
|
| +}
|
| GLuint GLES2CreateProgram() {
|
| return gles2::GetGLContext()->CreateProgram();
|
| }
|
| @@ -664,6 +676,13 @@ void GLES2TexSubImage3D(GLenum target,
|
| width, height, depth, format, type,
|
| pixels);
|
| }
|
| +void GLES2TransformFeedbackVaryings(GLuint program,
|
| + GLsizei count,
|
| + const char* const* varyings,
|
| + GLenum buffermode) {
|
| + gles2::GetGLContext()->TransformFeedbackVaryings(program, count, varyings,
|
| + buffermode);
|
| +}
|
| void GLES2Uniform1f(GLint location, GLfloat x) {
|
| gles2::GetGLContext()->Uniform1f(location, x);
|
| }
|
| @@ -1364,6 +1383,10 @@ extern const NameToFunc g_gles2_function_table[] = {
|
| reinterpret_cast<GLES2FunctionPointer>(glCopyTexSubImage2D),
|
| },
|
| {
|
| + "glCopyTexSubImage3D",
|
| + reinterpret_cast<GLES2FunctionPointer>(glCopyTexSubImage3D),
|
| + },
|
| + {
|
| "glCreateProgram",
|
| reinterpret_cast<GLES2FunctionPointer>(glCreateProgram),
|
| },
|
| @@ -1821,6 +1844,10 @@ extern const NameToFunc g_gles2_function_table[] = {
|
| reinterpret_cast<GLES2FunctionPointer>(glTexSubImage3D),
|
| },
|
| {
|
| + "glTransformFeedbackVaryings",
|
| + reinterpret_cast<GLES2FunctionPointer>(glTransformFeedbackVaryings),
|
| + },
|
| + {
|
| "glUniform1f",
|
| reinterpret_cast<GLES2FunctionPointer>(glUniform1f),
|
| },
|
|
|