As you are about to introduce --enable-patented for floating point textures,
I thought the same functionality should be used for s3tc support.

This patch series does so by importing the code from libtxc_dxtn into mesa and
build it instead of the dlopened library.

For it do make any sence you need at least the configure.ac changes from Lucas
Stach's patch "put patented features under configure enable switch" [1].

Best Regards
Jon Severinsson

[1] http://lists.freedesktop.org/archives/mesa-dev/2011-March/005813.html


Jon Severinsson (4):
      mesa: import the txc_dxtn code from libtxc_dxtn into mesa
      mesa: build the just imported txc_dxtn code, but only when configured 
with --enable-patented
      mesa: use the just imported txc_dxtn code rather than dlopen libtxc_dxtn
      gallium/util: use the just imported txc_dxtn code rather than dlopen 
libtxc_dxtn

 src/gallium/auxiliary/util/u_format_s3tc.c |  174 ++-----
 src/gallium/auxiliary/util/u_format_s3tc.h |   22 -
 src/gallium/drivers/llvmpipe/Makefile      |    4 +-
 src/mesa/main/texcompress_s3tc.c           |  167 ++----
 src/mesa/main/txc_compress_dxtn.c          |  863 ++++++++++++++++++++++++++++
 src/mesa/main/txc_dxtn.h                   |   63 ++
 src/mesa/main/txc_fetch_dxtn.c             |  298 ++++++++++
 src/mesa/sources.mak                       |    2 +
 8 files changed, 1310 insertions(+), 283 deletions(-)
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to