From: Ian Romanick Date: Wed, 31 Aug 2011 19:18:37 +0000 (-0700) Subject: mesa: Remove EXT_abgr extension enable flag X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e0553f6d4b9ec524bffd94dc6f72efe4ea50a347;p=mesa.git 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 Reviewed-by: Kenneth Graunke --- diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 93dbff7c3a3..cf9469f7727 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 360acea897d..9b53a60787a 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;