Mesa (master): mesa:main: Add flag for EXT_sRGB to gl_extensions

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jan 28 11:20:58 UTC 2019


Module: Mesa
Branch: master
Commit: 7577c82fedfae42e3235581e8625611950ab7d4c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7577c82fedfae42e3235581e8625611950ab7d4c

Author: Gert Wollny <gert.wollny at collabora.com>
Date:   Wed Nov 14 10:58:57 2018 +0100

mesa:main: Add flag for EXT_sRGB to gl_extensions

EXT_sRGB is an (incomplete) GLES extension that provides support for sRGB
framebuffer attachments, hence it can be used to check for this support
as an alternative to EXT_framebuffer_sRGB that provies the same
functionality but also sRGB write control support.

However, since EXT_sRGB  is incomplete and superseted by GLES 3.0 it will
not be exposed as an extension.

Signed-off-by: Gert Wollny <gert.wollny at collabora.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>

---

 src/mesa/main/mtypes.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 0fdeba4732..794b7b8f73 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -4265,6 +4265,7 @@ struct gl_extensions
    GLboolean EXT_semaphore_fd;
    GLboolean EXT_shader_integer_mix;
    GLboolean EXT_shader_samples_identical;
+   GLboolean EXT_sRGB;
    GLboolean EXT_stencil_two_side;
    GLboolean EXT_texture_array;
    GLboolean EXT_texture_compression_latc;




More information about the mesa-commit mailing list