summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <will@willthompson.co.uk>2012-05-09 17:33:03 +0100
committerWill Thompson <will@willthompson.co.uk>2012-05-09 17:33:03 +0100
commit5b0eb9311da7a5a53b3c3db17fc792825394f647 (patch)
treecaadf9aa29f3d388b4a45b1252d1a9183ee6e5bc
parent5fc4cda2fcd0e73fd581be8734211b30560538e8 (diff)
moar debug
-rw-r--r--src/videocore-exa.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/videocore-exa.c b/src/videocore-exa.c
index 3d2f35f..976b96f 100644
--- a/src/videocore-exa.c
+++ b/src/videocore-exa.c
@@ -472,13 +472,16 @@ VideoCorePrepareAccess(PixmapPtr pPixmap, int index)
unsigned short width, height;
pointer data;
+ DEBUG_MSG("called for pixmap %p, is_screen_pixmap %s, texture %u, index %u",
+ pPixmap,
+ priv->is_screen_pixmap ? "true" : "falsetto",
+ priv->texture_id, index);
+
if (priv->texture_id == 0 && !priv->is_screen_pixmap) {
WARNING_MSG("called for boring pixmap %p", pPixmap);
return FALSE;
}
- DEBUG_MSG("called for pixmap %p, texture %u, index %u", pPixmap, priv->texture_id, index);
-
width = pPixmap->drawable.width;
height = pPixmap->drawable.height;
assert (pPixmap->drawable.bitsPerPixel / 8 == 4);