[Mesa-dev] [PATCH 11/20] glx: Add extension strings for GLX_ARB_create_context and GLX_ARB_create_context_profile
Ian Romanick
idr at freedesktop.org
Tue Dec 20 12:31:14 PST 2011
From: Ian Romanick <ian.d.romanick at intel.com>
Note that these extensions are not automatically enabled for screens
capable of direct-rendering.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
src/glx/glxextensions.c | 2 ++
src/glx/glxextensions.h | 4 +++-
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/glx/glxextensions.c b/src/glx/glxextensions.c
index 819fffc..df5ef5c 100644
--- a/src/glx/glxextensions.c
+++ b/src/glx/glxextensions.c
@@ -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 },
diff --git a/src/glx/glxextensions.h b/src/glx/glxextensions.h
index fe0e12f..f432fdb 100644
--- a/src/glx/glxextensions.h
+++ b/src/glx/glxextensions.h
@@ -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,
--
1.7.6.4
More information about the mesa-dev
mailing list