summaryrefslogtreecommitdiff
path: root/src/sna/kgem.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-03-12 23:05:17 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-03-13 17:45:05 +0000
commit2ea58256f5ce6e1c0f48d366ff7a1fbf300600de (patch)
treeaabe927e4183009737d0687c910afc2be70127c9 /src/sna/kgem.h
parent8b9abe2be1f54bd8e8593ed155cc4725ac97627a (diff)
sna: Reuse the same upload buffer for the duration of the batch
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/kgem.h')
-rw-r--r--src/sna/kgem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/kgem.h b/src/sna/kgem.h
index dff8bb28..52e5e9c0 100644
--- a/src/sna/kgem.h
+++ b/src/sna/kgem.h
@@ -200,6 +200,7 @@ struct kgem_bo *kgem_upload_source_image(struct kgem *kgem,
const void *data,
BoxPtr box,
int stride, int bpp);
+void kgem_proxy_bo_attach(struct kgem_bo *bo, struct kgem_bo **ptr);
int kgem_choose_tiling(struct kgem *kgem,
int tiling, int width, int height, int bpp);