summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nvc0/nvc0_transfer.h
diff options
context:
space:
mode:
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>2011-03-04 18:17:05 +0100
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>2011-03-05 00:51:07 +0100
commitf556b897eb5a41116529bec24d47f70a0c46789f (patch)
tree1a659e339b3240eb346d1c9b809ac8ca54a4bbe9 /src/gallium/drivers/nvc0/nvc0_transfer.h
parent4fae7da9a3a3849ca08ffc6fcbdccc6a9c065ad2 (diff)
nvc0: use m2mf for resource_copy_region if formats are equal
Which is always the case, but we'll keep the 2D engine blitter nonetheless.
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_transfer.h')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_transfer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_transfer.h b/src/gallium/drivers/nvc0/nvc0_transfer.h
index 222f72d274..803ee3463e 100644
--- a/src/gallium/drivers/nvc0/nvc0_transfer.h
+++ b/src/gallium/drivers/nvc0/nvc0_transfer.h
@@ -35,4 +35,10 @@ struct nvc0_m2mf_rect {
uint16_t cpp;
};
+void
+nvc0_m2mf_transfer_rect(struct pipe_screen *pscreen,
+ const struct nvc0_m2mf_rect *dst,
+ const struct nvc0_m2mf_rect *src,
+ uint32_t nblocksx, uint32_t nblocksy);
+
#endif