summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/softpipe/sp_surface.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-11-01 11:23:50 -0600
committerBrian <[email protected]>2007-11-01 11:23:50 -0600
commita33308898666e89f2443e7eb4f1d09ae792b620a (patch)
tree6e2c184924ad1e6ebce5658e6cfa219ef5cce022 /src/mesa/pipe/softpipe/sp_surface.c
parent0d6608ee6855e5605efc3bd9fec51ada59e208d9 (diff)
implement get/put_tile() for xlib driver
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_surface.c')
-rw-r--r--src/mesa/pipe/softpipe/sp_surface.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/mesa/pipe/softpipe/sp_surface.c b/src/mesa/pipe/softpipe/sp_surface.c
index 3aa72ef569b..ccaf38de3e4 100644
--- a/src/mesa/pipe/softpipe/sp_surface.c
+++ b/src/mesa/pipe/softpipe/sp_surface.c
@@ -502,9 +502,8 @@ softpipe_get_tex_surface(struct pipe_context *pipe,
/**
* Move raw block of pixels from surface to user memory.
*/
-static void
-softpipe_get_tile(struct pipe_context *pipe,
- struct pipe_surface *ps,
+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)
{
@@ -535,9 +534,8 @@ softpipe_get_tile(struct pipe_context *pipe,
/**
* Move raw block of pixels from user memory to surface.
*/
-static void
-softpipe_put_tile(struct pipe_context *pipe,
- struct pipe_surface *ps,
+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)
{