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

Unified Diff: gpu/GLES2/gl2extchromium.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/GLES2/gl2extchromium.h
diff --git a/gpu/GLES2/gl2extchromium.h b/gpu/GLES2/gl2extchromium.h
index 0eb89ce84b294d649cd77e4c8e0b7d4f581b6ab7..e95158d43f4a7dea6cea39d309145eedb18e6d9e 100644
--- a/gpu/GLES2/gl2extchromium.h
+++ b/gpu/GLES2/gl2extchromium.h
@@ -636,6 +636,21 @@ typedef void (GL_APIENTRYP PFNGLWAITSYNCPOINTCHROMIUMPROC) (GLuint sync_point);
#endif
#endif /* GL_CHROMIUM_color_buffer_float_rgb */
+#ifndef GL_CHROMIUM_NV_path_rendering
+#define GL_CHROMIUM_NV_path_rendering 1
+
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glMatrixMode(GLenum mode);
+GL_APICALL void GL_APIENTRY glLoadMatrixf(const GLfloat* m);
+GL_APICALL void GL_APIENTRY glLoadIdentity();
+#endif
+
+typedef void (GL_APIENTRYP PFNGLMATRIXMODEPROC) (GLenum mode);
+typedef void (GL_APIENTRYP PFNGLLOADMATRIXFPROC) (const GLfloat* m);
+typedef void (GL_APIENTRYP PFNGLLOADIDENTITYPROC) ();
+
+#endif /* GL_CHROMIUM_NV_path_rendering */
+
#ifdef __cplusplus
}
#endif

Powered by Google App Engine
This is Rietveld 408576698