OSDN Git Service

Removed redundant extension strings. The Mesa extension mechanism
authorIan Romanick <idr@us.ibm.com>
Mon, 12 Jan 2004 22:50:01 +0000 (22:50 +0000)
committerIan Romanick <idr@us.ibm.com>
Mon, 12 Jan 2004 22:50:01 +0000 (22:50 +0000)
automatically enables "duplicate" extensions without the driver
explicitly enabling them.

src/mesa/drivers/dri/i810/i810context.c
src/mesa/drivers/dri/i830/i830_context.c
src/mesa/drivers/dri/mga/mga_xmesa.c
src/mesa/drivers/dri/r128/r128_context.c
src/mesa/drivers/dri/r200/r200_context.c
src/mesa/drivers/dri/radeon/radeon_context.c

index f8fcc1f..9ca262b 100644 (file)
@@ -101,12 +101,9 @@ static const char * const card_extensions[] =
    "GL_ARB_texture_mirrored_repeat",
    "GL_EXT_stencil_wrap",
    "GL_EXT_texture_edge_clamp",
-   "GL_EXT_texture_env_add",
    "GL_EXT_texture_lod_bias",
-   "GL_IBM_texture_mirrored_repeat",
    "GL_MESA_ycbcr_texture",
    "GL_SGIS_generate_mipmap",
-   "GL_SGIS_texture_edge_clamp",
    NULL
 };
 
index 376a260..7b68d65 100644 (file)
@@ -155,18 +155,13 @@ static const char * const card_extensions[] =
    "GL_EXT_secondary_color",
    "GL_EXT_stencil_wrap",
    "GL_EXT_texture_edge_clamp",
-   "GL_EXT_texture_env_add",
    "GL_EXT_texture_env_combine",
    "GL_EXT_texture_env_dot3",
    "GL_EXT_texture_filter_anisotropic",
    "GL_EXT_texture_lod_bias",
-   "GL_IBM_texture_mirrored_repeat",
-   "GL_INGR_blend_func_separate",
+   "GL_EXT_texture_rectangle",
    "GL_MESA_ycbcr_texture",
-   "GL_NV_texture_rectangle",
    "GL_SGIS_generate_mipmap",
-   "GL_SGIS_texture_border_clamp",
-   "GL_SGIS_texture_edge_clamp",
    NULL
 };
 
index 7f199ea..52145e6 100644 (file)
@@ -289,13 +289,11 @@ static const char * const g400_extensions[] =
 {
    "GL_ARB_multitexture",
    "GL_ARB_texture_env_add",
-   "GL_EXT_texture_env_add",
    "GL_ARB_texture_env_combine",
-   "GL_EXT_texture_env_combine",
    "GL_ARB_texture_env_crossbar",
-   "GL_ATI_texture_env_combine3",
+   "GL_EXT_texture_env_combine",
    "GL_EXT_texture_edge_clamp",
-   "GL_SGIS_texture_edge_clamp",
+   "GL_ATI_texture_env_combine3",
 #if defined (MESA_packed_depth_stencil)
    "GL_MESA_packed_depth_stencil",
 #endif
@@ -315,10 +313,10 @@ static const char * const card_extensions[] =
 #endif
    "GL_EXT_secondary_color",
    "GL_EXT_stencil_wrap",
+   "GL_EXT_texture_rectangle",
    "GL_MESA_ycbcr_texture",
    "GL_SGIS_generate_mipmap",
    "GL_SGIS_texture_lod",
-   "GL_NV_texture_rectangle",
    NULL
 };
 
index 73547aa..9c45318 100644 (file)
@@ -71,10 +71,7 @@ static const char * const card_extensions[] =
    "GL_ARB_texture_env_add",
    "GL_ARB_texture_mirrored_repeat",
    "GL_EXT_texture_edge_clamp",
-   "GL_EXT_texture_env_add",
-   "GL_IBM_texture_mirrored_repeat",
    "GL_SGIS_generate_mipmap",
-   "GL_SGIS_texture_edge_clamp",
    NULL
 };
 
index 59e32b2..a220e59 100644 (file)
@@ -132,21 +132,17 @@ static const char * const card_extensions[] =
     "GL_EXT_secondary_color",
     "GL_EXT_stencil_wrap",
     "GL_EXT_texture_edge_clamp",
-    "GL_EXT_texture_env_add",
     "GL_EXT_texture_env_combine",
     "GL_EXT_texture_env_dot3",
     "GL_EXT_texture_filter_anisotropic",
     "GL_EXT_texture_lod_bias",
+    "GL_EXT_texture_rectangle",
     "GL_ATI_texture_env_combine3",
     "GL_ATI_texture_mirror_once",
-    "GL_IBM_texture_mirrored_repeat",
     "GL_MESA_pack_invert",
     "GL_MESA_ycbcr_texture",
     "GL_NV_blend_square",
-    "GL_NV_texture_rectangle",
     "GL_SGIS_generate_mipmap",
-    "GL_SGIS_texture_border_clamp",
-    "GL_SGIS_texture_edge_clamp",
     NULL
 };
 
index 3a97215..e23b85f 100644 (file)
@@ -130,19 +130,15 @@ static const char * const card_extensions[] =
     "GL_EXT_blend_subtract",
     "GL_EXT_secondary_color",
     "GL_EXT_texture_edge_clamp",
-    "GL_EXT_texture_env_add",
     "GL_EXT_texture_env_combine",
     "GL_EXT_texture_env_dot3",
     "GL_EXT_texture_filter_anisotropic",
     "GL_EXT_texture_lod_bias",
     "GL_ATI_texture_env_combine3",
     "GL_ATI_texture_mirror_once",
-    "GL_IBM_texture_mirrored_repeat",
     "GL_MESA_ycbcr_texture",
     "GL_NV_blend_square",
     "GL_SGIS_generate_mipmap",
-    "GL_SGIS_texture_border_clamp",
-    "GL_SGIS_texture_edge_clamp",
     NULL
 };