summaryrefslogtreecommitdiff
path: root/src/sna/gen3_render.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-09-02 19:13:16 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-09-02 19:15:49 +0100
commit84333f6213abb28838656d8352fd537ad68e4189 (patch)
tree472593e41dd73a5a579a1821ce8170bd20fe4b71 /src/sna/gen3_render.c
parent407817ebb9129f1b946c7ba68e3e05d9540f478c (diff)
sna: Leave more Pixmap breadcrumbs in DBG
Add the Pixmap id to various DBG messages to make it easier to track rendering. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen3_render.c')
-rw-r--r--src/sna/gen3_render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/gen3_render.c b/src/sna/gen3_render.c
index bb18dd11..78289f00 100644
--- a/src/sna/gen3_render.c
+++ b/src/sna/gen3_render.c
@@ -3211,9 +3211,9 @@ gen3_composite_set_target(struct sna *sna,
get_drawable_deltas(dst->pDrawable, op->dst.pixmap,
&op->dst.x, &op->dst.y);
- DBG(("%s: pixmap=%p, format=%08x, size=%dx%d, pitch=%d, delta=(%d,%d),damage=%p\n",
+ DBG(("%s: pixmap=%ld, format=%08x, size=%dx%d, pitch=%d, delta=(%d,%d),damage=%p\n",
__FUNCTION__,
- op->dst.pixmap, (int)op->dst.format,
+ op->dst.pixmap->drawable.serialNumber, (int)op->dst.format,
op->dst.width, op->dst.height,
op->dst.bo->pitch,
op->dst.x, op->dst.y,