[Mesa-dev] [RFC PATCH 0/8] Add and enable extension EXT_sRGB_write_control (reworked)

Gert Wollny gw.fossdev at gmail.com
Tue Nov 13 17:27:40 UTC 2018


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

Dear all, 

based on the feedback given by Ilia I've completely reworked the series to add
internal support for EXT_sRGB as a stepstone to implement EXT_sRGB_write_control
and expose GLES 3.0 properly.

Since the series has been reworked thoroughly, most of the original patches 
have completely changed so that carrying a history didn't make much sense for
most patches. 

I'd like to thank Ilia for all his commenst on the first series that helped me 
a lot to rework the series. 

Thanks for any commenst, 
Gert 


Gert Wollny (8):
  Gallium: Add new CAPS to indicate whether a driver can switch SRGB
    write
  virgl: Set sRGB write control CAP based on host capabilities
  mesa/main: Add flag for EXT_sRGB and use it parallel with
    EXT_framebuffer_sRGB
  mesa/main/version: Lower the requirements for GLES 3.0
  mesa/st: rework support for sRGB framebuffer attachements
  i965: Set flag for EXT_sRGB
  mesa/main: Remove now superfluos tests for both EXT_sRGB and
    EXT_framebuffer_sRGB
  mesa/main: Expose EXT_sRGB_write_control

 src/gallium/auxiliary/util/u_screen.c        |  3 ++
 src/gallium/docs/source/screen.rst           |  3 ++
 src/gallium/drivers/virgl/virgl_hw.h         |  1 +
 src/gallium/drivers/virgl/virgl_screen.c     |  2 ++
 src/gallium/include/pipe/p_defines.h         |  1 +
 src/mesa/drivers/dri/i965/intel_extensions.c |  1 +
 src/mesa/main/enable.c                       |  4 ---
 src/mesa/main/extensions_table.h             |  1 +
 src/mesa/main/fbobject.c                     |  2 +-
 src/mesa/main/formatquery.c                  |  3 +-
 src/mesa/main/framebuffer.c                  |  3 +-
 src/mesa/main/get_hash_params.py             |  4 ++-
 src/mesa/main/mtypes.h                       |  1 +
 src/mesa/main/teximage.c                     |  2 +-
 src/mesa/main/version.c                      |  4 +--
 src/mesa/state_tracker/st_cb_fbo.c           |  4 +--
 src/mesa/state_tracker/st_extensions.c       |  6 +++-
 src/mesa/state_tracker/st_format.c           |  2 +-
 src/mesa/state_tracker/st_manager.c          | 37 ++++++++++++--------
 19 files changed, 55 insertions(+), 29 deletions(-)

-- 
2.18.1



More information about the mesa-dev mailing list