diff options
Diffstat (limited to 'include/GL/internal/dri_interface.h')
-rw-r--r-- | include/GL/internal/dri_interface.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h index 1893d4c4a5e..a8f5af145df 100644 --- a/include/GL/internal/dri_interface.h +++ b/include/GL/internal/dri_interface.h @@ -1050,6 +1050,12 @@ struct __DRIdri2LoaderExtensionRec { #define __DRI_CTX_FLAG_ROBUST_BUFFER_ACCESS 0x00000004 /** + * \requires __DRI2_NO_ERROR. + * + */ +#define __DRI_CTX_FLAG_NO_ERROR 0x00000008 + +/** * \name Context reset strategies. */ /*@{*/ @@ -1612,6 +1618,19 @@ struct __DRIrobustnessExtensionRec { }; /** + * No-error context driver extension. + * + * Existence of this extension means the driver can accept the + * __DRI_CTX_FLAG_NO_ERROR flag. + */ +#define __DRI2_NO_ERROR "DRI_NoError" +#define __DRI2_NO_ERROR_VERSION 1 + +typedef struct __DRInoErrorExtensionRec { + __DRIextension base; +} __DRInoErrorExtension; + +/** * DRI config options extension. * * This extension provides the XML string containing driver options for use by |