xf86-video-intel: src/sna/sna_dri2.c

Chris Wilson ickle at kemper.freedesktop.org
Tue Mar 3 05:01:50 PST 2015


 src/sna/sna_dri2.c |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 3e390ec4110519746f2edbb3c38a40f0fc415430
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue Mar 3 12:59:52 2015 +0000

    sna/dri2: Remove limiting pending swaps on redirection changes
    
    If we limit the swaps, then doing xrandr --output -off causes unity to
    misrender. Not quite sure why, but the revert is easy.
    
    Fixes regression from
    commit 88e84320a3a8b3faf20941d666ab846fe12b7a67
    Author: Chris Wilson <chris at chris-wilson.co.uk>
    Date:   Tue Feb 24 12:44:19 2015 +0000
    
        sna/dri2: Flush triple buffer swap on [un]redirection
    
    but we still keep the async-swap fixes.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89371#c14
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/sna/sna_dri2.c b/src/sna/sna_dri2.c
index d9d2b35..20a832d 100644
--- a/src/sna/sna_dri2.c
+++ b/src/sna/sna_dri2.c
@@ -1502,8 +1502,6 @@ void sna_dri2_decouple_window(WindowPtr win)
 		_sna_dri2_destroy_buffer(sna, priv->front);
 		priv->front = NULL;
 	}
-
-	swap_limit(&win->drawable, 1);
 }
 
 void sna_dri2_destroy_window(WindowPtr win)


More information about the xorg-commit mailing list