summaryrefslogtreecommitdiff
path: root/glxtokens.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2011-03-06 17:48:05 +1000
committerDave Airlie <airlied@redhat.com>2011-03-06 17:58:07 +1000
commit0cc3162cd29e63f915dc2b66c8dbd7a1a3dcdddc (patch)
tree4cb7b2e81462a323a4a1c767f48aa2580c79013b /glxtokens.h
parenta50bd646df530b4ce84a8aef3d40c74766dfb60c (diff)
downloadxorg-proto-glproto-0cc3162cd29e63f915dc2b66c8dbd7a1a3dcdddc.tar.gz
glproto: add GLX_ARB_context_create + GLX_ARB_context_create_profile
Add glproto support for these two extensions also add tokens for GLX_ARB_create_context_robustness
Diffstat (limited to 'glxtokens.h')
-rw-r--r--glxtokens.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/glxtokens.h b/glxtokens.h
index 9cb5652..1ed2fd3 100644
--- a/glxtokens.h
+++ b/glxtokens.h
@@ -282,6 +282,29 @@ extern "C" {
* GLX_EXT_framebuffer_SRGB
*/
#define GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2
+
+/*
+ * GLX_ARB_create_context
+ * GLX_ARB_create_context_profile
+ */
+#define GLX_CONTEXT_MAJOR_VERSION_ARB 0x2091
+#define GLX_CONTEXT_MINOR_VERSION_ARB 0x2092
+#define GLX_CONTEXT_FLAGS_ARB 0x2094
+#define GLX_CONTEXT_PROFILE_MASK_ARB 0x9126
+
+#define GLX_CONTEXT_DEBUG_BIT_ARB 0x0001
+#define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002
+
+#define GLX_CONTEXT_CORE_PROFILE_BIT_ARB 0x0001
+#define GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x0002
+
+/*
+ * GLX_ARB_create_context_robustness
+ */
+#define GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x0004
+#define GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
+#define GLX_NO_RESET_NOTIFICATION_ARB 0x8261
+#define GLX_LOST_CONTEXT_ON_RESET_ARB 0x8252
#ifdef __cplusplus
}
#endif