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);
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,
/* 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 )