diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-10-23 18:49:19 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-10-24 12:32:42 -0600 |
commit | 76a4fd098f44ae4f226d4747b9fdaf9db5d40270 (patch) | |
tree | b6892ce9414a71e1ef835619ab51278e3d8ac684 /src/mesa/pipe/softpipe/sp_tile_cache.h | |
parent | b78e90807abc31f58492992cdfe5e01bfd53e68b (diff) |
a bit more work for optimizing clears in tile cache (not enabled yet)
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_tile_cache.h')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_tile_cache.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mesa/pipe/softpipe/sp_tile_cache.h b/src/mesa/pipe/softpipe/sp_tile_cache.h index a1cc387a12..15245a2efb 100644 --- a/src/mesa/pipe/softpipe/sp_tile_cache.h +++ b/src/mesa/pipe/softpipe/sp_tile_cache.h @@ -29,7 +29,7 @@ #define SP_TILE_CACHE_H -#include "p_compiler.h" +#include "pipe/p_compiler.h" struct softpipe_context; @@ -66,6 +66,9 @@ extern void sp_tile_cache_set_surface(struct softpipe_tile_cache *tc, struct softpipe_surface *sps); +extern struct softpipe_surface * +sp_tile_cache_get_surface(struct softpipe_tile_cache *tc); + extern void sp_tile_cache_set_texture(struct softpipe_tile_cache *tc, struct pipe_mipmap_tree *texture); @@ -74,7 +77,7 @@ extern void sp_flush_tile_cache(struct softpipe_tile_cache *tc); extern void -sp_clear_tile_cache(struct softpipe_tile_cache *tc, unsigned clearval); +sp_tile_cache_clear(struct softpipe_tile_cache *tc, const float value[4]); extern struct softpipe_cached_tile * sp_get_cached_tile(struct softpipe_tile_cache *tc, int x, int y); |