st/dri: add support for create_context_robustness GLX and EGL extensions

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Marek Olšák
2015-04-29 17:52:02 +02:00
parent a0ad185803
commit f1c42475a5
4 changed files with 43 additions and 9 deletions

View File

@@ -89,6 +89,7 @@ enum st_api_feature
#define ST_CONTEXT_FLAG_DEBUG (1 << 0)
#define ST_CONTEXT_FLAG_FORWARD_COMPATIBLE (1 << 1)
#define ST_CONTEXT_FLAG_ROBUST_ACCESS (1 << 2)
#define ST_CONTEXT_FLAG_RESET_NOTIFICATION_ENABLED (1 << 3)
/**
* Reasons that context creation might fail.