mesa: Add function for decoding ETC1 textures
authorChad Versace <chad.versace@linux.intel.com>
Tue, 10 Jul 2012 23:34:27 +0000 (16:34 -0700)
committerChad Versace <chad.versace@linux.intel.com>
Mon, 16 Jul 2012 21:07:57 +0000 (14:07 -0700)
commit8ec721264c7ae0f73a520362963b2691bf098b9b
treed78d24ef98120e85bd4710392af4c280fe476bc0
parentd7458e401e97aea882309855cc72730aa3b39920
mesa: Add function for decoding ETC1 textures

Add function _mesa_etc1_unpack_rgba8888. It is intended to be used by
glCompressedTexSubImage2D to decode ETC1 textures into RGBA.

CC: Chia-I <olv@lunarg.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/main/texcompress_etc.c
src/mesa/main/texcompress_etc.h