diff options
author | Ian Romanick <[email protected]> | 2011-08-30 16:45:50 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-09-29 10:40:39 -0700 |
commit | 677743f7d598a599281d420a60e45be9f6af584f (patch) | |
tree | 552eae38194c9cc9afbc2e2d4cc3032f2398d763 /src/mesa/drivers/dri | |
parent | 1da10443440800a6f5e4a4e6463737cce27706fd (diff) |
mesa: Remove ARB_multitexture extension enable flag
All drivers remaining in Mesa support this extension. This extension
is either required or optional features in desktop OpenGL, OpenGL ES
1.x, and OpenGL ES 2.x. The existing support is already partially
broken in Mesa (e.g., querying GL_CLIENT_ACTIVE_TEXTURE in OpenGL ES
2.x). This patch does not change the situation in any way.
This extension was previously not supported on i810, mga (G200), or
tdfx (Voodoo Banshee).
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_extensions.c | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_extensions_es.c | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nouveau_context.c | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_context.c | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_context.c | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/r600/r600_context.c | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_context.c | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/swrast/swrast.c | 1 |
8 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c b/src/mesa/drivers/dri/intel/intel_extensions.c index 104e0969a9a..ccef8ab4672 100644 --- a/src/mesa/drivers/dri/intel/intel_extensions.c +++ b/src/mesa/drivers/dri/intel/intel_extensions.c @@ -46,7 +46,6 @@ intelInitExtensions(struct gl_context *ctx) ctx->Extensions.ARB_framebuffer_object = true; ctx->Extensions.ARB_half_float_pixel = true; ctx->Extensions.ARB_map_buffer_range = true; - ctx->Extensions.ARB_multitexture = true; ctx->Extensions.ARB_point_sprite = true; ctx->Extensions.ARB_sampler_objects = true; ctx->Extensions.ARB_shader_objects = true; diff --git a/src/mesa/drivers/dri/intel/intel_extensions_es.c b/src/mesa/drivers/dri/intel/intel_extensions_es.c index bbc32203626..c4285292f46 100644 --- a/src/mesa/drivers/dri/intel/intel_extensions_es.c +++ b/src/mesa/drivers/dri/intel/intel_extensions_es.c @@ -81,7 +81,6 @@ static const char *es2_extensions[] = { /* Required by GLES2 */ "GL_ARB_fragment_program", "GL_ARB_fragment_shader", - "GL_ARB_multitexture", "GL_ARB_shader_objects", "GL_ARB_texture_cube_map", "GL_ARB_texture_mirrored_repeat", diff --git a/src/mesa/drivers/dri/nouveau/nouveau_context.c b/src/mesa/drivers/dri/nouveau/nouveau_context.c index 33c0df6a3ff..00d78bb99f2 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_context.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_context.c @@ -117,7 +117,6 @@ nouveau_context_init(struct gl_context *ctx, struct nouveau_screen *screen, nctx->hw.chan->user_private = nctx; /* Enable any supported extensions. */ - ctx->Extensions.ARB_multitexture = true; ctx->Extensions.ARB_texture_mirrored_repeat = true; ctx->Extensions.EXT_blend_color = true; ctx->Extensions.EXT_blend_minmax = true; diff --git a/src/mesa/drivers/dri/r200/r200_context.c b/src/mesa/drivers/dri/r200/r200_context.c index bc01c61c8c8..8b63fd2b175 100644 --- a/src/mesa/drivers/dri/r200/r200_context.c +++ b/src/mesa/drivers/dri/r200/r200_context.c @@ -355,7 +355,6 @@ GLboolean r200CreateContext( gl_api api, _math_matrix_set_identity( &rmesa->tmpmat ); ctx->Extensions.ARB_half_float_pixel = true; - ctx->Extensions.ARB_multitexture = true; ctx->Extensions.ARB_occlusion_query = true; ctx->Extensions.ARB_texture_border_clamp = true; ctx->Extensions.ARB_texture_env_combine = true; diff --git a/src/mesa/drivers/dri/r300/r300_context.c b/src/mesa/drivers/dri/r300/r300_context.c index d7a5da12004..079cfcfa772 100644 --- a/src/mesa/drivers/dri/r300/r300_context.c +++ b/src/mesa/drivers/dri/r300/r300_context.c @@ -365,7 +365,6 @@ static void r300InitGLExtensions(struct gl_context *ctx) ctx->Extensions.ARB_depth_texture = true; ctx->Extensions.ARB_fragment_program = true; - ctx->Extensions.ARB_multitexture = true; ctx->Extensions.ARB_shadow = true; ctx->Extensions.ARB_shadow_ambient = true; ctx->Extensions.ARB_texture_border_clamp = true; diff --git a/src/mesa/drivers/dri/r600/r600_context.c b/src/mesa/drivers/dri/r600/r600_context.c index 3e296efdb6d..464af5d4b4f 100644 --- a/src/mesa/drivers/dri/r600/r600_context.c +++ b/src/mesa/drivers/dri/r600/r600_context.c @@ -262,7 +262,6 @@ static void r600InitGLExtensions(struct gl_context *ctx) ctx->Extensions.ARB_fragment_program = true; ctx->Extensions.ARB_fragment_program_shadow = true; ctx->Extensions.ARB_occlusion_query = true; - ctx->Extensions.ARB_multitexture = true; ctx->Extensions.ARB_shadow = true; ctx->Extensions.ARB_shadow_ambient = true; ctx->Extensions.ARB_texture_border_clamp = true; diff --git a/src/mesa/drivers/dri/radeon/radeon_context.c b/src/mesa/drivers/dri/radeon/radeon_context.c index 0ebf8ba5c59..3eab18e6297 100644 --- a/src/mesa/drivers/dri/radeon/radeon_context.c +++ b/src/mesa/drivers/dri/radeon/radeon_context.c @@ -313,7 +313,6 @@ r100CreateContext( gl_api api, _math_matrix_set_identity( &rmesa->tmpmat[i] ); } - ctx->Extensions.ARB_multitexture = true; ctx->Extensions.ARB_texture_border_clamp = true; ctx->Extensions.ARB_texture_env_combine = true; ctx->Extensions.ARB_texture_env_crossbar = true; diff --git a/src/mesa/drivers/dri/swrast/swrast.c b/src/mesa/drivers/dri/swrast/swrast.c index 3d5ddc51c7f..89c1da5e9a4 100644 --- a/src/mesa/drivers/dri/swrast/swrast.c +++ b/src/mesa/drivers/dri/swrast/swrast.c @@ -590,7 +590,6 @@ static const char *es2_extensions[] = { /* Required by GLES2 */ "GL_ARB_fragment_program", "GL_ARB_fragment_shader", - "GL_ARB_multitexture", "GL_ARB_shader_objects", "GL_ARB_texture_cube_map", "GL_ARB_texture_mirrored_repeat", |