Mesa (master): mesa: Remove EXT_abgr extension enable flag

Ian Romanick idr at kemper.freedesktop.org
Mon Sep 26 19:14:21 UTC 2011


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

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Aug 31 12:18:37 2011 -0700

mesa: Remove EXT_abgr extension enable flag

All drivers remaining in Mesa support this extension.  This extension
is required in desktop OpenGL.  The existing support is already partially
broken in Mesa (e.g., using format=GL_ABGR for glTexImage2D in OpenGL ES 2.x).
This patch does not change the situation in any way.

Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

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

diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
index 93dbff7..cf9469f 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -146,7 +146,7 @@ static const struct extension extension_table[] = {
    { "GL_ARB_vertex_type_2_10_10_10_rev",          o(ARB_vertex_type_2_10_10_10_rev),          GL,             2009 },
    { "GL_ARB_window_pos",                          o(ARB_window_pos),                          GL,             2001 },
    /* EXT extensions */
-   { "GL_EXT_abgr",                                o(EXT_abgr),                                GL,             1995 },
+   { "GL_EXT_abgr",                                o(dummy_true),                              GL,             1995 },
    { "GL_EXT_bgra",                                o(dummy_true),                              GL,             1995 },
    { "GL_EXT_blend_color",                         o(EXT_blend_color),                         GL,             1995 },
    { "GL_EXT_blend_equation_separate",             o(EXT_blend_equation_separate),             GL,             2003 },
@@ -345,7 +345,6 @@ static const size_t default_extensions[] = {
    o(ARB_transpose_matrix),
    o(ARB_window_pos),
 
-   o(EXT_abgr),
    o(EXT_compiled_vertex_array),
    o(EXT_draw_range_elements),
    o(EXT_packed_pixels),
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 360acea..9b53a60 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2801,7 +2801,6 @@ struct gl_extensions
    GLboolean ARB_vertex_shader;
    GLboolean ARB_vertex_type_2_10_10_10_rev;
    GLboolean ARB_window_pos;
-   GLboolean EXT_abgr;
    GLboolean EXT_blend_color;
    GLboolean EXT_blend_equation_separate;
    GLboolean EXT_blend_func_separate;




More information about the mesa-commit mailing list