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.
This commit is contained in:
Ian Romanick 2006-08-23 17:16:02 -07:00
parent 5d2caacff5
commit 0623d3643f

View File

@ -48,8 +48,11 @@
const char GLServerVersion[] = "1.2"; const char GLServerVersion[] = "1.2";
static const char GLServerExtensions[] = static const char GLServerExtensions[] =
"GL_ARB_depth_texture " "GL_ARB_depth_texture "
"GL_ARB_draw_buffers "
"GL_ARB_imaging " "GL_ARB_imaging "
"GL_ARB_multisample "
"GL_ARB_multitexture " "GL_ARB_multitexture "
"GL_ARB_occlusion_query "
"GL_ARB_point_parameters " "GL_ARB_point_parameters "
"GL_ARB_point_sprite " "GL_ARB_point_sprite "
"GL_ARB_shadow " "GL_ARB_shadow "
@ -61,9 +64,9 @@ static const char GLServerExtensions[] =
"GL_ARB_texture_env_crossbar " "GL_ARB_texture_env_crossbar "
"GL_ARB_texture_env_dot3 " "GL_ARB_texture_env_dot3 "
"GL_ARB_texture_mirrored_repeat " "GL_ARB_texture_mirrored_repeat "
"GL_ARB_texture_non_power_of_two "
"GL_ARB_transpose_matrix " "GL_ARB_transpose_matrix "
"GL_ARB_window_pos " "GL_ARB_window_pos "
"GL_ARB_texture_non_power_of_two "
"GL_EXT_abgr " "GL_EXT_abgr "
"GL_EXT_bgra " "GL_EXT_bgra "
"GL_EXT_blend_color " "GL_EXT_blend_color "
@ -75,8 +78,10 @@ static const char GLServerExtensions[] =
"GL_EXT_copy_texture " "GL_EXT_copy_texture "
"GL_EXT_draw_range_elements " "GL_EXT_draw_range_elements "
"GL_EXT_fog_coord " "GL_EXT_fog_coord "
"GL_EXT_framebuffe_object "
"GL_EXT_multi_draw_arrays " "GL_EXT_multi_draw_arrays "
"GL_EXT_packed_pixels " "GL_EXT_packed_pixels "
"GL_EXT_point_parameters "
"GL_EXT_polygon_offset " "GL_EXT_polygon_offset "
"GL_EXT_rescale_normal " "GL_EXT_rescale_normal "
"GL_EXT_secondary_color " "GL_EXT_secondary_color "
@ -93,29 +98,40 @@ static const char GLServerExtensions[] =
"GL_EXT_texture_env_dot3 " "GL_EXT_texture_env_dot3 "
"GL_EXT_texture_lod " "GL_EXT_texture_lod "
"GL_EXT_texture_lod_bias " "GL_EXT_texture_lod_bias "
"GL_EXT_texture_mirror_clamp "
"GL_EXT_texture_object " "GL_EXT_texture_object "
"GL_EXT_texture_rectangle " "GL_EXT_texture_rectangle "
"GL_EXT_vertex_array " "GL_EXT_vertex_array "
"GL_EXT_framebuffer_object "
"GL_APPLE_packed_pixels " "GL_APPLE_packed_pixels "
"GL_ATI_texture_mirror_once " "GL_ATI_draw_buffers "
"GL_ATI_texture_env_combine3 " "GL_ATI_texture_env_combine3 "
"GL_ATI_texture_mirror_once "
"GL_HP_occlusion_test " "GL_HP_occlusion_test "
"GL_IBM_texture_mirrored_repeat " "GL_IBM_texture_mirrored_repeat "
"GL_INGR_blend_func_separate "
"GL_MESA_pack_invert " "GL_MESA_pack_invert "
"GL_MESA_ycbcr_texture " "GL_MESA_ycbcr_texture "
"GL_NV_blend_square " "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_point_sprite "
"GL_NV_texgen_reflection " "GL_NV_texgen_reflection "
"GL_NV_texture_rectangle "
"GL_NV_texture_env_combine4 " "GL_NV_texture_env_combine4 "
"GL_NV_texture_expand_normal "
"GL_NV_texture_rectangle "
"GL_SGI_color_matrix "
"GL_SGIS_generate_mipmap " "GL_SGIS_generate_mipmap "
"GL_SGIS_multisample "
"GL_SGIS_point_parameters "
"GL_SGIS_texture_border_clamp " "GL_SGIS_texture_border_clamp "
"GL_SGIS_texture_edge_clamp " "GL_SGIS_texture_edge_clamp "
"GL_SGIS_texture_lod " "GL_SGIS_texture_lod "
"GL_SGIX_depth_texture " "GL_SGIX_depth_texture "
"GL_SGIX_shadow " "GL_SGIX_shadow "
"GL_SGIX_shadow_ambient " "GL_SGIX_shadow_ambient "
"GL_SUN_slice_accum "
; ;
/* /*