Add a new 'all' parameter to _mesa_get_compressed_formats() to indicate whether
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 9 May 2006 13:51:17 +0000 (13:51 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 9 May 2006 13:51:17 +0000 (13:51 +0000)
commit008ed1df83735c72c2731c509a3665938d3c7209
treef08ae0c53abfa916f28f408d8dac17ab5b3725c5
parent5e4c39dc0e0fd6bc4324aa9030430822348aa3b4
Add a new 'all' parameter to _mesa_get_compressed_formats() to indicate whether
all formats or just those without restrictions/limitations should be returned.
We want all when validating the internalFormat parameter to
glCompressedTexImage2D but only want unrestricted formats when handling the
GL_COMPRESSED_TEXTURE_FORMATS query.
src/mesa/main/get.c
src/mesa/main/get_gen.py
src/mesa/main/texcompress.c
src/mesa/main/texcompress.h
src/mesa/main/teximage.c