Sweden-Number/dlls/d3d9
Zebediah Figura 27e84c2897 wined3d: Consider WINED3D_LOCATION_CLEARED to be a GPU location for GPU-accessible textures.
When blitting from a staging texture in SYSMEM to an as-yet uninitialized GPU
texture, we want to avoid ever loading the source texture into TEXTURE_RGB, or
loading the destination texture into SYSMEM.

This isn't really a proper fix for the relevant tests; it just manages to avoid
the problematic code path.

This manages to fix test_yv12_overlay because it causes those blits to use the
upload path (whereas currently they go through the raw blitter, and before
1632b8e7a4 they would go through the CPU blitter), and
wined3d_texture_gl_upload_data() is one of the only functions to correctly
handle planar YUV formats.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52684
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-04-27 11:53:11 +02:00
..
tests wined3d: Consider WINED3D_LOCATION_CLEARED to be a GPU location for GPU-accessible textures. 2022-04-27 11:53:11 +02:00
Makefile.in include: Add support for defining Win32 types as 'long' where possible. 2022-01-27 20:38:22 +01:00
buffer.c d3d9: Don't grab wined3d lock in index/vertexbuffer AddRef/Release(). 2021-11-01 20:46:21 +01:00
d3d9.spec
d3d9_main.c
d3d9_private.h d3d9: Store the texture's parent device as a d3d9_device pointer. 2021-04-08 18:51:20 +02:00
device.c d3d9: Don't grab wined3d lock for wined3d incref/decref functions. 2021-11-01 20:46:21 +01:00
directx.c d3d9: Don't grab wined3d lock for wined3d incref/decref functions. 2021-11-01 20:46:21 +01:00
query.c d3d9: Don't grab wined3d lock for wined3d_query_issue(). 2021-11-01 20:46:21 +01:00
shader.c d3d9: Don't grab wined3d lock for wined3d incref/decref functions. 2021-11-01 20:46:21 +01:00
stateblock.c d3d9: Don't grab wined3d lock for wined3d incref/decref functions. 2021-11-01 20:46:21 +01:00
surface.c d3d9: Don't grab wined3d lock for surface AddRef/Release(). 2021-11-01 20:46:21 +01:00
swapchain.c dxgi: Update swapchain containing output after Alt+Enter was used to exit fullscreen. 2020-10-09 16:21:33 +02:00
texture.c wined3d: Pass a wined3d_device_context to wined3d_shader_resource_view_generate_mipmaps(). 2021-04-09 20:37:14 +02:00
version.rc
vertexdeclaration.c d3d9: Don't grab wined3d lock for wined3d incref/decref functions. 2021-11-01 20:46:21 +01:00
volume.c d3d9: Don't grab wined3d lock for wined3d_resource_map/unmap(). 2021-10-19 22:51:41 +02:00