mesa/main: Expose EXT_sRGB_write_control
authorGert Wollny <gert.wollny@collabora.com>
Tue, 13 Nov 2018 11:36:44 +0000 (12:36 +0100)
committerGert Wollny <gert.wollny@collabora.com>
Mon, 28 Jan 2019 11:18:40 +0000 (12:18 +0100)
commit212c0c630a849e4737e2808a993d708cbb2f18f7
treeec5ec5b8f01bcc0af5ea921d614604348a02b799
parent1013dfece1cffa38e9faf6a0fec7fd10711fcb58
mesa/main: Expose EXT_sRGB_write_control

Use EXT_framebuffer_sRGB to expose EXT_sRGB_write_control on GLES. Remove
the checks for desktion GL in the enable calls, since EXT_framebuffer_sRGB
now also indicates support for switching the linear-sRGB color
space conversion on GLES.

Thanks to Ilia Mirkin for all the helpful discussions that helped to rework
this series.

v2: Fix alphabetical listing of extensions (Tapani Pälli)

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com> (v1)
src/mesa/main/enable.c
src/mesa/main/extensions_table.h
src/mesa/main/get_hash_params.py