mesa/src
Brian Paul 4df42890c5 st/mesa: don't choose DXT formats if we can't do DXT compression
If we call gl[Copy]TexImage2D() with a generic compression format
(e.g. intFormat=GL_COMPRESSED_RGBA) we can't choose a DXT format if
we don't have the external DXT compression library.

We weren't actually enforcing this before since the
pipe_screen::is_format_supported(DXT) query has no dependency on
the DXT compression library.

Now if we're given a generic compressed format and we can't do DXT
compression we'll fall back to a non-compressed format.

v2: use util_format_is_s3tc() function and add more comments about
the allow_dxt parameter.

Note: This is a candidate for the stable branches.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2013-02-04 07:58:21 -07:00
..
egl egl/dri2: Fix memory leak. 2013-02-01 22:50:34 -08:00
gallium r600g: Fix memory leak. 2013-02-01 22:52:22 -08:00
gbm Clean up .gitignore files 2013-01-10 22:01:31 +01:00
getopt
glsl glsl: Remove hash table from ir_set_program_inouts pass. 2013-02-03 13:38:16 -08:00
glx glx: Check that swap_buffers_reply is non-NULL before using it 2013-01-29 11:15:22 -08:00
gtest gtest: Build it only for 'make check'. 2013-01-13 12:38:44 +01:00
mapi glapi: Do not use backtrace on MinGW. 2013-01-31 23:23:12 -08:00
mesa st/mesa: don't choose DXT formats if we can't do DXT compression 2013-02-04 07:58:21 -07:00
Makefile.am automake: Convert src/Makefile to automake. 2012-06-11 09:28:00 -07:00
SConscript Remove libGLU 2012-08-31 10:58:15 -07:00