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

Unified Diff: ui/gl/gl_bindings_autogen_gl.h

Issue 1822643002: [Command buffer] Enable primitive restart for WebGL 2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix coding style and update webgl2_conformance_expectations.py Created 4 years, 9 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
« no previous file with comments | « ui/gl/gl_bindings_api_autogen_gl.h ('k') | ui/gl/gl_bindings_autogen_gl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_bindings_autogen_gl.h
diff --git a/ui/gl/gl_bindings_autogen_gl.h b/ui/gl/gl_bindings_autogen_gl.h
index 088f0a8c26eb504c7b4f455988dabe7dad02ea64..28393dca3f4abf7729f6e5ca8e43138cc63d72ed 100644
--- a/ui/gl/gl_bindings_autogen_gl.h
+++ b/ui/gl/gl_bindings_autogen_gl.h
@@ -637,6 +637,7 @@ typedef void(GL_BINDING_CALL* glPointParameteriProc)(GLenum pname, GLint param);
typedef void(GL_BINDING_CALL* glPolygonOffsetProc)(GLfloat factor,
GLfloat units);
typedef void(GL_BINDING_CALL* glPopGroupMarkerEXTProc)(void);
+typedef void(GL_BINDING_CALL* glPrimitiveRestartIndexProc)(GLuint index);
typedef void(GL_BINDING_CALL* glProgramBinaryProc)(GLuint program,
GLenum binaryFormat,
const GLvoid* binary,
@@ -1306,6 +1307,7 @@ struct ProcsGL {
glPointParameteriProc glPointParameteriFn;
glPolygonOffsetProc glPolygonOffsetFn;
glPopGroupMarkerEXTProc glPopGroupMarkerEXTFn;
+ glPrimitiveRestartIndexProc glPrimitiveRestartIndexFn;
glProgramBinaryProc glProgramBinaryFn;
glProgramParameteriProc glProgramParameteriFn;
glProgramPathFragmentInputGenNVProc glProgramPathFragmentInputGenNVFn;
@@ -1964,6 +1966,7 @@ class GL_EXPORT GLApi {
virtual void glPointParameteriFn(GLenum pname, GLint param) = 0;
virtual void glPolygonOffsetFn(GLfloat factor, GLfloat units) = 0;
virtual void glPopGroupMarkerEXTFn(void) = 0;
+ virtual void glPrimitiveRestartIndexFn(GLuint index) = 0;
virtual void glProgramBinaryFn(GLuint program,
GLenum binaryFormat,
const GLvoid* binary,
@@ -2601,6 +2604,8 @@ class GL_EXPORT GLApi {
#define glPointParameteri ::gfx::g_current_gl_context->glPointParameteriFn
#define glPolygonOffset ::gfx::g_current_gl_context->glPolygonOffsetFn
#define glPopGroupMarkerEXT ::gfx::g_current_gl_context->glPopGroupMarkerEXTFn
+#define glPrimitiveRestartIndex \
+ ::gfx::g_current_gl_context->glPrimitiveRestartIndexFn
#define glProgramBinary ::gfx::g_current_gl_context->glProgramBinaryFn
#define glProgramParameteri ::gfx::g_current_gl_context->glProgramParameteriFn
#define glProgramPathFragmentInputGenNV \
« no previous file with comments | « ui/gl/gl_bindings_api_autogen_gl.h ('k') | ui/gl/gl_bindings_autogen_gl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698