summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_surface.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-11-01 11:23:50 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-11-01 11:23:50 -0600
commita33308898666e89f2443e7eb4f1d09ae792b620a (patch)
tree6e2c184924ad1e6ebce5658e6cfa219ef5cce022 /src/mesa/pipe/softpipe/sp_surface.h
parent0d6608ee6855e5605efc3bd9fec51ada59e208d9 (diff)
implement get/put_tile() for xlib driver
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_surface.h')
-rw-r--r--src/mesa/pipe/softpipe/sp_surface.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/pipe/softpipe/sp_surface.h b/src/mesa/pipe/softpipe/sp_surface.h
index 7e08ce7a2b..cf87e1a92c 100644
--- a/src/mesa/pipe/softpipe/sp_surface.h
+++ b/src/mesa/pipe/softpipe/sp_surface.h
@@ -46,6 +46,15 @@ softpipe_get_tex_surface(struct pipe_context *pipe,
extern void
+softpipe_get_tile(struct pipe_context *pipe, struct pipe_surface *ps,
+ uint x, uint y, uint w, uint h, void *p, int dst_stride);
+
+extern void
+softpipe_put_tile(struct pipe_context *pipe, struct pipe_surface *ps,
+ uint x, uint y, uint w, uint h,
+ const void *p, int src_stride);
+
+extern void
softpipe_get_tile_rgba(struct pipe_context *pipe,
struct pipe_surface *ps,
uint x, uint y, uint w, uint h,