xserver/hw
Mario Kleiner a56178402e DRI2WaitSbc(): Fixes for correct semantic of glXWaitForSbcOML()
Added implementation for case target_sbc == 0. In that case, the
function shall schedule a wait until all pending swaps for the drawable
have completed.

Fix for non-blocking case. Old implementation returned random,
uninitialized values for (ust,msc,sbc) if it returned immediately
without scheduling a wait due to sbc >= target_sbc.

Now if function doesn't schedule a wait, but returns immediately,
it returns the (ust,msc,sbc) of the most recently completed swap,
i.e., the UST and MSC corresponding to the time when the returned
current SBC was reached.

Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
(cherry picked from commit 751e8c09d3)
2010-05-21 13:55:17 +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 DRI2WaitSbc(): Fixes for correct semantic of glXWaitForSbcOML() 2010-05-21 13:55:17 +10:00
xnest Fix .man.N targets for AM_SILENT_RULES 2010-03-22 00:45:55 -05: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