xserver-multidpi/hw/xfree86/dri2
Jesse Barnes b00d435ddf DRI2: handle swapsPending better
Avoid a potential swapsPending underflow by incrementing it before
ScheduleSwap, which may complete it immediately.  And be sure to
decrement it again in case the schedule failed.

Reported-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Reviewed-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2010-03-29 10:02:51 -07:00
..
dri2.c DRI2: handle swapsPending better 2010-03-29 10:02:51 -07:00
dri2.h DRI2: advertise lowest supported DRI2 protocol version 2010-03-29 10:02:37 -07:00
dri2ext.c DRI2: throttle swaps at submission time too 2010-03-29 10:02:45 -07:00
Makefile.am Don't reuse PKG_CHECK_MODULES identifiers 2009-01-18 09:49:06 -08:00