diff options
author | Ian Romanick <[email protected]> | 2011-08-31 11:43:39 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-09-26 12:14:14 -0700 |
commit | 29386d1f2d60e905d63f4c5f045ff3794b2ff99c (patch) | |
tree | 74c63a1767356ec4f9e6a3c4694720008c87d6fa /src/mesa/main/extensions.c | |
parent | 425284e88244e63a627b3fc4ae4514f064c71a83 (diff) |
mesa: Remove EXT_bgra and EXT_texture_format_BGRA8888 extension enable flags
All drivers remaining in Mesa support this extension. This extension
is either required or optional features in desktop OpenGL, OpenGL ES
1.x, and OpenGL ES 2.x.
EXT_texture_format_BGRA8888 is mostly a subset of EXT_bgra. The only
difference seems to be that EXT_texture_format_BGRA8888 allows GL_BGRA
as an internal format to glTexImage2D and friends.
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/extensions.c')
-rw-r--r-- | src/mesa/main/extensions.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 948027577a3..93dbff7c3a3 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -147,7 +147,7 @@ static const struct extension extension_table[] = { { "GL_ARB_window_pos", o(ARB_window_pos), GL, 2001 }, /* EXT extensions */ { "GL_EXT_abgr", o(EXT_abgr), GL, 1995 }, - { "GL_EXT_bgra", o(EXT_bgra), 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 }, { "GL_EXT_blend_func_separate", o(EXT_blend_func_separate), GL, 1999 }, @@ -195,7 +195,7 @@ static const struct extension extension_table[] = { { "GL_EXT_texture_env_combine", o(EXT_texture_env_combine), GL, 2000 }, { "GL_EXT_texture_env_dot3", o(EXT_texture_env_dot3), GL, 2000 }, { "GL_EXT_texture_filter_anisotropic", o(EXT_texture_filter_anisotropic), GL | ES1 | ES2, 1999 }, - { "GL_EXT_texture_format_BGRA8888", o(EXT_texture_format_BGRA8888), ES1 | ES2, 2009 }, + { "GL_EXT_texture_format_BGRA8888", o(dummy_true), ES1 | ES2, 2005 }, { "GL_EXT_texture_integer", o(EXT_texture_integer), GL, 2006 }, { "GL_EXT_texture_lod_bias", o(EXT_texture_lod_bias), GL | ES1, 1999 }, { "GL_EXT_texture_mirror_clamp", o(EXT_texture_mirror_clamp), GL, 2004 }, @@ -346,7 +346,6 @@ static const size_t default_extensions[] = { o(ARB_window_pos), o(EXT_abgr), - o(EXT_bgra), o(EXT_compiled_vertex_array), o(EXT_draw_range_elements), o(EXT_packed_pixels), |