summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_tile_cache.h
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-07-17 10:44:22 +0100
committerKeith Whitwell <keithw@vmware.com>2009-07-22 12:48:00 +0100
commitb5d583efeff5f195bff48c95125a225c273189e2 (patch)
treeb3c68989829923586642d60c6b1287d5469acf4d /src/gallium/drivers/softpipe/sp_tile_cache.h
parent07bb026900a6c01226217ceee1d4d1426c040d6e (diff)
softpipe: make some small steps to flush texture cache less frequently
No performance gain yet, but the code is a bit cleaner.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_tile_cache.h')
-rw-r--r--src/gallium/drivers/softpipe/sp_tile_cache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_tile_cache.h b/src/gallium/drivers/softpipe/sp_tile_cache.h
index 639cde6705..0d165b4ad7 100644
--- a/src/gallium/drivers/softpipe/sp_tile_cache.h
+++ b/src/gallium/drivers/softpipe/sp_tile_cache.h
@@ -83,6 +83,9 @@ extern void
sp_tile_cache_set_texture(struct softpipe_tile_cache *tc,
struct pipe_texture *texture);
+void
+sp_tile_cache_validate_texture(struct softpipe_tile_cache *tc);
+
extern void
sp_flush_tile_cache(struct softpipe_tile_cache *tc);