diff options
author | Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> | 2020-05-11 18:26:30 +0200 |
---|---|---|
committer | Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> | 2020-11-02 10:15:47 +0100 |
commit | bd182777c8f2c4468568901ce92b1796674eb87d (patch) | |
tree | 4e060203d54c8a0f8419859417568cf5c1c54bbd /include | |
parent | 9698a222a6c26e998d9efe6d940e11772aa8610c (diff) |
egl: implement EGL_EXT_protected_surface support
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5096>
Diffstat (limited to 'include')
-rw-r--r-- | include/GL/internal/dri_interface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h index 76c50ad334f..94406dcb97b 100644 --- a/include/GL/internal/dri_interface.h +++ b/include/GL/internal/dri_interface.h @@ -1367,6 +1367,7 @@ struct __DRIdri2ExtensionRec { * could be read after a flush." */ #define __DRI_IMAGE_USE_BACKBUFFER 0x0010 +#define __DRI_IMAGE_USE_PROTECTED 0x0020 #define __DRI_IMAGE_TRANSFER_READ 0x1 @@ -1932,6 +1933,8 @@ typedef struct __DRIDriverVtableExtensionRec { #define __DRI2_RENDERER_HAS_CONTEXT_PRIORITY_MEDIUM (1 << 1) #define __DRI2_RENDERER_HAS_CONTEXT_PRIORITY_HIGH (1 << 2) +#define __DRI2_RENDERER_HAS_PROTECTED_CONTENT 0x000e + typedef struct __DRI2rendererQueryExtensionRec __DRI2rendererQueryExtension; struct __DRI2rendererQueryExtensionRec { __DRIextension base; |