[Mesa-dev] [PATCH v2 0/3] Add and enable extension EXT_sRGB_write_control

Gert Wollny gw.fossdev at gmail.com
Thu Oct 18 08:46:32 UTC 2018


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

This is the updated version of the patches following Ilia's pointers, but also 
correcting some additional parts. 

Changes: 

 - core: Correct the extension table to list the extension as GLES only
 - core: drop EXTRA_API_ES3, the requirements for get operations listed
      here get OR-ed. (both Ilia Mirkin)
 - gallium: always enable the extension when sRGB is supported (Ilia Mirkin).
 - gallium: Correct handling by moving extension initialization to the
     place where gallium/st actually takes care of this. This also
     fixes properly disabling the extension via MESA_EXTENSION_OVERRIDE
 - gallium: reinstate check for desktop GL and add check for the extension
     when creating the framebuffer
 - intel: Also text whether the extension is properly disabled by
     MESA_EXTENSION_OVERRIDE 

best, 
Gert

Gert Wollny (3):
  mesa/core: Add support for EXT_sRGB_write_control
  mesa/st: enable EXT_sRGB_write_control for drivers that support it
  intel/i965: Enable extension EXT_sRGB_write_control

 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/get.c                          |  5 +++++
 src/mesa/main/get_hash_params.py             |  1 +
 src/mesa/main/mtypes.h                       |  1 +
 src/mesa/state_tracker/st_extensions.c       |  6 ++++++
 src/mesa/state_tracker/st_manager.c          | 13 ++++++-------
 8 files changed, 23 insertions(+), 9 deletions(-)

-- 
2.18.1



More information about the mesa-dev mailing list