summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nouveau_buffer.h
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2013-03-30 15:55:20 +0100
committerChristoph Bumiller <[email protected]>2013-04-03 12:54:43 +0200
commit2a8145d36b0f04d0f26c1628222a8b5c4830f435 (patch)
tree7d298c6f8afc0071293b58fadc84d890efa0f06d /src/gallium/drivers/nouveau/nouveau_buffer.h
parent3ed4bbd76904983ca4b19a58afd2187f497b4ab0 (diff)
nouveau: accelerate buffer copies in resource_copy_region
Diffstat (limited to 'src/gallium/drivers/nouveau/nouveau_buffer.h')
-rw-r--r--src/gallium/drivers/nouveau/nouveau_buffer.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_buffer.h b/src/gallium/drivers/nouveau/nouveau_buffer.h
index aafc84293a7..fd7a3f1287f 100644
--- a/src/gallium/drivers/nouveau/nouveau_buffer.h
+++ b/src/gallium/drivers/nouveau/nouveau_buffer.h
@@ -49,9 +49,10 @@ struct nv04_resource {
void
nouveau_buffer_release_gpu_storage(struct nv04_resource *);
-boolean
-nouveau_buffer_download(struct nouveau_context *, struct nv04_resource *,
- unsigned start, unsigned size);
+void
+nouveau_copy_buffer(struct nouveau_context *,
+ struct nv04_resource *dst, unsigned dst_pos,
+ struct nv04_resource *src, unsigned src_pos, unsigned size);
boolean
nouveau_buffer_migrate(struct nouveau_context *,