xf86-video-intel: src/sna/sna_dri.c
Chris Wilson
ickle at kemper.freedesktop.org
Tue Dec 3 07:10:07 PST 2013
src/sna/sna_dri.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 23f8802857d64212dc8df39da2c1f6f362f9d053
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Tue Dec 3 15:06:10 2013 +0000
sna/dri: Always clear the clear hint after pageflipping
commit 3fd116782bb1c05a140f4783e92a8ee6a57143cd
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Mon Sep 23 21:03:07 2013 +0100
sna/dri: Clear the clear hint upon applying DRI damage
missed the short-circuit path for an already all-damaged pixmap - which
is quite common for the clear pixmaps...
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72194
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/sna/sna_dri.c b/src/sna/sna_dri.c
index 759b602..34d2044 100644
--- a/src/sna/sna_dri.c
+++ b/src/sna/sna_dri.c
@@ -463,7 +463,7 @@ static inline void damage(PixmapPtr pixmap, struct sna_pixmap *priv, RegionPtr r
{
assert(priv->gpu_bo);
if (DAMAGE_IS_ALL(priv->gpu_damage))
- return;
+ goto done;
if (region == NULL) {
damage_all:
@@ -478,6 +478,7 @@ damage_all:
goto damage_all;
sna_damage_add(&priv->gpu_damage, region);
}
+done:
priv->cpu = false;
priv->clear = false;
}
More information about the xorg-commit
mailing list