From 0f55a95b2faa16cc008143c53a8b82b19c5d750a Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Fri, 17 Jul 2009 10:44:22 +0100 Subject: llvmpipe: make some small steps to flush texture cache less frequently No performance gain yet, but the code is a bit cleaner. --- src/gallium/drivers/llvmpipe/lp_tile_cache.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/drivers/llvmpipe/lp_tile_cache.h') diff --git a/src/gallium/drivers/llvmpipe/lp_tile_cache.h b/src/gallium/drivers/llvmpipe/lp_tile_cache.h index e82b4b856a..9e830e9def 100644 --- a/src/gallium/drivers/llvmpipe/lp_tile_cache.h +++ b/src/gallium/drivers/llvmpipe/lp_tile_cache.h @@ -83,6 +83,9 @@ 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); -- cgit v1.2.3