Sweden-Number/dlls/wined3d
Zebediah Figura 1af6cb07b2 wined3d: Introduce WINED3D_LOCATION_CLEARED and use it for the initial state of buffers.
The practical effect of this is to defer clearing buffers until they are used.
Under normal circumstances the buffer will be initially discarded, in which
case we need not clear it at all, and may even avoid ever allocating sysmem.

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-01-28 21:10:21 +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: Add WINED3DFMT_R11G11B10_FLOAT vertex format. 2021-12-17 18:33:57 +01:00
adapter_vk.c win32u: Use user driver for wine_get_vulkan_driver. 2021-12-08 09:57:56 +01:00
arb_program_shader.c wined3d: Use wined3d_bit_scan() in shader_arb_load_np2fixup_constants(). 2022-01-28 21:10:21 +01:00
ati_fragment_shader.c include: Remove wine/port.h. 2021-12-01 18:13:54 +01:00
buffer.c wined3d: Introduce WINED3D_LOCATION_CLEARED and use it for the initial state of buffers. 2022-01-28 21:10:21 +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 wined3d_bit_scan() in wined3d_context_gl_map_fixed_function_samplers(). 2022-01-27 17:59:09 +01:00
context_vk.c wined3d: Properly compare integers in wined3d_graphics_pipeline_vk_compare(). 2022-01-24 21:44:51 +01:00
cs.c wined3d: Acquire references to mip-map generation shader resource views for command lists by inspecting CS packets. 2022-01-26 21:53:56 +01:00
device.c wined3d: Use wined3d_bit_scan() in wined3d_device_process_vertices(). 2022-01-26 21:53:57 +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 include: Remove wine/port.h. 2021-12-01 18:13:54 +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: Handle WINED3DSPSM_NONE in shader_sm4_read_param(). 2022-01-11 21:59:51 +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: Introduce WINED3D_LOCATION_CLEARED and use it for the initial state of buffers. 2022-01-28 21:10:21 +01:00
wined3d_shaders.h wined3d: Implement UAV clears on the Vulkan backend. 2021-10-06 20:29:35 +02:00
wined3d_vk.h