dri2-gallium: Add occlusion query support at the state tracker level.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Thu, 12 Mar 2009 19:15:56 +0000 (12:15 -0700)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Mon, 16 Mar 2009 06:07:31 +0000 (23:07 -0700)
src/gallium/state_trackers/dri2/dri_extensions.c

index 9c7a27282b24938f5401750d9a4d4d16635a63ba..732d1e89b0c31ffadba8726f0106970894d2c828 100644 (file)
@@ -34,6 +34,7 @@
 #include "state_tracker/st_context.h"
 
 #define need_GL_ARB_multisample
+#define need_GL_ARB_occlusion_query
 #define need_GL_ARB_point_parameters
 #define need_GL_ARB_texture_compression
 #define need_GL_ARB_vertex_buffer_object
@@ -58,6 +59,7 @@
 const struct dri_extension card_extensions[] = {
    {"GL_ARB_multisample", GL_ARB_multisample_functions},
    {"GL_ARB_multitexture", NULL},
+   {"GL_ARB_occlusion_query", GL_ARB_occlusion_query_functions},
    {"GL_ARB_point_parameters", GL_ARB_point_parameters_functions},
    {"GL_ARB_texture_border_clamp", NULL},
    {"GL_ARB_texture_compression", GL_ARB_texture_compression_functions},