summaryrefslogtreecommitdiff
path: root/src/sna/sna_render.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-08-04 11:12:12 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-08-04 11:12:12 +0100
commit2345227663f443baa3c30bdf8b8c33827b7f4947 (patch)
tree31ae16b512d0600581a240f1765e4f7a8fe54715 /src/sna/sna_render.h
parent61ec2999afd5dad22580e024421f13afe7c82f3a (diff)
sna/gen7: Use a temporary to avoid switching rings for overlapping copies
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_render.h')
-rw-r--r--src/sna/sna_render.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sna/sna_render.h b/src/sna/sna_render.h
index 68bb9018..a2bcb45e 100644
--- a/src/sna/sna_render.h
+++ b/src/sna/sna_render.h
@@ -704,6 +704,12 @@ sna_render_composite_redirect_done(struct sna *sna,
const struct sna_composite_op *op);
bool
+sna_render_copy_boxes__overlap(struct sna *sna, uint8_t alu,
+ PixmapPtr src, struct kgem_bo *src_bo, int16_t src_dx, int16_t src_dy,
+ PixmapPtr dst, struct kgem_bo *dst_bo, int16_t dst_dx, int16_t dst_dy,
+ const BoxRec *box, int n, const BoxRec *extents);
+
+bool
sna_composite_mask_is_opaque(PicturePtr mask);
#endif /* SNA_RENDER_H */