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

Gert Wollny gw.fossdev at gmail.com
Wed Oct 17 16:38:21 UTC 2018


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

Dear all, 

this series adds the basic plumbing for EXT_sRGB_write_control and enables it
for some drivers. 
Since this is the first time I add an extension I'd ask reviews this to take a
specific look at the first patch. 

One thing I left out therefore, is to enable this extension already for 
GLES 2.0 + EXT_sRGB, because I was not sure how to deal with the different 
dependencies in the tables in src/mesa/main/get_hash_params.py and 
src/mesa/main/extensions_table.h, so if someone can point me in the right 
direction there, I'll happily add this.  

many thanks for any review, 
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
  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                          |  6 ++++++
 src/mesa/main/get_hash_params.py             |  1 +
 src/mesa/main/mtypes.h                       |  1 +
 src/mesa/state_tracker/st_manager.c          | 17 +++++++++--------
 7 files changed, 21 insertions(+), 10 deletions(-)

-- 
2.18.1



More information about the mesa-dev mailing list