summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-08-21 23:29:12 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-08-21 23:29:12 +0100
commit304581cc02adeb865a24edde934b5b9ceba68d96 (patch)
tree87c7edb5151dc68d5bdeddf90dd50d9948e1d6d6
parent946d54238d90f5e31772f0df336ac9a5e7f2d62b (diff)
sna: Add a DBG to log pixmap destruction
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_accel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 9fda8cad..1c771045 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -1059,6 +1059,8 @@ static Bool sna_destroy_pixmap(PixmapPtr pixmap)
return TRUE;
priv = sna_pixmap(pixmap);
+ DBG(("%s: pixmap=%ld, attached?=%d\n",
+ __FUNCTION__, pixmap->drawable.serialNumber, priv != NULL));
if (priv == NULL) {
FreePixmap(pixmap);
return TRUE;