[Mesa-dev] [PATCH v3 0/4] Add support for EXT_texture_sRGB_R8 to core and gallium

Gert Wollny gw.fossdev at gmail.com
Thu Nov 1 11:59:23 UTC 2018


From: Gert Wollny <gert.wollny at collabora.com>

Dear all, 

This is an update to the series, changes applied as suggested by 
Ilia and Roland: 

v3: 
- Add GL_SR8_EXT enum to glheaders.h and don't include GLES2 headers
- reorder svga format table. 

v2: 
- split the Gallium-mesa/st patch in two according parts (Roland) 
- do away most of the SVGA changes and only keep the additional entry 
  in the format table to make the code compile (Ilia) 
- Don't provide a fallback format in mesa/st (Ilia)
- rework the logic when a GL_RED format should be accepted on GLES

Thanks for reviewing, 
Gert 

Gert Wollny (4):
  mesa/core: Add definitions and translations for EXT_texture_sRGB_R8
  Gallium: Add format PIPE_FORMAT_R8_SRGB
  mesa/st: Add support for EXT_texture_sRGB_R8
  r600: Add support for EXT_texture_sRGB_R8

 src/gallium/auxiliary/util/u_format.csv      |  1 +
 src/gallium/auxiliary/util/u_format.h        |  4 ++++
 src/gallium/auxiliary/util/u_format_tests.c  |  4 ++++
 src/gallium/drivers/r600/r600_state_common.c |  1 +
 src/gallium/drivers/svga/svga_format.c       |  1 +
 src/gallium/include/pipe/p_format.h          |  2 ++
 src/mesa/main/extensions_table.h             |  1 +
 src/mesa/main/formats.c                      |  2 ++
 src/mesa/main/formats.csv                    |  1 +
 src/mesa/main/formats.h                      |  1 +
 src/mesa/main/glformats.c                    | 17 ++++++++++++++---
 src/mesa/main/glheader.h                     |  3 +++
 src/mesa/main/mtypes.h                       |  1 +
 src/mesa/main/texformat.c                    |  3 +++
 src/mesa/state_tracker/st_extensions.c       |  4 ++++
 src/mesa/state_tracker/st_format.c           |  9 ++++++++-
 src/mesa/swrast/s_texfetch.c                 |  1 +
 src/mesa/swrast/s_texfetch_tmp.h             |  1 +
 18 files changed, 53 insertions(+), 4 deletions(-)

-- 
2.18.1



More information about the mesa-dev mailing list