xserver-multidpi/hw/xfree86/dri2
Jesse Barnes b180e43977 DRI2: fix swapbuffers handling of SBC and target MSC
Returns expected SBC after completion of swap to caller, as required by
OML_sync_control spec, instead of the last_swap_target value.

Passes target_msc, divisor, remainder, correctly for
glXSwapBuffersMscOML() call, while retaining old behaviour for simple
glXSwapBuffers() call.

An OML swap can have a 0 target_msc, which just means it needs to
satisfy the divisor/remainder equation.  Pass this down to the driver as
needed so we can support it.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
2010-03-29 10:02:17 -07:00
..
dri2.c DRI2: fix swapbuffers handling of SBC and target MSC 2010-03-29 10:02:17 -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