From 277e6ab84bb0c692358a34a76e7962c64efb0362 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 11 Jun 2014 10:12:01 +0100 Subject: sna: Discard TearFree damage before checking for an overwriting upload Signed-off-by: Chris Wilson --- src/sna/sna.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sna/sna.h') diff --git a/src/sna/sna.h b/src/sna/sna.h index e504ee0d..a44235b9 100644 --- a/src/sna/sna.h +++ b/src/sna/sna.h @@ -428,8 +428,8 @@ extern void sna_mode_wakeup(struct sna *sna); extern void sna_mode_redisplay(struct sna *sna); extern void sna_shadow_set_crtc(struct sna *sna, xf86CrtcPtr crtc, struct kgem_bo *bo); extern void sna_shadow_unset_crtc(struct sna *sna, xf86CrtcPtr crtc); -extern void sna_pixmap_discard_shadow_damage(struct sna_pixmap *priv, - RegionPtr region); +extern bool sna_pixmap_discard_shadow_damage(struct sna_pixmap *priv, + const RegionRec *region); extern void sna_mode_close(struct sna *sna); extern void sna_mode_fini(struct sna *sna); -- cgit v1.2.3