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 88e84320a3
Author: Chris Wilson <chris@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@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2015-03-03 12:59:52 +00:00
parent 555f7f4f54
commit 3e390ec411
1 changed files with 0 additions and 2 deletions

View File

@ -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)