summaryrefslogtreecommitdiff
path: root/src/sna/sna_render.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-07-16 21:18:24 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-07-16 23:48:10 +0100
commit1f79e877fb6602bd0f9dd14ac9c3511f3b7044fb (patch)
tree4516f8b321fda773c4413a3e4adcf6401290032f /src/sna/sna_render.h
parentd141a2d59007866c9eaad020c744be446e70c346 (diff)
sna: Share the pixmap migration decision with the BLT composite routines
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 7c43f613..0f96acea 100644
--- a/src/sna/sna_render.h
+++ b/src/sna/sna_render.h
@@ -619,6 +619,12 @@ sna_get_pixel_from_rgba(uint32_t * pixel,
return _sna_get_pixel_from_rgba(pixel, red, green, blue, alpha, format);
}
+struct kgem_bo *
+__sna_render_pixmap_bo(struct sna *sna,
+ PixmapPtr pixmap,
+ const BoxRec *box,
+ bool blt);
+
int
sna_render_pixmap_bo(struct sna *sna,
struct sna_composite_channel *channel,