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

Unified Diff: gpu/GLES2/gl2extchromium.h

Issue 11693007: Linux: use generated shim headers for system mesa. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move parts to gyp Created 7 years, 11 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 | « build/shim_headers.gypi ('k') | third_party/khronos/khronos.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « build/shim_headers.gypi ('k') | third_party/khronos/khronos.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698