mesa: Add extension bit tracking for GL_OES_depth_texture_cube_map
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 18 Jan 2013 23:41:50 +0000 (15:41 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 21 Jan 2013 01:56:01 +0000 (20:56 -0500)
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/extensions.c
src/mesa/main/mtypes.h

index 23b494836db0123245ffa390e9792a04f218dd1d..9c7b700743c4b802b6a015051d389e9e93b95194 100644 (file)
@@ -243,6 +243,7 @@ static const struct extension extension_table[] = {
    { "GL_OES_depth24",                             o(EXT_framebuffer_object),                       ES1 | ES2, 2005 },
    { "GL_OES_depth32",                             o(dummy_false),                     DISABLE,                2005 },
    { "GL_OES_depth_texture",                       o(ARB_depth_texture),                                  ES2, 2006 },
+   { "GL_OES_depth_texture_cube_map",              o(OES_depth_texture_cube_map),                         ES2, 2012 },
    { "GL_OES_draw_texture",                        o(OES_draw_texture),                             ES1,       2004 },
    /*  FIXME: Mesa expects GL_OES_EGL_image to be available in OpenGL contexts. */
    { "GL_OES_EGL_image",                           o(OES_EGL_image),                           GL | ES1 | ES2, 2006 },
index e696d304e520684336c41d25b911cb8b75ce41a8..cba1e1681a5c366d84943b7c18603a4773a46fbc 100644 (file)
@@ -3133,6 +3133,7 @@ struct gl_extensions
    GLboolean S3_s3tc;
    GLboolean OES_EGL_image;
    GLboolean OES_draw_texture;
+   GLboolean OES_depth_texture_cube_map;
    GLboolean OES_EGL_image_external;
    GLboolean OES_compressed_ETC1_RGB8_texture;
    GLboolean extension_sentinel;