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

Chad Versace chad.versace at linux.intel.com
Tue Jul 10 16:55:05 PDT 2012


This series lives on my etc1-v9 branch.

This series enables GL_OES_compressed_ETC1_RGB8_texture for all Intel hardware
by simply decoding the ETC1 data into RGBX data at time of glTexImage. No
current Intel hardware supports ETC1.

v2: Don't break gallium.

Chad Versace (3):
  gallium/util, mesa: Refactor etc1 unpack function
  mesa: Add function for decoding ETC1 textures
  intel: Enable GL_OES_compressed_ETC1_RGB8_texture

 src/gallium/auxiliary/util/u_format_etc.c        | 25 +--------
 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   | 70 +++++++++++++++++++++++-
 src/mesa/drivers/dri/intel/intel_mipmap_tree.h   | 15 +++++
 src/mesa/main/texcompress_etc.c                  | 32 +++++++++++
 src/mesa/main/texcompress_etc.h                  |  8 +++
 src/mesa/main/texcompress_etc_tmp.h              | 34 ++++++++++++
 8 files changed, 165 insertions(+), 25 deletions(-)

-- 
1.7.11.1



More information about the mesa-dev mailing list