summaryrefslogtreecommitdiff
path: root/src/sna/sna_composite.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-07-18 12:33:10 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-07-19 14:04:37 +0100
commitb2f32373815e166fc6dceb477139ff2ef27db0ba (patch)
tree6d2025fe456de1c05882b1aac1dde938a1a07b27 /src/sna/sna_composite.c
parent1b37a167d9caa7868427cb88b2480f3b64e96cc9 (diff)
sna: Tidy a few DBG regarding cached uploads
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.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/sna/sna_composite.c b/src/sna/sna_composite.c
index 566f042e..ae04c006 100644
--- a/src/sna/sna_composite.c
+++ b/src/sna/sna_composite.c
@@ -216,10 +216,13 @@ sna_compute_composite_region(RegionPtr region,
pixman_region_fini (region);
return FALSE;
}
- DBG(("%s: clip against src: (%d, %d), (%d, %d)\n",
- __FUNCTION__,
- region->extents.x1, region->extents.y1,
- region->extents.x2, region->extents.y2));
+ DBG(("%s: clip against src (%dx%d clip=%d): (%d, %d), (%d, %d)\n",
+ __FUNCTION__,
+ src->pDrawable ? src->pDrawable->width : 0,
+ src->pDrawable ? src->pDrawable->height : 0,
+ src->clientClipType,
+ region->extents.x1, region->extents.y1,
+ region->extents.x2, region->extents.y2));
if (src->alphaMap) {
if (!clip_to_src(region, src->alphaMap,