• Henri Verbeet's avatar
    winex11: Only use glXSwapBuffersMscOML() for child windows. · 147f9341
    Henri Verbeet authored
    The notion that glXSwapBuffersMscOML() with 0/0/0 target_msc/divisor/remainder
    is supposed to behave like glXSwapBuffers() with respect to the swap interval
    turns out to have been a misconception on my behalf, the extension spec
    doesn't actually say that. Adding to the confusion is the fact that some
    drivers do in fact behave like that in practice. It's possible to make
    glXSwapBuffersMscOML() use the proper swap interval, but it's much easier to
    just use glXSwapBuffers() instead. One consequence of the approach taken in
    this patch is that child window buffer swaps aren't necessarily synchronised
    to vblank, but ultimately that's up to X11DRV_FLUSH_GL_DRAWABLE, not the
    buffer swap. This fixes a regression introduced by commit
    e75bc622.
    Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    147f9341
Name
Last commit
Last update
..
Makefile.in Loading commit data...
bitblt.c Loading commit data...
brush.c Loading commit data...
clipboard.c Loading commit data...
desktop.c Loading commit data...
event.c Loading commit data...
graphics.c Loading commit data...
ime.c Loading commit data...
init.c Loading commit data...
keyboard.c Loading commit data...
mouse.c Loading commit data...
mwm.h Loading commit data...
opengl.c Loading commit data...
palette.c Loading commit data...
pen.c Loading commit data...
settings.c Loading commit data...
systray.c Loading commit data...
version.rc Loading commit data...
window.c Loading commit data...
winex11.drv.spec Loading commit data...
wintab.c Loading commit data...
x11drv.h Loading commit data...
x11drv_main.c Loading commit data...
xcomposite.h Loading commit data...
xdnd.c Loading commit data...
xim.c Loading commit data...
xinerama.c Loading commit data...
xrandr.c Loading commit data...
xrender.c Loading commit data...
xvidmode.c Loading commit data...