• Zebediah Figura's avatar
    wined3d: Do not enforce GL map access for resources with WINED3D_RESOURCE_ACCESS_CPU. · ebbcc10b
    Zebediah Figura authored
    d3d maps of such resources will map the CPU copy, and uploads and downloads use
    glBufferSubData() and glGetBufferSubData() respectively. There is no need to map
    the BO.
    
    This improves performance of Indivisible on NVidia GPUs. The game uses a d3d9
    MANAGED buffer for streaming vertex data, which results in poor performance on
    NVidia when using GL_MAP_READ_BIT | GL_MAP_PERSISTENT_BIT. With this change we
    use neither.
    
    This change should only affect managed resources, i.e. those with both CPU and
    GPU access. We never create a BO for CPU-only resources.
    ebbcc10b
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...