From 0623d3643fc28ebc514b2ca872c985d0cf0c753a Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Wed, 23 Aug 2006 17:16:02 -0700 Subject: [PATCH] Fix the sorting of the extension string. Add a few extensions that are supported by the new code. A few of these were actually supported before but weren't advertised. --- GL/glx/glxscreens.c | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/GL/glx/glxscreens.c b/GL/glx/glxscreens.c index e388fceb1..865fcba70 100644 --- a/GL/glx/glxscreens.c +++ b/GL/glx/glxscreens.c @@ -48,8 +48,11 @@ const char GLServerVersion[] = "1.2"; static const char GLServerExtensions[] = "GL_ARB_depth_texture " + "GL_ARB_draw_buffers " "GL_ARB_imaging " + "GL_ARB_multisample " "GL_ARB_multitexture " + "GL_ARB_occlusion_query " "GL_ARB_point_parameters " "GL_ARB_point_sprite " "GL_ARB_shadow " @@ -61,9 +64,9 @@ static const char GLServerExtensions[] = "GL_ARB_texture_env_crossbar " "GL_ARB_texture_env_dot3 " "GL_ARB_texture_mirrored_repeat " + "GL_ARB_texture_non_power_of_two " "GL_ARB_transpose_matrix " "GL_ARB_window_pos " - "GL_ARB_texture_non_power_of_two " "GL_EXT_abgr " "GL_EXT_bgra " "GL_EXT_blend_color " @@ -75,8 +78,10 @@ static const char GLServerExtensions[] = "GL_EXT_copy_texture " "GL_EXT_draw_range_elements " "GL_EXT_fog_coord " + "GL_EXT_framebuffe_object " "GL_EXT_multi_draw_arrays " "GL_EXT_packed_pixels " + "GL_EXT_point_parameters " "GL_EXT_polygon_offset " "GL_EXT_rescale_normal " "GL_EXT_secondary_color " @@ -93,29 +98,40 @@ static const char GLServerExtensions[] = "GL_EXT_texture_env_dot3 " "GL_EXT_texture_lod " "GL_EXT_texture_lod_bias " + "GL_EXT_texture_mirror_clamp " "GL_EXT_texture_object " "GL_EXT_texture_rectangle " "GL_EXT_vertex_array " - "GL_EXT_framebuffer_object " "GL_APPLE_packed_pixels " - "GL_ATI_texture_mirror_once " + "GL_ATI_draw_buffers " "GL_ATI_texture_env_combine3 " + "GL_ATI_texture_mirror_once " "GL_HP_occlusion_test " "GL_IBM_texture_mirrored_repeat " + "GL_INGR_blend_func_separate " "GL_MESA_pack_invert " "GL_MESA_ycbcr_texture " "GL_NV_blend_square " + "GL_NV_depth_clamp " + "GL_NV_fog_distance " + "GL_NV_light_max_exponent " + "GL_NV_multisample_filter_hint " "GL_NV_point_sprite " "GL_NV_texgen_reflection " - "GL_NV_texture_rectangle " "GL_NV_texture_env_combine4 " + "GL_NV_texture_expand_normal " + "GL_NV_texture_rectangle " + "GL_SGI_color_matrix " "GL_SGIS_generate_mipmap " + "GL_SGIS_multisample " + "GL_SGIS_point_parameters " "GL_SGIS_texture_border_clamp " "GL_SGIS_texture_edge_clamp " "GL_SGIS_texture_lod " "GL_SGIX_depth_texture " "GL_SGIX_shadow " "GL_SGIX_shadow_ambient " + "GL_SUN_slice_accum " ; /*