diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-01-29 22:26:15 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-01-29 22:26:15 +0000 |
commit | 3fdd28419adee7145d3925cff2704143a324e9d3 (patch) | |
tree | d3bb21eb39754a246fa038b6f5b1570f2bcc63e4 /src/sna/sna.h | |
parent | 0c3b0f11d718d915e502582e9fadd5c0577640db (diff) |
sna: Only migrate the sample box if using the BLT engine for a composite
Modify the presumption that if we are using a core operation on a shadow
pixmap, then we are likely to continue migrating that pixmap back and
forth.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna.h')
-rw-r--r-- | src/sna/sna.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sna/sna.h b/src/sna/sna.h index 84d9807a..e4073596 100644 --- a/src/sna/sna.h +++ b/src/sna/sna.h @@ -434,6 +434,9 @@ void sna_pixmap_destroy(PixmapPtr pixmap); #define __MOVE_FORCE 0x40 #define __MOVE_DRI 0x80 +bool +sna_pixmap_move_area_to_gpu(PixmapPtr pixmap, const BoxRec *box, unsigned int flags); + struct sna_pixmap *sna_pixmap_move_to_gpu(PixmapPtr pixmap, unsigned flags); static inline struct sna_pixmap * sna_pixmap_force_to_gpu(PixmapPtr pixmap, unsigned flags) |