Re: [Mesa-dev] [PATCH 4/5] mesa: Add function for decoding ETC1 textures

2012-07-10 Thread Kenneth Graunke
On 07/09/2012 10:46 AM, Chad Versace wrote: > Add function _mesa_etc1_image_decode_to_abgr(). It is intended to be > used by glCompressedTexSubImage2D to translate ETC1 textures into ABGR. > > Signed-off-by: Chad Versace > --- > src/mesa/main/texcompress_etc.c | 82 > +++

[Mesa-dev] [PATCH 4/5] mesa: Add function for decoding ETC1 textures

2012-07-09 Thread Chad Versace
Add function _mesa_etc1_image_decode_to_abgr(). It is intended to be used by glCompressedTexSubImage2D to translate ETC1 textures into ABGR. Signed-off-by: Chad Versace --- src/mesa/main/texcompress_etc.c | 82 + src/mesa/main/texcompress_etc.h | 6 ++