diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-02-06 09:04:30 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-02-06 09:04:30 +0000 |
commit | 1eadd1d0b1c8bcbf11eb7c0e112d1e424b63c25e (patch) | |
tree | 108579e8b5dd89b5c97b352cfd00891fd424c3bd /src | |
parent | 4d1a2ef9553c663bb97b56adde6f6b41241ff528 (diff) |
sna: Add some DBG to clarify the source pixmap (for tiles)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-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 14a669df..457cc418 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -11389,6 +11389,8 @@ sna_pixmap_get_source_bo(PixmapPtr pixmap) { struct sna_pixmap *priv = sna_pixmap(pixmap); + DBG(("%s(pixmap=%ld)\n", __FUNCTION__, pixmap->drawable.serialNumber)); + if (priv == NULL) { struct kgem_bo *upload; struct sna *sna = to_sna_from_pixmap(pixmap); @@ -11988,7 +11990,8 @@ sna_poly_fill_rect_tiled_blt(DrawablePtr drawable, } get_drawable_deltas(drawable, pixmap, &dx, &dy); - DBG(("%s: drawable offset into pixmap = (%d, %d)\n", __FUNCTION__, dx, dy)); + DBG(("%s: drawable offset into pixmap(%ld) = (%d, %d)\n", + __FUNCTION__, pixmap->drawable.serialNumber, dx, dy)); if (!clipped) { dx += drawable->x; dy += drawable->y; |