Sweden-Number/dlls/wined3d
Zebediah Figura d9e8f4b458 wined3d: Call wined3d_context_unmap_bo_address() when updating a buffer BO.
That is, don't just flush it, but unmap it as well.

As of d8e8ab21c0, we can get here even when
!wined3d_map_persistent(). Thus we currently end up leaving BOs mapped when
performing an accelerated DISCARD map. Try to avoid that.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-10 18:09:36 +01:00
..
Makefile.in include: Add support for defining Win32 types as 'long' where possible. 2022-01-27 20:38:22 +01:00
adapter_gl.c wined3d: Use the chunk allocator for GL indirect draw buffers. 2022-02-08 20:24:14 +01:00
adapter_vk.c wined3d: Allow DISCARD maps to be accelerated even on 32-bit architectures. 2022-01-31 18:38:55 +01:00
arb_program_shader.c wined3d: Use wined3d_bit_scan() in shader_arb_generate_pshader(). 2022-02-01 20:36:04 +01:00
ati_fragment_shader.c include: Remove wine/port.h. 2021-12-01 18:13:54 +01:00
buffer.c wined3d: Call wined3d_context_unmap_bo_address() when updating a buffer BO. 2022-02-10 18:09:36 +01:00
context.c wined3d: Use wined3d_bit_scan() in context_preload_textures(). 2022-01-27 17:58:51 +01:00
context_gl.c wined3d: Use the chunk allocator for GL uniform buffers. 2022-02-09 20:08:02 +01:00
context_vk.c wined3d: Initialize map_ptr to NULL in wined3d_context_vk_create_slab_bo(). 2022-02-10 18:09:26 +01:00
cs.c wined3d: Allow DISCARD maps to be accelerated even on 32-bit architectures. 2022-01-31 18:38:55 +01:00
device.c wined3d: Use the chunk allocator for GL indirect draw buffers. 2022-02-08 20:24:14 +01:00
directx.c d3d11: Report D3D11_FORMAT_SUPPORT_IA_INDEX_BUFFER. 2022-01-24 21:44:51 +01:00
gl_compat.c include: Remove wine/port.h. 2021-12-01 18:13:54 +01:00
glsl_shader.c wined3d: Use wined3d_bit_scan() in shader_glsl_generate_fragment_shader(). 2022-01-28 21:10:21 +01:00
nvidia_texture_shader.c include: Remove wine/port.h. 2021-12-01 18:13:54 +01:00
palette.c include: Remove wine/port.h. 2021-12-01 18:13:54 +01:00
query.c wined3d: Improve comment in wined3d_query_vk_issue(). 2022-02-09 20:08:21 +01:00
resource.c include: Remove wine/port.h. 2021-12-01 18:13:54 +01:00
sampler.c wined3d: Decrement reference count and take the lock atomically for cached objects. 2021-12-09 17:14:59 +01:00
shader.c wined3d: Use wined3d_bit_scan() in vshader_get_input(). 2022-01-26 21:53:56 +01:00
shader_sm1.c include: Remove wine/port.h. 2021-12-01 18:13:54 +01:00
shader_sm4.c wined3d: Skip non-color outputs in SM4 shader output mapping. 2022-02-09 20:08:27 +01:00
shader_spirv.c include: Remove wine/port.h. 2021-12-01 18:13:54 +01:00
state.c wined3d: Do not bind buffers in state_cb() if the shader is not set. 2021-12-15 18:55:25 +01:00
stateblock.c wined3d: Use wined3d_mask_from_size() in stateblock_savedstates_set_all(). 2022-01-24 21:44:51 +01:00
surface.c include: Remove wine/port.h. 2021-12-01 18:13:54 +01:00
swapchain.c include: Remove wine/port.h. 2021-12-01 18:13:54 +01:00
texture.c wined3d: Discard texture resources before unloading them in wined3d_texture_destroy_object(). 2022-01-20 18:18:29 +01:00
utils.c wined3d: Introduce WINED3D_LOCATION_CLEARED and use it for the initial state of buffers. 2022-01-28 21:10:21 +01:00
version.rc
vertexdeclaration.c include: Remove wine/port.h. 2021-12-01 18:13:54 +01:00
view.c wined3d: Handle structured buffers in wined3d_unordered_access_view_vk_clear(). 2022-01-26 21:53:56 +01:00
wined3d.spec wined3d: Set render targets and UAVs atomically in wined3d. 2021-10-15 18:32:08 +02:00
wined3d_gl.h wined3d: Add WINED3DFMT_R11G11B10_FLOAT vertex format. 2021-12-17 18:33:57 +01:00
wined3d_main.c include: Remove wine/port.h. 2021-12-01 18:13:54 +01:00
wined3d_private.h wined3d: Use the chunk allocator for GL indirect draw buffers. 2022-02-08 20:24:14 +01:00
wined3d_shaders.h wined3d: Implement UAV clears on the Vulkan backend. 2021-10-06 20:29:35 +02:00
wined3d_vk.h