softpipe: remove unused functions
authorMarek Olšák <maraeo@gmail.com>
Tue, 9 Oct 2012 13:05:58 +0000 (15:05 +0200)
committerMarek Olšák <maraeo@gmail.com>
Thu, 11 Oct 2012 19:12:10 +0000 (21:12 +0200)
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/softpipe/sp_tex_tile_cache.c
src/gallium/drivers/softpipe/sp_tex_tile_cache.h

index b2e92385bf1a5e4d6f5b631be4efa44f4d1877dc..7e1ac6c88fd6d6839ed021c4f2a5dc9a883bafe0 100644 (file)
@@ -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.
index 4098aa1d3c6c73679c83e05451e63c082d908cb7..09e0f462ca2085327347c1065d84cc3b6f254537 100644 (file)
@@ -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);