aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/nouveau
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-10-14 14:11:17 -0700
committerEric Anholt <[email protected]>2011-10-28 11:31:11 -0700
commitbd51e8e4f473dd4fb4f99ed7898d771c64caca2d (patch)
tree9cf1699028d22be26bbe972f67afce5708e4ca9f /src/mesa/drivers/dri/nouveau
parenteb135fe8c16388cd33b424ee3915ae52d20cb3ff (diff)
dri: Remove driver GenerateMipmap hooks.
Mesa sets up _mesa_meta_GenerateMipmap as the default hook, which does this check for fallback and call the fallback itself.
Diffstat (limited to 'src/mesa/drivers/dri/nouveau')
-rw-r--r--src/mesa/drivers/dri/nouveau/nouveau_texture.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_texture.c b/src/mesa/drivers/dri/nouveau/nouveau_texture.c
index 08ec03ee6c3..8dd2df47f7f 100644
--- a/src/mesa/drivers/dri/nouveau/nouveau_texture.c
+++ b/src/mesa/drivers/dri/nouveau/nouveau_texture.c
@@ -710,17 +710,6 @@ nouveau_texture_unmap(struct gl_context *ctx, struct gl_texture_object *t)
}
}
-static void
-nouveau_generate_mipmap(struct gl_context *ctx, GLenum target,
- struct gl_texture_object *t)
-{
- if (_mesa_meta_check_generate_mipmap_fallback(ctx, target, t)) {
- _mesa_generate_mipmap(ctx, target, t);
- } else {
- _mesa_meta_GenerateMipmap(ctx, target, t);
- }
-}
-
void
nouveau_texture_functions_init(struct dd_function_table *functions)
{
@@ -740,5 +729,4 @@ nouveau_texture_functions_init(struct dd_function_table *functions)
functions->UnmapTexture = nouveau_texture_unmap;
functions->MapTextureImage = nouveau_map_texture_image;
functions->UnmapTextureImage = nouveau_unmap_texture_image;
- functions->GenerateMipmap = nouveau_generate_mipmap;
}