summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_blit.h
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2010-05-17 21:29:17 +0200
committerRoland Scheidegger <sroland@vmware.com>2010-05-17 21:29:17 +0200
commit39b4bf71b55ce4553e877868dcbf6e7502cbc696 (patch)
treee4f55aabcda5bdcf341abed1f4010d0b8ee16944 /src/gallium/drivers/r300/r300_blit.h
parentb59b23a51dc17da59ccff0b3f8a73009056746e5 (diff)
r300g: adapt to interface changes
might need further cleanup. Using surfaces internally for the u_blitter code seems nonoptimal.
Diffstat (limited to 'src/gallium/drivers/r300/r300_blit.h')
-rw-r--r--src/gallium/drivers/r300/r300_blit.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/gallium/drivers/r300/r300_blit.h b/src/gallium/drivers/r300/r300_blit.h
index 029e4f98e7..c97872662a 100644
--- a/src/gallium/drivers/r300/r300_blit.h
+++ b/src/gallium/drivers/r300/r300_blit.h
@@ -24,7 +24,8 @@
#define R300_BLIT_H
struct pipe_context;
-struct pipe_surface;
+struct pipe_resource;
+struct pipe_subresource;
void r300_clear(struct pipe_context* pipe,
unsigned buffers,
@@ -33,15 +34,18 @@ void r300_clear(struct pipe_context* pipe,
unsigned stencil);
void r300_surface_copy(struct pipe_context* pipe,
- struct pipe_surface* dst,
- unsigned dstx, unsigned dsty,
- struct pipe_surface* src,
- unsigned srcx, unsigned srcy,
+ struct pipe_resource* dst,
+ struct pipe_subresource subdst,
+ unsigned dstx, unsigned dsty, unsigned dstz,
+ struct pipe_resource* src,
+ struct pipe_subresource subsrc,
+ unsigned srcx, unsigned srcy, unsigned srcz,
unsigned width, unsigned height);
void r300_surface_fill(struct pipe_context* pipe,
- struct pipe_surface* dst,
- unsigned dstx, unsigned dsty,
+ struct pipe_resource* dst,
+ struct pipe_subresource subdst,
+ unsigned dstx, unsigned dsty, unsigned dstz,
unsigned width, unsigned height,
unsigned value);