Index: gpu/GLES2/gl2extchromium.h |
diff --git a/gpu/GLES2/gl2extchromium.h b/gpu/GLES2/gl2extchromium.h |
index 7ea2e2856865ac592a80dfb7432771d126d8939c..4d6991322342394053ec72f8b00f14043e2a9292 100644 |
--- a/gpu/GLES2/gl2extchromium.h |
+++ b/gpu/GLES2/gl2extchromium.h |
@@ -276,6 +276,34 @@ typedef void (GL_APIENTRYP PFNGLBINDUNIFORMLOCATIONCHROMIUMPROC) ( |
#endif |
#endif /* GL_CHROMIUM_texture_compression_dxt3 */ |
+/* GL_ANGLE_instanced_arrays */ |
greggman
2013/01/10 21:21:02
I don't understand this change. Why are we editing
Paweł Hajdan Jr.
2013/01/10 21:52:03
System headers are buggy and do not contain "#defi
|
+#ifndef GL_ANGLE_instanced_arrays |
+#define GL_ANGLE_instanced_arrays 1 |
+#ifdef GL_GLEXT_PROTOTYPES |
+GL_APICALL void GL_APIENTRY glDrawArraysInstancedANGLE( |
+ GLenum mode, GLint first, GLsizei count, GLsizei primcount); |
+#endif |
+typedef void ( |
+ GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) ( |
+ GLenum mode, GLint first, GLsizei count, GLsizei primcount); |
+#ifdef GL_GLEXT_PROTOTYPES |
+GL_APICALL void GL_APIENTRY glDrawElementsInstancedANGLE( |
+ GLenum mode, GLsizei count, GLenum type, const void* indices, |
+ GLsizei primcount); |
+#endif |
+typedef void ( |
+ GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDANGLEPROC) ( |
+ GLenum mode, GLsizei count, GLenum type, const void* indices, |
+ GLsizei primcount); |
+#ifdef GL_GLEXT_PROTOTYPES |
+GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE( |
+ GLuint index, GLuint divisor); |
+#endif |
+typedef void ( |
+ GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLEPROC) ( |
+ GLuint index, GLuint divisor); |
+#endif /* GL_ANGLE_instanced_arrays */ |
+ |
/* GL_CHROMIUM_texture_compression_dxt5 */ |
#ifndef GL_CHROMIUM_texture_compression_dxt5 |
#define GL_CHROMIUM_texture_compression_dxt5 1 |