summaryrefslogtreecommitdiff
path: root/src/sna/sna_damage.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-06-18 21:26:58 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-06-18 21:29:51 +0100
commit92e1693e5fb3a1dd89fca5e5ecc660e2de78f9cd (patch)
tree7ea8665579647a3243ae92c8c6e70b7171a69ea5 /src/sna/sna_damage.h
parentd2312c8f958002e54ddcb834f37916f4b46ac291 (diff)
sna: Validate cpu/gpu damage never overlaps
References: https://bugs.freedesktop.org/show_bug.cgi?id=50477 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_damage.h')
-rw-r--r--src/sna/sna_damage.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/sna_damage.h b/src/sna/sna_damage.h
index 11969129..a006adee 100644
--- a/src/sna/sna_damage.h
+++ b/src/sna/sna_damage.h
@@ -285,6 +285,8 @@ static inline void sna_damage_destroy(struct sna_damage **damage)
*damage = NULL;
}
+void _sna_damage_debug_get_region(struct sna_damage *damage, RegionRec *r);
+
#if DEBUG_DAMAGE && TEST_DAMAGE
void sna_damage_selftest(void);
#else