Sweden-Number/dlls/ddraw
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 ddraw: Build without -DWINE_NO_LONG_TYPES. 2022-04-15 20:55:37 +02:00
clipper.c ddraw: Build without -DWINE_NO_LONG_TYPES. 2022-04-15 20:55:37 +02:00
ddraw.c ddraw: Improve tracing format for unsigned fields. 2022-04-21 19:57:44 +02:00
ddraw.spec
ddraw_classes.idl
ddraw_private.h ddraw: Filter out redundant discard maps. 2022-02-17 18:57:22 +01:00
device.c ddraw: Improve tracing format for unsigned fields. 2022-04-21 19:57:44 +02:00
executebuffer.c ddraw: Improve tracing format for unsigned fields. 2022-04-21 19:57:44 +02:00
light.c ddraw: Build without -DWINE_NO_LONG_TYPES. 2022-04-15 20:55:37 +02:00
main.c ddraw: Build without -DWINE_NO_LONG_TYPES. 2022-04-15 20:55:37 +02:00
material.c ddraw: Improve tracing format for unsigned fields. 2022-04-21 19:57:44 +02:00
palette.c ddraw: Build without -DWINE_NO_LONG_TYPES. 2022-04-15 20:55:37 +02:00
surface.c ddraw: Build without -DWINE_NO_LONG_TYPES. 2022-04-15 20:55:37 +02:00
utils.c ddraw: Improve tracing format for unsigned fields. 2022-04-21 19:57:44 +02:00
version.rc
vertexbuffer.c ddraw: Build without -DWINE_NO_LONG_TYPES. 2022-04-15 20:55:37 +02:00
viewport.c ddraw: Improve tracing format for unsigned fields. 2022-04-21 19:57:44 +02:00