summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/softpipe/sp_surface.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-10-25 18:50:15 -0600
committerBrian <[email protected]>2007-10-25 20:32:45 -0600
commitee80e0b620c5b9af62dac8ad64a84042b46f5264 (patch)
treef41b4fdaa0ff6658ff991925cd14423cdbc3f592 /src/mesa/pipe/softpipe/sp_surface.h
parentafd19177e4e6571858fc94ab6be1b12bb54a04ed (diff)
Move the get/put_tile() functions to pipe_context.
The _rgba versions are temporary until the state tracker is updated.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_surface.h')
-rw-r--r--src/mesa/pipe/softpipe/sp_surface.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mesa/pipe/softpipe/sp_surface.h b/src/mesa/pipe/softpipe/sp_surface.h
index 06c0a01aee5..0c2486a1716 100644
--- a/src/mesa/pipe/softpipe/sp_surface.h
+++ b/src/mesa/pipe/softpipe/sp_surface.h
@@ -46,7 +46,14 @@ struct softpipe_tile_cache;
struct softpipe_surface {
struct pipe_surface surface;
- /* no softpipe-specific extras now */
+ void (*get_tile)(struct pipe_surface *ps,
+ uint x, uint y, uint w, uint h, float *p);
+ void (*put_tile)(struct pipe_surface *ps,
+ uint x, uint y, uint w, uint h, const float *p);
+ void (*get_tile_raw)(struct pipe_surface *ps,
+ uint x, uint y, uint w, uint h, void *p);
+ void (*put_tile_raw)(struct pipe_surface *ps,
+ uint x, uint y, uint w, uint h, const void *p);
};