From 8e5efbe62bfd4a1f5c960fa9b061c9dffac2bbce Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Wed, 30 Nov 2011 10:53:59 -0800 Subject: [PATCH] glx: Remove some extensions that are not, and never will be, supported There are a few unsupported extensions (e.g., the ATI and NV float extensions) that are still in the list. There is some small chance that these may be supported some day. Signed-off-by: Ian Romanick Reviewed-by: Adam Jackson Reviewed-by: Eric Anholt --- src/glx/glxextensions.c | 11 ----------- src/glx/glxextensions.h | 9 --------- 2 files changed, 20 deletions(-) diff --git a/src/glx/glxextensions.c b/src/glx/glxextensions.c index 0d2888cfb6b..de1bce21c20 100644 --- a/src/glx/glxextensions.c +++ b/src/glx/glxextensions.c @@ -73,7 +73,6 @@ struct extension_info static const struct extension_info known_glx_extensions[] = { { GLX(ARB_get_proc_address), VER(1,4), Y, N, Y, N }, { GLX(ARB_multisample), VER(1,4), Y, Y, N, N }, - { GLX(ARB_render_texture), VER(0,0), N, N, N, N }, { GLX(ATI_pixel_format_float), VER(0,0), N, N, N, N }, #ifdef GLX_USE_APPLEGL { GLX(EXT_import_context), VER(0,0), N, N, N, N }, @@ -85,40 +84,30 @@ static const struct extension_info known_glx_extensions[] = { { GLX(EXT_visual_rating), VER(0,0), Y, Y, N, N }, { GLX(EXT_framebuffer_sRGB), VER(0,0), Y, Y, N, N }, #ifdef GLX_USE_APPLEGL - { GLX(MESA_agp_offset), VER(0,0), N, N, N, N }, /* Deprecated */ { GLX(MESA_copy_sub_buffer), VER(0,0), N, N, N, N }, #else - { GLX(MESA_agp_offset), VER(0,0), N, N, N, Y }, /* Deprecated */ { GLX(MESA_copy_sub_buffer), VER(0,0), Y, N, N, N }, #endif { GLX(MESA_multithread_makecurrent),VER(0,0), Y, N, Y, N }, - { GLX(MESA_pixmap_colormap), VER(0,0), N, N, N, N }, /* Deprecated */ - { GLX(MESA_release_buffers), VER(0,0), N, N, N, N }, /* Deprecated */ #ifdef GLX_USE_APPLEGL { GLX(MESA_swap_control), VER(0,0), N, N, N, N }, #else { GLX(MESA_swap_control), VER(0,0), Y, N, N, Y }, #endif { GLX(NV_float_buffer), VER(0,0), N, N, N, N }, - { GLX(NV_render_depth_texture), VER(0,0), N, N, N, N }, - { GLX(NV_render_texture_rectangle), VER(0,0), N, N, N, N }, #ifdef GLX_USE_APPLEGL - { GLX(NV_vertex_array_range), VER(0,0), N, N, N, N }, /* Deprecated */ { GLX(OML_swap_method), VER(0,0), N, N, N, N }, { GLX(OML_sync_control), VER(0,0), N, N, N, N }, { GLX(SGI_make_current_read), VER(1,3), N, N, N, N }, { GLX(SGI_swap_control), VER(0,0), N, N, N, N }, { GLX(SGI_video_sync), VER(0,0), N, N, N, N }, #else - { GLX(NV_vertex_array_range), VER(0,0), N, N, N, Y }, /* Deprecated */ { GLX(OML_swap_method), VER(0,0), Y, Y, N, N }, { GLX(OML_sync_control), VER(0,0), Y, N, N, Y }, { GLX(SGI_make_current_read), VER(1,3), Y, N, N, N }, { GLX(SGI_swap_control), VER(0,0), Y, N, N, N }, { GLX(SGI_video_sync), VER(0,0), Y, N, N, Y }, #endif - { GLX(SGIS_blended_overlay), VER(0,0), N, N, N, N }, - { GLX(SGIS_color_range), VER(0,0), N, N, N, N }, #ifdef GLX_USE_APPLEGL { GLX(SGIS_multisample), VER(0,0), N, N, N, N }, #else diff --git a/src/glx/glxextensions.h b/src/glx/glxextensions.h index 4fa7a61d338..fe0e12f1d7e 100644 --- a/src/glx/glxextensions.h +++ b/src/glx/glxextensions.h @@ -35,31 +35,22 @@ enum { ARB_get_proc_address_bit = 0, ARB_multisample_bit, - ARB_render_texture_bit, ATI_pixel_format_float_bit, EXT_visual_info_bit, EXT_visual_rating_bit, EXT_import_context_bit, EXT_framebuffer_sRGB_bit, - MESA_agp_offset_bit, MESA_copy_sub_buffer_bit, MESA_depth_float_bit, MESA_multithread_makecurrent_bit, - MESA_pixmap_colormap_bit, - MESA_release_buffers_bit, MESA_swap_control_bit, MESA_swap_frame_usage_bit, NV_float_buffer_bit, - NV_render_depth_texture_bit, - NV_render_texture_rectangle_bit, - NV_vertex_array_range_bit, OML_swap_method_bit, OML_sync_control_bit, SGI_make_current_read_bit, SGI_swap_control_bit, SGI_video_sync_bit, - SGIS_blended_overlay_bit, - SGIS_color_range_bit, SGIS_multisample_bit, SGIX_fbconfig_bit, SGIX_pbuffer_bit, -- 2.30.2