glx: Add extension strings for GLX_ARB_create_context and GLX_ARB_create_context_profile
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 30 Nov 2011 19:12:56 +0000 (11:12 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 2 Jan 2012 20:41:45 +0000 (12:41 -0800)
Note that these extensions are not automatically enabled for screens
capable of direct-rendering.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
src/glx/glxextensions.c
src/glx/glxextensions.h

index 819fffc..df5ef5c 100644 (file)
@@ -71,6 +71,8 @@ struct extension_info
 
 /* *INDENT-OFF* */
 static const struct extension_info known_glx_extensions[] = {
+   { GLX(ARB_create_context),          VER(0,0), Y, N, N, N },
+   { GLX(ARB_create_context_profile),  VER(0,0), Y, N, N, N },
    { GLX(ARB_get_proc_address),        VER(1,4), Y, N, Y, N },
    { GLX(ARB_multisample),             VER(1,4), Y, Y, N, N },
    { GLX(ATI_pixel_format_float),      VER(0,0), N, N, N, N },
index fe0e12f..f432fdb 100644 (file)
@@ -33,7 +33,9 @@
 
 enum
 {
-   ARB_get_proc_address_bit = 0,
+   ARB_create_context_bit = 0,
+   ARB_create_context_profile_bit,
+   ARB_get_proc_address_bit,
    ARB_multisample_bit,
    ATI_pixel_format_float_bit,
    EXT_visual_info_bit,