xserver-multidpi/hw/xfree86/dri2
Mario Kleiner 0de4974b90 DRI2: Fix glitches in DRI2SwapComplete() and DRI2WakeupClient()
DRI2SwapComplete(): Increment pPriv->swap_count++; before calling
into callback for INTEL_swap_events extension, so the swap event
contains the current SBC after swap completion instead of the
previous one.

DRI2WakeupClient: Check for pPriv->target_sbc <= pPriv->swap_count,
had wrong comparison pPriv->target_sbc >= pPriv->swap_count for
unblocking of clients of DRI2WaitSBC().

Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
2010-03-29 10:01:53 -07:00
..
dri2.c DRI2: Fix glitches in DRI2SwapComplete() and DRI2WakeupClient() 2010-03-29 10:01:53 -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