summaryrefslogtreecommitdiff
path: root/src/sna/sna.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-06-11 10:12:01 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-06-11 11:05:07 +0100
commit277e6ab84bb0c692358a34a76e7962c64efb0362 (patch)
treeac53ad304c5b51e8b99cb3047c1e2952ce570a42 /src/sna/sna.h
parenteb9de37daaea45e917fa7f44444a9782070f7333 (diff)
sna: Discard TearFree damage before checking for an overwriting upload
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna.h')
-rw-r--r--src/sna/sna.h4
1 files changed, 2 insertions, 2 deletions
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);