xserver-multidpi/hw/xfree86/dri2
Mario Kleiner b3548612c7 DRI2: Don't return junk reply instead of blocking in glXWaitForSbcOML()
DRI2WaitSBC() didn't block if requested targetSBC wasn't yet reached.

Instead it returned a xreply with uninitialized junk return values, then
blocked the connection until targetSBC was reached.

Therefore the client didn't block, but continued with bogus return
values from glXWaitForSbcOML.

This patch fixes the problem by implementing DRI2WaitSBC similar
to the clean and proven DRI2WaitMSC implementation.

Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
2010-06-10 06:43:46 -07:00
..
dri2.c DRI2: Don't return junk reply instead of blocking in glXWaitForSbcOML() 2010-06-10 06:43:46 -07:00
dri2.h DRI2: Don't return junk reply instead of blocking in glXWaitForSbcOML() 2010-06-10 06:43:46 -07:00
dri2ext.c DRI2: Don't return junk reply instead of blocking in glXWaitForSbcOML() 2010-06-10 06:43:46 -07:00
Makefile.am Don't reuse PKG_CHECK_MODULES identifiers 2009-01-18 09:49:06 -08:00