diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-07-16 21:18:24 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-07-16 23:48:10 +0100 |
commit | 1f79e877fb6602bd0f9dd14ac9c3511f3b7044fb (patch) | |
tree | 4516f8b321fda773c4413a3e4adcf6401290032f /src/sna/sna_render.h | |
parent | d141a2d59007866c9eaad020c744be446e70c346 (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.h | 6 |
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, |