summaryrefslogtreecommitdiff
path: root/src/sna/sna_damage.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-01-17 10:55:29 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-01-17 12:57:55 +0000
commitdfbf02b8778719b86e0f5d78ee833a19436d43a0 (patch)
tree3f56cbb1dc376f6941751a822e99e60282f2e6fd /src/sna/sna_damage.c
parentda90afc32f19e9168cbaa4e0cdcd941d12f2c142 (diff)
sna: Add some DBG breadcrumbs to put_image upload paths
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_damage.c')
-rw-r--r--src/sna/sna_damage.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sna/sna_damage.c b/src/sna/sna_damage.c
index 6e456cf5..196f4792 100644
--- a/src/sna/sna_damage.c
+++ b/src/sna/sna_damage.c
@@ -933,7 +933,7 @@ struct sna_damage *__sna_damage_all(struct sna_damage *damage,
struct sna_damage *_sna_damage_is_all(struct sna_damage *damage,
int width, int height)
{
- DBG(("%s(%d, %d)%s\n", __FUNCTION__, width, height,
+ DBG(("%s(%d, %d)%s?\n", __FUNCTION__, width, height,
damage->dirty ? "*" : ""));
assert(damage->mode == DAMAGE_ADD);
@@ -947,8 +947,10 @@ struct sna_damage *_sna_damage_is_all(struct sna_damage *damage,
assert(RegionNotEmpty(&damage->region));
}
- if (damage->region.data)
+ if (damage->region.data) {
+ DBG(("%s: no, not singular\n", __FUNCTION__));
return damage;
+ }
DBG(("%s: (%d, %d), (%d, %d)\n", __FUNCTION__,
damage->extents.x1, damage->extents.y1,