From 9fe06f88158e2866c5979955214c3af253cabf2a Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Tue, 9 Oct 2012 15:05:58 +0200 Subject: softpipe: remove unused functions Reviewed-by: Brian Paul --- src/gallium/drivers/softpipe/sp_tex_tile_cache.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/gallium/drivers/softpipe/sp_tex_tile_cache.c') diff --git a/src/gallium/drivers/softpipe/sp_tex_tile_cache.c b/src/gallium/drivers/softpipe/sp_tex_tile_cache.c index b2e92385bf1..7e1ac6c88fd 100644 --- a/src/gallium/drivers/softpipe/sp_tex_tile_cache.c +++ b/src/gallium/drivers/softpipe/sp_tex_tile_cache.c @@ -85,25 +85,6 @@ sp_destroy_tex_tile_cache(struct softpipe_tex_tile_cache *tc) } - - -void -sp_tex_tile_cache_map_transfers(struct softpipe_tex_tile_cache *tc) -{ - if (tc->tex_trans && !tc->tex_trans_map) - tc->tex_trans_map = tc->pipe->transfer_map(tc->pipe, tc->tex_trans); -} - - -void -sp_tex_tile_cache_unmap_transfers(struct softpipe_tex_tile_cache *tc) -{ - if (tc->tex_trans_map) { - tc->pipe->transfer_unmap(tc->pipe, tc->tex_trans); - tc->tex_trans_map = NULL; - } -} - /** * Invalidate all cached tiles for the cached texture. * Should be called when the texture is modified. -- cgit v1.2.3