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 6aab61ecdf09aa8801aa7616f2c8dd7bbcc119cd..54dfc316b13577994fbf4a03f140980348c40ee4 100644 |
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h |
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h |
@@ -904,6 +904,11 @@ void GLES2DrawBuffersEXT(GLsizei count, const GLenum* bufs) { |
void GLES2DiscardBackbufferCHROMIUM() { |
gles2::GetGLContext()->DiscardBackbufferCHROMIUM(); |
} |
+void GLES2MatrixMode(GLenum mode) { gles2::GetGLContext()->MatrixMode(mode); } |
+void GLES2LoadMatrixf(const GLfloat* m) { |
+ gles2::GetGLContext()->LoadMatrixf(m); |
+} |
+void GLES2LoadIdentity() { gles2::GetGLContext()->LoadIdentity(); } |
namespace gles2 { |
@@ -1277,6 +1282,10 @@ extern const NameToFunc g_gles2_function_table[] = { |
reinterpret_cast<GLES2FunctionPointer>(glDrawBuffersEXT), }, |
{"glDiscardBackbufferCHROMIUM", |
reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM), }, |
+ {"glMatrixMode", reinterpret_cast<GLES2FunctionPointer>(glMatrixMode), }, |
+ {"glLoadMatrixf", reinterpret_cast<GLES2FunctionPointer>(glLoadMatrixf), }, |
+ {"glLoadIdentity", |
+ reinterpret_cast<GLES2FunctionPointer>(glLoadIdentity), }, |
{NULL, NULL, }, }; |
} // namespace gles2 |