[Mesa-dev] [PATCH 0/6] intel: Add support for remaining ETC2 texture formats
Anuj Phogat
anuj.phogat at gmail.com
Wed Oct 24 13:22:45 PDT 2012
This patch series (along with my earlier posted etc2 patches) can be
found at my 'etc2-v12' branch: https://github.com/aphogat/mesa
These patches add decompression for following etc2 textures:
GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2
GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2
I have also posted a patch on piglit mailing list to update the
oes_compressed_etc2_texture-miptree test case with new formats.
Piglit test passes for above listed formats.
Anuj Phogat (6):
mesa: Add a new texture format
GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2
mesa: Add decoding functions for
GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2
intel: Enable support for GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2
textures
mesa: Add a new texture format
GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2
mesa: Add decoding functions for
GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2
intel: Enable support for
GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 textures
src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 2 +
src/mesa/drivers/dri/intel/intel_mipmap_tree.c | 2 +
src/mesa/main/format_unpack.c | 18 ++
src/mesa/main/formats.c | 26 +++
src/mesa/main/formats.h | 2 +
src/mesa/main/glformats.c | 4 +
src/mesa/main/texcompress.c | 18 ++
src/mesa/main/texcompress_etc.c | 256 ++++++++++++++++++++--
src/mesa/main/texcompress_etc.h | 16 ++
src/mesa/main/texformat.c | 6 +
src/mesa/main/teximage.c | 2 +
src/mesa/main/texstore.c | 4 +
12 files changed, 335 insertions(+), 21 deletions(-)
--
1.7.7.6
More information about the mesa-dev
mailing list