Module: Mesa
Branch: master
Commit: 5e4bb063f03a066eb60225b544b81036ebf78638
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e4bb063f03a066eb60225b544b81036ebf78638

Author: Ian Romanick <[email protected]>
Date:   Fri Nov 30 12:42:59 2012 -0800

mesa: Add extension tracking bit for GL_ARB_internalformat_query

Though, I'm tempted to always expose this extension when
GL_ARB_framebuffer_object is exposed.  In that case, it would share the same
enable bit.

v2: Correctly sort extension names.  Suggested by Eric Anholt.

Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>

---

 src/mesa/main/extensions.c |    1 +
 src/mesa/main/mtypes.h     |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
index c3c73fc..23b4948 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -104,6 +104,7 @@ static const struct extension extension_table[] = {
    { "GL_ARB_half_float_pixel",                    o(ARB_half_float_pixel),    
                GL,             2003 },
    { "GL_ARB_half_float_vertex",                   o(ARB_half_float_vertex),   
                GL,             2008 },
    { "GL_ARB_instanced_arrays",                    o(ARB_instanced_arrays),    
                GL,             2008 },
+   { "GL_ARB_internalformat_query",                
o(ARB_internalformat_query),                GL,             2011 },
    { "GL_ARB_invalidate_subdata",                  o(dummy_true),              
                GL,             2012 },
    { "GL_ARB_map_buffer_alignment",                
o(ARB_map_buffer_alignment),                GL,             2011 },
    { "GL_ARB_map_buffer_range",                    o(ARB_map_buffer_range),    
                GL,             2008 },
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 8a3b2a4..d0c0e24 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -3031,6 +3031,7 @@ struct gl_extensions
    GLboolean ARB_half_float_pixel;
    GLboolean ARB_half_float_vertex;
    GLboolean ARB_instanced_arrays;
+   GLboolean ARB_internalformat_query;
    GLboolean ARB_map_buffer_alignment;
    GLboolean ARB_map_buffer_range;
    GLboolean ARB_occlusion_query;

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to