Eliminate struct pipe_region.
[mesa.git] / src / mesa / pipe / softpipe / sp_tile_cache.h
index 15245a2efba9e2f550e49a2d1578c319d2fef38a..de5ff2c498b88cc2b1f8efefd846bbe233627fff 100644 (file)
@@ -63,24 +63,28 @@ extern void
 sp_destroy_tile_cache(struct softpipe_tile_cache *tc);
 
 extern void
-sp_tile_cache_set_surface(struct softpipe_tile_cache *tc,
-                          struct softpipe_surface *sps);
+sp_tile_cache_set_surface(struct softpipe_context *sp,
+                         struct softpipe_tile_cache *tc,
+                          struct pipe_surface *sps);
 
-extern struct softpipe_surface *
-sp_tile_cache_get_surface(struct softpipe_tile_cache *tc);
+extern struct pipe_surface *
+sp_tile_cache_get_surface(struct softpipe_context *sp,
+                         struct softpipe_tile_cache *tc);
 
 extern void
 sp_tile_cache_set_texture(struct softpipe_tile_cache *tc,
-                          struct pipe_mipmap_tree *texture);
+                          struct pipe_texture *texture);
 
 extern void
-sp_flush_tile_cache(struct softpipe_tile_cache *tc);
+sp_flush_tile_cache(struct softpipe_context *softpipe,
+                    struct softpipe_tile_cache *tc);
 
 extern void
 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);
+sp_get_cached_tile(struct softpipe_context *softpipe,
+                   struct softpipe_tile_cache *tc, int x, int y);
 
 extern const struct softpipe_cached_tile *
 sp_get_cached_tile_tex(struct pipe_context *pipe,