mesa: add support for GL_OES_compressed_ETC1_RGB8_texture
authorChia-I Wu <olv@lunarg.com>
Mon, 28 Nov 2011 08:57:02 +0000 (16:57 +0800)
committerChia-I Wu <olv@lunarg.com>
Fri, 2 Dec 2011 00:43:46 +0000 (08:43 +0800)
commitd4a38e86d4b4d66cca20ee63222f940cb73fa709
tree059bf69787804996049163ffa2ee809560bfc04a
parent51f4d2725417088c75d512b69a31a26ae5cb3ef2
mesa: add support for GL_OES_compressed_ETC1_RGB8_texture

Add support for GL_OES_compressed_ETC1_RGB8_texture to core mesa.  There is no
driver support yet.

Unlike desktop GL compressed texture formats, GLES compressed texture formats
usually can only be used with glCompressedTexImage2D.  All other gl*Tex*Image*
functions are updated to check for that.

Reviewed-by: Brian Paul <brianp@vmware.com>
13 files changed:
src/mesa/main/APIspec.xml
src/mesa/main/extensions.c
src/mesa/main/format_unpack.c
src/mesa/main/formats.c
src/mesa/main/formats.h
src/mesa/main/glheader.h
src/mesa/main/image.c
src/mesa/main/mtypes.h
src/mesa/main/texcompress.c
src/mesa/main/texformat.c
src/mesa/main/teximage.c
src/mesa/main/texstore.c
src/mesa/swrast/s_texfetch.c