mesa: add plumbing for GL_ARB_texture_query_levels
authorChris Forbes <chrisf@ijw.co.nz>
Thu, 26 Sep 2013 07:09:21 +0000 (19:09 +1200)
committerChris Forbes <chrisf@ijw.co.nz>
Sat, 5 Oct 2013 06:16:32 +0000 (19:16 +1300)
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/main/extensions.c
src/mesa/main/mtypes.h

index c0f17c5fd0385045f9086430efb6beaaed5be18f..2507fdf34b87416c778cdfe73628634b54e455b8 100644 (file)
@@ -146,6 +146,7 @@ static const struct extension extension_table[] = {
    { "GL_ARB_texture_mirrored_repeat",             o(dummy_true),                              GLL,            2001 },
    { "GL_ARB_texture_multisample",                 o(ARB_texture_multisample),                 GL,             2009 },
    { "GL_ARB_texture_non_power_of_two",            o(ARB_texture_non_power_of_two),            GL,             2003 },
+   { "GL_ARB_texture_query_levels",                o(ARB_texture_query_levels),                GL,             2012 },
    { "GL_ARB_texture_query_lod",                   o(ARB_texture_query_lod),                   GL,             2009 },
    { "GL_ARB_texture_rectangle",                   o(NV_texture_rectangle),                    GL,             2004 },
    { "GL_ARB_texture_rgb10_a2ui",                  o(ARB_texture_rgb10_a2ui),                  GL,             2009 },
index 514f81048d11394f1979539330994565db04eff5..15893ecac8993202d6832605c5255647dd78741b 100644 (file)
@@ -3220,6 +3220,7 @@ struct gl_extensions
    GLboolean ARB_texture_gather;
    GLboolean ARB_texture_multisample;
    GLboolean ARB_texture_non_power_of_two;
+   GLboolean ARB_texture_query_levels;
    GLboolean ARB_texture_query_lod;
    GLboolean ARB_texture_rg;
    GLboolean ARB_texture_rgb10_a2ui;