mesa: Remove many extension enable flags
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 30 Aug 2011 23:29:52 +0000 (16:29 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 26 Sep 2011 19:14:13 +0000 (12:14 -0700)
commit34eae1c72a9b3a8eb0634cda52fca0208cd2f40d
treebec01a412492c9127c6c7983e6a5455d4da0e1c4
parent2bf30b1cccab7026bf3cb7825cc876eea0dcb19b
mesa: Remove many extension enable flags

The following extensions are always enabled, and drivers do not have
to option to disable them:

    GL_ARB_multisample
    GL_ARB_texture_compression
    GL_ARB_vertex_buffer_object / GL_OES_mapbuffer
    GL_EXT_copy_texture
    GL_EXT_multi_draw_arrays / GL_SUN_multi_draw_arrays
    GL_EXT_polygon_offset
    GL_EXT_subtexture
    GL_EXT_texture_edge_clamp / GL_SGIS_texture_edge_clamp
    GL_EXT_vertex_array
    GL_SGIS_generate_mipmap

This set was picked because the are all either required or optional
features in desktop OpenGL, OpenGL ES 1.x, and OpenGL ES 2.x.  The
existing support for some is already partially broken in Mesa (e.g.,
proxy texture targets in OpenGL ES).  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/drivers/dri/intel/intel_extensions_es.c
src/mesa/drivers/dri/swrast/swrast.c
src/mesa/main/extensions.c
src/mesa/main/get.c
src/mesa/main/mtypes.h
src/mesa/main/version.c
src/mesa/state_tracker/st_extensions.c