diff --git a/doc/glxew.html b/doc/glxew.html index 08fa857..39a4a3e 100644 --- a/doc/glxew.html +++ b/doc/glxew.html @@ -124,58 +124,59 @@ THE POSSIBILITY OF SUCH DAMAGE. 19 EXT_fbconfig_packed_float 20 EXT_framebuffer_sRGB 21 EXT_import_context -22 EXT_scene_marker -23 EXT_stereo_tree -24 EXT_swap_control -25 EXT_swap_control_tear -26 EXT_texture_from_pixmap -27 EXT_visual_info -28 EXT_visual_rating +22 EXT_libglvnd +23 EXT_scene_marker +24 EXT_stereo_tree +25 EXT_swap_control +26 EXT_swap_control_tear +27 EXT_texture_from_pixmap +28 EXT_visual_info +29 EXT_visual_rating
-29 INTEL_swap_event +30 INTEL_swap_event
-30 MESA_agp_offset -31 MESA_copy_sub_buffer -32 MESA_pixmap_colormap -33 MESA_query_renderer -34 MESA_release_buffers -35 MESA_set_3dfx_mode -36 MESA_swap_control +31 MESA_agp_offset +32 MESA_copy_sub_buffer +33 MESA_pixmap_colormap +34 MESA_query_renderer +35 MESA_release_buffers +36 MESA_set_3dfx_mode +37 MESA_swap_control
-37 NV_copy_buffer -38 NV_copy_image -39 NV_delay_before_swap -40 NV_float_buffer -41 NV_multisample_coverage -42 NV_present_video -43 NV_swap_group -44 NV_vertex_array_range -45 NV_video_capture -46 NV_video_out +38 NV_copy_buffer +39 NV_copy_image +40 NV_delay_before_swap +41 NV_float_buffer +42 NV_multisample_coverage +43 NV_present_video +44 NV_swap_group +45 NV_vertex_array_range +46 NV_video_capture +47 NV_video_out
-47 OML_swap_method -48 OML_sync_control +48 OML_swap_method +49 OML_sync_control
-49 SGIS_blended_overlay -50 SGIS_color_range -51 SGIS_multisample -52 SGIS_shared_multisample +50 SGIS_blended_overlay +51 SGIS_color_range +52 SGIS_multisample +53 SGIS_shared_multisample
-53 SGIX_fbconfig -54 SGIX_hyperpipe -55 SGIX_pbuffer -56 SGIX_swap_barrier -57 SGIX_swap_group -58 SGIX_video_resize -59 SGIX_visual_select_group +54 SGIX_fbconfig +55 SGIX_hyperpipe +56 SGIX_pbuffer +57 SGIX_swap_barrier +58 SGIX_swap_group +59 SGIX_video_resize +60 SGIX_visual_select_group
-60 SGI_cushion -61 SGI_make_current_read -62 SGI_swap_control -63 SGI_video_sync +61 SGI_cushion +62 SGI_make_current_read +63 SGI_swap_control +64 SGI_video_sync
-64 SUN_get_transparent_index -65 SUN_video_resize +65 SUN_get_transparent_index +66 SUN_video_resize diff --git a/include/GL/glxew.h b/include/GL/glxew.h index cdb8bed..3704e57 100644 --- a/include/GL/glxew.h +++ b/include/GL/glxew.h @@ -670,6 +670,17 @@ typedef int ( * PFNGLXQUERYCONTEXTINFOEXTPROC) (Display* dpy, GLXContext context #endif /* GLX_EXT_import_context */ +/* ---------------------------- GLX_EXT_libglvnd --------------------------- */ + +#ifndef GLX_EXT_libglvnd +#define GLX_EXT_libglvnd 1 + +#define GLX_VENDOR_NAMES_EXT 0x20F6 + +#define GLXEW_EXT_libglvnd GLXEW_GET_VAR(__GLXEW_EXT_libglvnd) + +#endif /* GLX_EXT_libglvnd */ + /* -------------------------- GLX_EXT_scene_marker ------------------------- */ #ifndef GLX_EXT_scene_marker @@ -1679,6 +1690,7 @@ GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_create_context_es_profile; GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_fbconfig_packed_float; GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_framebuffer_sRGB; GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_import_context; +GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_libglvnd; GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_scene_marker; GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_stereo_tree; GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_swap_control; diff --git a/src/glew.c b/src/glew.c index fda8ab6..8eae7c2 100644 --- a/src/glew.c +++ b/src/glew.c @@ -16602,6 +16602,7 @@ GLboolean __GLXEW_EXT_create_context_es_profile = GL_FALSE; GLboolean __GLXEW_EXT_fbconfig_packed_float = GL_FALSE; GLboolean __GLXEW_EXT_framebuffer_sRGB = GL_FALSE; GLboolean __GLXEW_EXT_import_context = GL_FALSE; +GLboolean __GLXEW_EXT_libglvnd = GL_FALSE; GLboolean __GLXEW_EXT_scene_marker = GL_FALSE; GLboolean __GLXEW_EXT_stereo_tree = GL_FALSE; GLboolean __GLXEW_EXT_swap_control = GL_FALSE; @@ -17316,6 +17317,9 @@ GLenum glxewInit () GLXEW_EXT_import_context = _glewSearchExtension("GLX_EXT_import_context", extStart, extEnd); if (glewExperimental || GLXEW_EXT_import_context) GLXEW_EXT_import_context = !_glewInit_GLX_EXT_import_context(); #endif /* GLX_EXT_import_context */ +#ifdef GLX_EXT_libglvnd + GLXEW_EXT_libglvnd = _glewSearchExtension("GLX_EXT_libglvnd", extStart, extEnd); +#endif /* GLX_EXT_libglvnd */ #ifdef GLX_EXT_scene_marker GLXEW_EXT_scene_marker = _glewSearchExtension("GLX_EXT_scene_marker", extStart, extEnd); #endif /* GLX_EXT_scene_marker */ @@ -22406,6 +22410,13 @@ GLboolean glxewIsSupported (const char* name) continue; } #endif +#ifdef GLX_EXT_libglvnd + if (_glewStrSame3(&pos, &len, (const GLubyte*)"libglvnd", 8)) + { + ret = GLXEW_EXT_libglvnd; + continue; + } +#endif #ifdef GLX_EXT_scene_marker if (_glewStrSame3(&pos, &len, (const GLubyte*)"scene_marker", 12)) { diff --git a/src/glewinfo.c b/src/glewinfo.c index 6bc965a..c93473d 100644 --- a/src/glewinfo.c +++ b/src/glewinfo.c @@ -10062,6 +10062,15 @@ static void _glewInfo_GLX_EXT_import_context (void) #endif /* GLX_EXT_import_context */ +#ifdef GLX_EXT_libglvnd + +static void _glewInfo_GLX_EXT_libglvnd (void) +{ + glewPrintExt("GLX_EXT_libglvnd", GLXEW_EXT_libglvnd, glxewIsSupported("GLX_EXT_libglvnd"), glxewGetExtension("GLX_EXT_libglvnd")); +} + +#endif /* GLX_EXT_libglvnd */ + #ifdef GLX_EXT_scene_marker static void _glewInfo_GLX_EXT_scene_marker (void) @@ -12592,6 +12601,9 @@ static void glxewInfo () #ifdef GLX_EXT_import_context _glewInfo_GLX_EXT_import_context(); #endif /* GLX_EXT_import_context */ +#ifdef GLX_EXT_libglvnd + _glewInfo_GLX_EXT_libglvnd(); +#endif /* GLX_EXT_libglvnd */ #ifdef GLX_EXT_scene_marker _glewInfo_GLX_EXT_scene_marker(); #endif /* GLX_EXT_scene_marker */