[Mesa-dev] [PATCH 0/5] intel: Enable GL_OES_compressed_ETC1_RGB8_texture

Chad Versace chad.versace at linux.intel.com
Mon Jul 9 10:46:55 PDT 2012


This series enables it for all hardware. The implementation simply
decodes the ETC1 data into RGB at time of glTexImage, so no hardware support
is needed. This series lives on my etc1-v8 branch.

Tested against pending Piglit test OES_compressed_ETC1_RGB8_texture/miptree,
which lives on my Piglit etc1-v8 branch.

Chad Versace (5):
  mesa: Fold texcompress_etc1_tmp.h into texcompress_etc.c
  mesa: Remove unneeded extern qualifiers
  mesa: Document some etc1 functions
  mesa: Add function for decoding ETC1 textures
  intel: Enable GL_OES_compressed_ETC1_RGB8_texture

 src/mesa/drivers/dri/i965/brw_wm_surface_state.c |   5 +
 src/mesa/drivers/dri/intel/intel_extensions.c    |   1 +
 src/mesa/drivers/dri/intel/intel_mipmap_tree.c   |  71 +++++++-
 src/mesa/drivers/dri/intel/intel_mipmap_tree.h   |  15 ++
 src/mesa/main/texcompress_etc.c                  | 215 +++++++++++++++++++++--
 src/mesa/main/texcompress_etc.h                  |  10 +-
 src/mesa/main/texcompress_etc_tmp.h              | 136 --------------
 7 files changed, 302 insertions(+), 151 deletions(-)
 delete mode 100644 src/mesa/main/texcompress_etc_tmp.h

-- 
1.7.11.1



More information about the mesa-dev mailing list