diff options
author | Marek Olšák <maraeo@gmail.com> | 2012-10-09 15:05:58 +0200 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2012-10-11 21:12:10 +0200 |
commit | 9fe06f88158e2866c5979955214c3af253cabf2a (patch) | |
tree | 2ba0ce488c6f0726cbd913d569476e2a04ae51b8 /src | |
parent | 1c02075df09c02eb84f4e51c67c392b7513a6e35 (diff) |
softpipe: remove unused functions
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_tex_tile_cache.c | 19 | ||||
-rw-r--r-- | src/gallium/drivers/softpipe/sp_tex_tile_cache.h | 7 |
2 files changed, 0 insertions, 26 deletions
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. diff --git a/src/gallium/drivers/softpipe/sp_tex_tile_cache.h b/src/gallium/drivers/softpipe/sp_tex_tile_cache.h index 4098aa1d3c6..09e0f462ca2 100644 --- a/src/gallium/drivers/softpipe/sp_tex_tile_cache.h +++ b/src/gallium/drivers/softpipe/sp_tex_tile_cache.h @@ -106,13 +106,6 @@ sp_create_tex_tile_cache( struct pipe_context *pipe ); extern void sp_destroy_tex_tile_cache(struct softpipe_tex_tile_cache *tc); - -extern void -sp_tex_tile_cache_map_transfers(struct softpipe_tex_tile_cache *tc); - -extern void -sp_tex_tile_cache_unmap_transfers(struct softpipe_tex_tile_cache *tc); - extern void sp_tex_tile_cache_set_sampler_view(struct softpipe_tex_tile_cache *tc, struct pipe_sampler_view *view); |