mesa: Remove EXT_abgr extension enable flag
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 31 Aug 2011 19:18:37 +0000 (12:18 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 26 Sep 2011 19:14:14 +0000 (12:14 -0700)
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@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/extensions.c
src/mesa/main/mtypes.h

index 93dbff7c3a32783df1fe075ed5ac66558c9f3cb3..cf9469f7727cbed41f8e75b89d1c4864d615b72a 100644 (file)
@@ -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),
index 360acea897db86312ff8c9f502c84a3d10d62f1c..9b53a60787a3759af7c1fdcac50013f3fbddc72b 100644 (file)
@@ -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;