diff options
author | Emma Anholt <emma@anholt.net> | 2022-11-30 15:43:59 -0800 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-12-09 05:32:18 +0000 |
commit | 5ff8edaa2a161da34c7efab36a7b9810dccc27ed (patch) | |
tree | dca61fd7ae23f5d711f09b2208d9c8349b6f8f5d /include | |
parent | eb2dcda50c19a874fc78d8bb7871d752dbd3b089 (diff) | |
download | mesa-5ff8edaa2a161da34c7efab36a7b9810dccc27ed.tar.gz mesa-5ff8edaa2a161da34c7efab36a7b9810dccc27ed.tar.bz2 mesa-5ff8edaa2a161da34c7efab36a7b9810dccc27ed.zip |
egl: Replace sRGB support check with a pscreen query.
This drops the remaining use of rendererQuery from EGL.
Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20171>
Diffstat (limited to 'include')
-rw-r--r-- | include/GL/internal/dri_interface.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h index 8c64c99562e..9598adc31dc 100644 --- a/include/GL/internal/dri_interface.h +++ b/include/GL/internal/dri_interface.h @@ -1926,10 +1926,6 @@ typedef struct __DRIconfigOptionsExtensionRec { #define __DRI2_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION 0x0008 #define __DRI2_RENDERER_OPENGL_ES_PROFILE_VERSION 0x0009 #define __DRI2_RENDERER_OPENGL_ES2_PROFILE_VERSION 0x000a -/* Whether there is an sRGB format support for every supported 32-bit UNORM - * color format. - */ -#define __DRI2_RENDERER_HAS_FRAMEBUFFER_SRGB 0x000c #define __DRI2_RENDERER_PREFER_BACK_BUFFER_REUSE 0x000f |