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

Author: Ian Romanick <[email protected]>
Date:   Fri Jan 18 15:41:50 2013 -0800

mesa: Add extension bit tracking for GL_OES_depth_texture_cube_map

Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Kenneth Graunke <[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 23b4948..9c7b700 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -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 },
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index e696d30..cba1e16 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -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;

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

Reply via email to