diff options
author | Emma Anholt <emma@anholt.net> | 2022-11-29 12:32:29 -0800 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-12-05 19:26:41 +0000 |
commit | 895ec843d33e48e148cdc978f08dc42a55b08426 (patch) | |
tree | 8fcd92e0bcd57f1c4691d02f50fdd536de1c9371 /include | |
parent | 7ab8dd13b9eaa1d5620cc8432bd0efc70862f88f (diff) | |
download | mesa-895ec843d33e48e148cdc978f08dc42a55b08426.tar.gz |
egl: Collapse a bunch of renderer queries into pipe cap queries.
Now that we can access the pipe screen through the dri_screen, we can skip
some indirection.
Reviewed-by: Adam Jackson <ajax@redhat.com>
Acked-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20069>
Diffstat (limited to 'include')
-rw-r--r-- | include/GL/internal/dri_interface.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h index 4dafb5879ff..fa0f7432342 100644 --- a/include/GL/internal/dri_interface.h +++ b/include/GL/internal/dri_interface.h @@ -1926,26 +1926,14 @@ 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 -#define __DRI2_RENDERER_HAS_TEXTURE_3D 0x000b /* Whether there is an sRGB format support for every supported 32-bit UNORM * color format. */ #define __DRI2_RENDERER_HAS_FRAMEBUFFER_SRGB 0x000c -/* Bitmaks of supported/available context priorities - must match - * __EGL_CONTEXT_PRIORITY_LOW_BIT et al - */ -#define __DRI2_RENDERER_HAS_CONTEXT_PRIORITY 0x000d -#define __DRI2_RENDERER_HAS_CONTEXT_PRIORITY_LOW (1 << 0) -#define __DRI2_RENDERER_HAS_CONTEXT_PRIORITY_MEDIUM (1 << 1) -#define __DRI2_RENDERER_HAS_CONTEXT_PRIORITY_HIGH (1 << 2) - -#define __DRI2_RENDERER_HAS_PROTECTED_SURFACE 0x000e #define __DRI2_RENDERER_PREFER_BACK_BUFFER_REUSE 0x000f #define __DRI2_RENDERER_HAS_NO_ERROR_CONTEXT 0x0010 -#define __DRI2_RENDERER_HAS_PROTECTED_CONTEXT 0x0020 - typedef struct __DRI2rendererQueryExtensionRec __DRI2rendererQueryExtension; struct __DRI2rendererQueryExtensionRec { __DRIextension base; |