xserver/hw
Mario Kleiner cc9f6806ac DRI2/xserver: Don't hang in glXSwapBuffers if drawable moves between crtc's (bug 28383)
Detect if a drawable has been moved from an original crtc to a new crtc
with a lower current vblank count than the original crtc inbetween
glXSwapBuffers() calls. Reinitialize drawable's last_swap_target
before scheduling next swap if such a move has taken place.

last_swap_target defines the baseline for scheduling the next swap.
If a movement between crtc's is not taken into account, the swap may
schedule for a vblank count on the new crtc far in the future, resulting
in a apparent "hang" of the drawable for a long time.

Fixes Bugzilla bug #28383.

Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit 75beadd766)
2010-06-21 10:58:13 +10:00
..
dmx dmxBERestoreRenderGlyph was passing wrong value to free 2010-05-18 14:43:00 +10:00
kdrive kdrive: Bump evdev maxKeycode 2010-03-24 14:03:51 +01:00
vfb Xvfb: Usage message typo fix. 2010-04-23 13:42:34 +10:00
xfree86 DRI2/xserver: Don't hang in glXSwapBuffers if drawable moves between crtc's (bug 28383) 2010-06-21 10:58:13 +10:00
xnest xnest: Don't ignore errors from DeviceCursorInitialize. 2010-06-11 10:40:54 +10:00
xquartz XQuartz: Fix a build failure on Tiger 2010-05-17 09:12:34 -07:00
xwin Cygwin/X: Make X -> XWin symlink during install 2010-03-22 00:48:33 -05:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00