sna: Add some more DBG for choosing render targets
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 1 Feb 2014 21:54:43 +0000 (21:54 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 1 Feb 2014 21:54:43 +0000 (21:54 +0000)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/gen6_render.c
src/sna/gen7_render.c
src/sna/gen8_render.c

index 08c9f78..aadc6f7 100644 (file)
@@ -1831,6 +1831,8 @@ gen6_composite_set_target(struct sna *sna,
        BoxRec box;
        unsigned int hint;
 
+       DBG(("%s: (%d, %d)x(%d, %d), partial?=%d\n", __FUNCTION__, x, y, w, h));
+
        op->dst.pixmap = get_drawable_pixmap(dst->pDrawable);
        op->dst.format = dst->format;
        op->dst.width = op->dst.pixmap->drawable.width;
index 1574813..a90bd15 100644 (file)
@@ -2111,6 +2111,8 @@ gen7_composite_set_target(struct sna *sna,
        BoxRec box;
        unsigned int hint;
 
+       DBG(("%s: (%d, %d)x(%d, %d), partial?=%d\n", __FUNCTION__, x, y, w, h));
+
        op->dst.pixmap = get_drawable_pixmap(dst->pDrawable);
        op->dst.format = dst->format;
        op->dst.width  = op->dst.pixmap->drawable.width;
index 5c718bc..c096db1 100644 (file)
@@ -1862,6 +1862,8 @@ gen8_composite_set_target(struct sna *sna,
        BoxRec box;
        unsigned int hint;
 
+       DBG(("%s: (%d, %d)x(%d, %d), partial?=%d\n", __FUNCTION__, x, y, w, h));
+
        op->dst.pixmap = get_drawable_pixmap(dst->pDrawable);
        op->dst.format = dst->format;
        op->dst.width  = op->dst.pixmap->drawable.width;