egl: Add EGL_EXT_protected_content support
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8092>
This commit is contained in:

committed by
Marge Bot

parent
b30f1327f9
commit
9de1263842
@@ -1090,7 +1090,14 @@ struct __DRIdri2LoaderExtensionRec {
|
||||
|
||||
#define __DRI_CTX_ATTRIB_NO_ERROR 6
|
||||
|
||||
#define __DRI_CTX_NUM_ATTRIBS 7
|
||||
/**
|
||||
* \requires __DRI2_RENDER_HAS_PROTECTED_CONTEXT.
|
||||
*
|
||||
*/
|
||||
#define __DRI_CTX_ATTRIB_PROTECTED 7
|
||||
|
||||
|
||||
#define __DRI_CTX_NUM_ATTRIBS 8
|
||||
|
||||
/**
|
||||
* \name Reasons that __DRIdri2Extension::createContextAttribs might fail
|
||||
@@ -1894,6 +1901,8 @@ typedef struct __DRIDriverVtableExtensionRec {
|
||||
#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;
|
||||
|
Reference in New Issue
Block a user