summaryrefslogtreecommitdiff
path: root/src/sna/sna_trapezoids.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-01-06 11:38:31 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-01-06 11:38:31 +0000
commitb9c9e9970cdb542173e3ed0da2bef614abedd3f7 (patch)
tree60025c37c186ab7487744d30c49f514f66bf6d83 /src/sna/sna_trapezoids.c
parent2841c5fee79c42bca3e098ec620755d341b6888f (diff)
sna/trapezoids: Add debug markers for move-to-cpu
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_trapezoids.c')
-rw-r--r--src/sna/sna_trapezoids.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sna/sna_trapezoids.c b/src/sna/sna_trapezoids.c
index 903bc42d..062a2bce 100644
--- a/src/sna/sna_trapezoids.c
+++ b/src/sna/sna_trapezoids.c
@@ -3439,6 +3439,7 @@ trapezoid_span_inplace(CARD8 op, PicturePtr src, PicturePtr dst,
}
}
+ DBG(("%s: move-to-cpu\n", __FUNCTION__));
region.data = NULL;
if (!sna_drawable_move_region_to_cpu(dst->pDrawable, &region,
op == PictOpSrc ? MOVE_WRITE : MOVE_WRITE | MOVE_READ))
@@ -3578,6 +3579,7 @@ trapezoid_span_fallback(CARD8 op, PicturePtr src, PicturePtr dst,
region.extents.y2 = dst_y + extents.y2;
region.data = NULL;
+ DBG(("%s: move-to-cpu\n", __FUNCTION__));
if (!sna_drawable_move_region_to_cpu(dst->pDrawable, &region,
MOVE_READ | MOVE_WRITE))
goto done;
@@ -3595,6 +3597,7 @@ trapezoid_span_fallback(CARD8 op, PicturePtr src, PicturePtr dst,
goto done;
}
+ DBG(("%s: fbComposite()\n", __FUNCTION__));
fbComposite(op, src, mask, dst,
src_x + dst_x - pixman_fixed_to_int(traps[0].left.p1.x),
src_y + dst_y - pixman_fixed_to_int(traps[0].left.p1.y),