xserver-multidpi/hw/xfree86
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
..
common Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
ddc Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
dixmods Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
doc Stop searching for XF86Config files 2010-06-04 00:22:54 -07:00
dri Make DRI_SCREEN_PRIV just return NULL when DRI isn't initialized 2010-06-07 21:49:43 -07:00
dri2 DRI2: Don't return junk reply instead of blocking in glXWaitForSbcOML() 2010-06-10 06:43:46 -07:00
exa Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
fbdevhw Install fbdevhw module in normal module directory instead of linux/ 2010-06-03 07:29:50 -07:00
i2c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
int10 xfree86/int10/helper_mem: Fix log message. 2010-05-26 11:10:55 -07:00
loader Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
modes Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
os-support Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
parser Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
ramdac Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
shadowfb Clean up after removal of screen parameters from region macros. 2010-06-05 22:07:21 -07:00
utils Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
vbe Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
vgahw Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
x86emu Convert x86emu fixed size int typedefs to use stdint types 2010-04-07 16:18:24 -07:00
xaa Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
xf8_16bpp Update several of my and/or Red Hat's licenses to standard form. 2009-05-14 07:02:44 -04:00
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
Makefile.am Fix relink targets for silent rules 2010-03-22 00:45:52 -05:00
xorgconf.cpp Update xorg.conf man page & sample for changes in Xorg 1.7 2009-09-14 16:03:18 +10:00