diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-01-16 09:00:04 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-01-16 09:00:04 +0000 |
commit | 54c1d97d5ab325874e1c7b2639e58111d7a6b93f (patch) | |
tree | bb8a786f5d81e62ab689ca1fbc40385e79ea1d8f | |
parent | 588c5aa6bca441d7c9305fe2fcf268e89b6b617d (diff) |
sna: Add DBG for when we add the inplace hint
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/sna_accel.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index 2d947a3b..4bb50cd6 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -1906,8 +1906,11 @@ sna_drawable_move_region_to_cpu(DrawablePtr drawable, if (USE_INPLACE && (flags & MOVE_READ) == 0 && - (priv->flush || box_inplace(pixmap, ®ion->extents))) + (priv->flush || box_inplace(pixmap, ®ion->extents))) { + DBG(("%s: marking for inplace hint (%d, %d)\n", + __FUNCTION__, priv->flush, box_inplace(pixmap, ®ion->extents))); flags |= MOVE_INPLACE_HINT; + } if (flags & MOVE_WHOLE_HINT) return _sna_pixmap_move_to_cpu(pixmap, flags); |