mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 05:00:09 +01:00
dri: Reformat DRI context attribute #defines
These were confusingly sorted before. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12456>
This commit is contained in:
parent
78c5cdf7e6
commit
5c71bf065f
1 changed files with 4 additions and 27 deletions
|
|
@ -1203,50 +1203,27 @@ struct __DRIdri2LoaderExtensionRec {
|
|||
|
||||
#define __DRI_CTX_ATTRIB_MAJOR_VERSION 0
|
||||
#define __DRI_CTX_ATTRIB_MINOR_VERSION 1
|
||||
|
||||
#define __DRI_CTX_ATTRIB_FLAGS 2
|
||||
|
||||
/**
|
||||
* \requires __DRI2_ROBUSTNESS.
|
||||
*/
|
||||
#define __DRI_CTX_ATTRIB_RESET_STRATEGY 3
|
||||
|
||||
#define __DRI_CTX_FLAG_DEBUG 0x00000001
|
||||
#define __DRI_CTX_FLAG_FORWARD_COMPATIBLE 0x00000002
|
||||
|
||||
/**
|
||||
* \requires __DRI2_ROBUSTNESS.
|
||||
*/
|
||||
#define __DRI_CTX_FLAG_ROBUST_BUFFER_ACCESS 0x00000004
|
||||
|
||||
/**
|
||||
* \requires __DRI2_NO_ERROR.
|
||||
*
|
||||
*/
|
||||
#define __DRI_CTX_FLAG_NO_ERROR 0x00000008
|
||||
|
||||
/**
|
||||
* \name Context reset strategies.
|
||||
*/
|
||||
/*@{*/
|
||||
#define __DRI_CTX_ATTRIB_RESET_STRATEGY 3
|
||||
#define __DRI_CTX_RESET_NO_NOTIFICATION 0
|
||||
#define __DRI_CTX_RESET_LOSE_CONTEXT 1
|
||||
/*@}*/
|
||||
|
||||
#define __DRI_CTX_ATTRIB_PRIORITY 4
|
||||
|
||||
#define __DRI_CTX_PRIORITY_LOW 0
|
||||
#define __DRI_CTX_PRIORITY_MEDIUM 1
|
||||
#define __DRI_CTX_PRIORITY_HIGH 2
|
||||
|
||||
/**
|
||||
* \name Context release behaviors.
|
||||
*/
|
||||
/*@{*/
|
||||
#define __DRI_CTX_ATTRIB_RELEASE_BEHAVIOR 5
|
||||
|
||||
#define __DRI_CTX_RELEASE_BEHAVIOR_NONE 0
|
||||
#define __DRI_CTX_RELEASE_BEHAVIOR_FLUSH 1
|
||||
/*@}*/
|
||||
|
||||
#define __DRI_CTX_NUM_ATTRIBS 6
|
||||
|
||||
/**
|
||||
* \name Reasons that __DRIdri2Extension::createContextAttribs might fail
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue