mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
ebbcc10b05
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. |
||
---|---|---|
.. | ||
adapter_gl.c | ||
adapter_vk.c | ||
arb_program_shader.c | ||
ati_fragment_shader.c | ||
buffer.c | ||
context.c | ||
context_gl.c | ||
context_vk.c | ||
cs.c | ||
device.c | ||
directx.c | ||
gl_compat.c | ||
glsl_shader.c | ||
Makefile.in | ||
nvidia_texture_shader.c | ||
palette.c | ||
query.c | ||
resource.c | ||
sampler.c | ||
shader.c | ||
shader_sm1.c | ||
shader_sm4.c | ||
shader_spirv.c | ||
state.c | ||
stateblock.c | ||
surface.c | ||
swapchain.c | ||
texture.c | ||
utils.c | ||
version.rc | ||
vertexdeclaration.c | ||
view.c | ||
wined3d.spec | ||
wined3d_gl.h | ||
wined3d_main.c | ||
wined3d_private.h | ||
wined3d_shaders.h | ||
wined3d_vk.h |