summaryrefslogtreecommitdiff
path: root/src/sna/sna.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-04-15 11:24:10 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-04-15 16:33:59 +0100
commit49e72bd4e59085aa940e5af63381c5394ee670ad (patch)
tree7c037b343d11fbcc977a5bcfb35ee21337f94e84 /src/sna/sna.h
parent13054a00dadedae6495eb5cdf586b7916b82053e (diff)
sna: Discard TearFree readback when overdrawing
References: https://bugs.freedesktop.org/show_bug.cgi?id=77436 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna.h')
-rw-r--r--src/sna/sna.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/sna.h b/src/sna/sna.h
index 3d4792ca..00b12e9f 100644
--- a/src/sna/sna.h
+++ b/src/sna/sna.h
@@ -377,6 +377,8 @@ extern void sna_mode_update(struct sna *sna);
extern void sna_mode_reset(struct sna *sna);
extern void sna_mode_wakeup(struct sna *sna);
extern void sna_mode_redisplay(struct sna *sna);
+extern void sna_pixmap_discard_shadow_damage(struct sna_pixmap *priv,
+ RegionPtr region);
extern void sna_mode_close(struct sna *sna);
extern void sna_mode_fini(struct sna *sna);