diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-08-09 17:22:01 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-08-29 09:21:27 +0100 |
commit | 0318f3e53eed88f0feea6e7a4fd8a8d9becc9774 (patch) | |
tree | 7d272621843aa2b66d299ab6c759d5a901b5eece /src/gallium/drivers/llvmpipe/lp_tile_cache.h | |
parent | b836b2593c0450125bef6b88b02c7d6c20e9eff8 (diff) |
llvmpipe: Split the texture cache from the color/depth/stencil cache.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_tile_cache.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_tile_cache.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_tile_cache.h b/src/gallium/drivers/llvmpipe/lp_tile_cache.h index 1cc5a17bb5..19676392dc 100644 --- a/src/gallium/drivers/llvmpipe/lp_tile_cache.h +++ b/src/gallium/drivers/llvmpipe/lp_tile_cache.h @@ -127,13 +127,6 @@ extern void lp_tile_cache_unmap_transfers(struct llvmpipe_tile_cache *tc); extern void -lp_tile_cache_set_texture(struct llvmpipe_tile_cache *tc, - struct pipe_texture *texture); - -void -lp_tile_cache_validate_texture(struct llvmpipe_tile_cache *tc); - -extern void lp_flush_tile_cache(struct llvmpipe_tile_cache *tc); extern void @@ -144,10 +137,6 @@ extern struct llvmpipe_cached_tile * lp_find_cached_tile(struct llvmpipe_tile_cache *tc, union tile_address addr ); -extern const struct llvmpipe_cached_tile * -lp_find_cached_tile_tex(struct llvmpipe_tile_cache *tc, - union tile_address addr ); - static INLINE const union tile_address tile_address( unsigned x, unsigned y, @@ -169,17 +158,6 @@ tile_address( unsigned x, /* Quickly retrieve tile if it matches last lookup. */ -static INLINE const struct llvmpipe_cached_tile * -lp_get_cached_tile_tex(struct llvmpipe_tile_cache *tc, - union tile_address addr ) -{ - if (tc->last_tile->addr.value == addr.value) - return tc->last_tile; - - return lp_find_cached_tile_tex( tc, addr ); -} - - static INLINE struct llvmpipe_cached_tile * lp_get_cached_tile(struct llvmpipe_tile_cache *tc, int x, int y ) |