intel: Expose GL_ARB_ES2_compatibility.
authorEric Anholt <eric@anholt.net>
Fri, 14 Jan 2011 22:07:28 +0000 (14:07 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 14 Jan 2011 23:30:01 +0000 (15:30 -0800)
We don't have all of the features of this extension hooked up yet, but
the consensus yesterday was that since those features are things that
we should also be supporting in our ES2 implementation, claiming ES2
here too doesn't make anything worse and will make incremental
improvement through piglit easier.

src/mesa/drivers/dri/intel/intel_extensions.c

index 00c2f99f80bb8447688080891cd1ff2941ee4f8a..fab533f39fc6c61a9e1be6a08c22a6e86be72e13 100644 (file)
@@ -33,6 +33,7 @@
 #include "utils.h"
 
 
+#define need_GL_ARB_ES2_compatibility
 #define need_GL_ARB_draw_elements_base_vertex
 #define need_GL_ARB_framebuffer_object
 #define need_GL_ARB_map_buffer_range
@@ -80,6 +81,7 @@
  * i965_dri.
  */
 static const struct dri_extension card_extensions[] = {
+   { "GL_ARB_ES2_compatibility",          GL_ARB_ES2_compatibility_functions },
    { "GL_ARB_draw_elements_base_vertex",  GL_ARB_draw_elements_base_vertex_functions },
    { "GL_ARB_explicit_attrib_location",   NULL },
    { "GL_ARB_framebuffer_object",         GL_ARB_framebuffer_object_functions},