xserver-multidpi/hw/xfree86/dri2
Mario Kleiner 751e8c09d3 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>
2010-03-29 10:02:13 -07:00
..
dri2.c DRI2WaitSbc(): Fixes for correct semantic of glXWaitForSbcOML() 2010-03-29 10:02:13 -07:00
dri2.h DRI2: Allow multiple driver names. 2010-01-27 13:57:00 -08:00
dri2ext.c DRI2: initialize event->drawable in DRI2SwapEvent 2010-02-25 11:43:37 -08:00
Makefile.am Don't reuse PKG_CHECK_MODULES identifiers 2009-01-18 09:49:06 -08:00