On Fri, Oct 19, 2012 at 4:28 PM, Anuj Phogat <anuj.pho...@gmail.com> wrote: > This series lives on my etc2-v9 branch (https://github.com/aphogat/mesa). > > This series enables 8 out of 10 ETC2 texture formats for all Intel > hardware by simply decoding the ETC2 data into RGBX data at the time > of glCompressedTexImage2D. These patches can be tested using piglit > test case i have added for etc2 textures. Patches for the test are under > review on piglit mailing list. > > I'll soon post the patches for remaining 2 etc2 formats as well. > > Anuj Phogat (27): > mesa: Use MESA_GL_VERSION_OVERRIDE in compute_version_es2() > mesa: Add a new texture format GL_COMPRESSED_RGB8_ETC2 > mesa: Add decoding functions for GL_COMPRESSED_RGB8_ETC2 > intel: Enable the support for GL_COMPRESSED_RGB8_ETC2 textures > mesa: Add necessary support to decode multiple ETC2 texture formats > intel: Add necessary support to decode multiple ETC2 texture formats > mesa: Add a new texture format GL_COMPRESSED_SRGB8_ETC2 > mesa: Add decoding functions for GL_COMPRESSED_SRGB8_ETC2 > intel: Enable support for GL_COMPRESSED_SRGB_ETC2 textures > mesa: Add a new texture format GL_COMPRESSED_RGBA8_ETC2_EAC > mesa: Add decoding functions for GL_COMPRESSED_RGBA8_ETC2_EAC > intel: Enable support for GL_COMPRESSED_RGBA8_ETC2_EAC textures > mesa: Add a new texture format GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC > mesa: Add decoding functions for GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC > intel: Enable support for GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC > textures > Add a new texture format GL_COMPRESSED_R11_EAC > mesa: Add decoding functions for GL_COMPRESSED_R11_EAC > intel: Enable support for GL_COMPRESSED_R11_EAC textures > Add a new texture format GL_COMPRESSED_RG11_EAC > mesa: Add decoding functions for GL_COMPRESSED_RG11_EAC > intel: Enable support for GL_COMPRESSED_RG11_EAC textures > Add a new texture format GL_COMPRESSED_SIGNED_R11_EAC > mesa: Add decoding functions for GL_COMPRESSED_SIGNED_R11_EAC > intel: Enable support for GL_COMPRESSED_SIGNED_R11_EAC textures > mesa: Add a new texture format GL_COMPRESSED_SIGNED_RG11_EAC > mesa: Add decoding functions for GL_COMPRESSED_SIGNED_RG11_EAC > intel: Enable support for GL_COMPRESSED_SIGNED_RG11_EAC textures > > src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 12 + > src/mesa/drivers/dri/intel/intel_mipmap_tree.c | 96 ++- > src/mesa/drivers/dri/intel/intel_mipmap_tree.h | 21 +- > src/mesa/main/format_unpack.c | 57 +- > src/mesa/main/formats.c | 109 ++ > src/mesa/main/formats.h | 8 + > src/mesa/main/glformats.c | 17 + > src/mesa/main/texcompress.c | 83 ++ > src/mesa/main/texcompress_etc.c | 1159 > +++++++++++++++++++++- > src/mesa/main/texcompress_etc.h | 63 ++- > src/mesa/main/texformat.c | 31 + > src/mesa/main/teximage.c | 19 + > src/mesa/main/texstore.c | 8 + > src/mesa/main/version.c | 2 + > 14 files changed, 1666 insertions(+), 19 deletions(-) > > -- > 1.7.7.6 >
I would love to see more review comments on my patch series for etc2 formats before I push it upstream. I know this is a big series but most of the patches are pretty much similar. I'm expecting to find a bug in my implementation for signed formats, as the decompressed images look little darker than expected. Both series posted by me now lives on my 'etc2-v12' branch: [PATCH 00/27] intel: Add ETC2 compressed textures support [PATCH 0/6] intel: Add support for remaining ETC2 texture formats Piglit test to verify etc2 implementation: [PATCH 1/2] etc2: Add test to verify texturing with etc2 miptree [PATCH 2/2] etc2: Add testing for signed-r11 and signed-rg11 formats [PATCH] etc2: Add testing for remaining formats Issues with etc2 support in swrast are now resolved and tested. You can find the fix in my 'etc2-v12.1' branch. Thanks Anuj _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev