| 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 727d39a50a133c6092f93dafeaf24bb222cb0328..c1a1114fd8ae250c462fdcdca9bdf3e7ad636be8 100644
|
| --- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
|
| +++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
|
| @@ -378,6 +378,21 @@ void GLES2GetVertexAttribPointerv(GLuint index, GLenum pname, void** pointer) {
|
| void GLES2Hint(GLenum target, GLenum mode) {
|
| gles2::GetGLContext()->Hint(target, mode);
|
| }
|
| +void GLES2InvalidateFramebuffer(GLenum target,
|
| + GLsizei count,
|
| + const GLenum* attachments) {
|
| + gles2::GetGLContext()->InvalidateFramebuffer(target, count, attachments);
|
| +}
|
| +void GLES2InvalidateSubFramebuffer(GLenum target,
|
| + GLsizei count,
|
| + const GLenum* attachments,
|
| + GLint x,
|
| + GLint y,
|
| + GLsizei width,
|
| + GLsizei height) {
|
| + gles2::GetGLContext()->InvalidateSubFramebuffer(target, count, attachments, x,
|
| + y, width, height);
|
| +}
|
| GLboolean GLES2IsBuffer(GLuint buffer) {
|
| return gles2::GetGLContext()->IsBuffer(buffer);
|
| }
|
| @@ -411,6 +426,9 @@ void GLES2PixelStorei(GLenum pname, GLint param) {
|
| void GLES2PolygonOffset(GLfloat factor, GLfloat units) {
|
| gles2::GetGLContext()->PolygonOffset(factor, units);
|
| }
|
| +void GLES2ReadBuffer(GLenum src) {
|
| + gles2::GetGLContext()->ReadBuffer(src);
|
| +}
|
| void GLES2ReadPixels(GLint x,
|
| GLint y,
|
| GLsizei width,
|
| @@ -1415,6 +1433,14 @@ extern const NameToFunc g_gles2_function_table[] = {
|
| reinterpret_cast<GLES2FunctionPointer>(glHint),
|
| },
|
| {
|
| + "glInvalidateFramebuffer",
|
| + reinterpret_cast<GLES2FunctionPointer>(glInvalidateFramebuffer),
|
| + },
|
| + {
|
| + "glInvalidateSubFramebuffer",
|
| + reinterpret_cast<GLES2FunctionPointer>(glInvalidateSubFramebuffer),
|
| + },
|
| + {
|
| "glIsBuffer",
|
| reinterpret_cast<GLES2FunctionPointer>(glIsBuffer),
|
| },
|
| @@ -1459,6 +1485,10 @@ extern const NameToFunc g_gles2_function_table[] = {
|
| reinterpret_cast<GLES2FunctionPointer>(glPolygonOffset),
|
| },
|
| {
|
| + "glReadBuffer",
|
| + reinterpret_cast<GLES2FunctionPointer>(glReadBuffer),
|
| + },
|
| + {
|
| "glReadPixels",
|
| reinterpret_cast<GLES2FunctionPointer>(glReadPixels),
|
| },
|
|
|