Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Unified Diff: gpu/command_buffer/client/gles2_c_lib_autogen.h

Issue 169603002: Add initial support for NV_path_rendering extension to gpu command buffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698