diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-05-09 13:45:38 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-05-09 13:49:56 +0100 |
commit | 6e98df06fa9d218a6139730140a83a1940b05980 (patch) | |
tree | 62eb46ba9e6ec8813c450006e5bf18f05c7a6447 /src/sna/sna_composite.c | |
parent | 5d62ec25937ad296114bf890a7a5ac11ff03508c (diff) |
sna: Add more debugging to unaligned trapezoids
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_composite.c')
-rw-r--r-- | src/sna/sna_composite.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/sna/sna_composite.c b/src/sna/sna_composite.c index 2b46f628..df2aa1a9 100644 --- a/src/sna/sna_composite.c +++ b/src/sna/sna_composite.c @@ -404,8 +404,8 @@ static void _assert_pixmap_contains_box(PixmapPtr pixmap, BoxPtr box, const char static void apply_damage(struct sna_composite_op *op, RegionPtr region) { - DBG(("%s: damage=%p, region=%ld [(%d, %d), (%d, %d) + (%d, %d)]\n", - __FUNCTION__, op->damage, RegionNumRects(region), + DBG(("%s: damage=%p, region=%d [(%d, %d), (%d, %d) + (%d, %d)]\n", + __FUNCTION__, op->damage, (int)RegionNumRects(region), region->extents.x1, region->extents.y1, region->extents.x2, region->extents.y2, op->dst.x, op->dst.y)); @@ -995,8 +995,9 @@ sna_composite_rectangles(CARD8 op, color->alpha, dst->format); priv->clear = ok; - DBG(("%s: marking clear [%08x]? %d\n", - __FUNCTION__, priv->clear_color, ok)); + DBG(("%s: pixmap=%ld marking clear [%08x]? %d\n", + __FUNCTION__, pixmap->drawable.serialNumber, + priv->clear_color, ok)); } } goto done; |