• Matteo Bruni's avatar
    wined3d: Don't use separate GL contexts for different swapchains. · 72597b17
    Matteo Bruni authored
    This avoids triggering a Mesa slowpath introduced
    by Mesa commit e7f3a8d6959c74f63c877dd8776fe519d54f946f.
    
    Additionally, it helps applications using multiple swapchains and
    queries (e.g. the one in bug 43773) by not requiring extra context
    switches when polling queries. For the records, the actual issue from
    bug 43773 was probably fixed a long time ago, maybe already by
    7b62a970 or thereabouts.
    
    The downside of this change is that we'll now end up calling
    glFinish() when there are multiple threads using the same device when
    CSMT is disabled. That's a non-default setting and one that should
    only be used for troubleshooting purposes at this point, so it
    shouldn't be too bad of an issue. It might also make sense to just get
    rid of that glFinish() entirely, it's never going to be a complete
    fix.
    72597b17
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
nls Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...