-
Zebediah Figura authored
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 1632b8e7 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=52684Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
27e84c28
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
tests | ||
Makefile.in | ||
clipper.c | ||
ddraw.c | ||
ddraw.spec | ||
ddraw_classes.idl | ||
ddraw_private.h | ||
device.c | ||
executebuffer.c | ||
light.c | ||
main.c | ||
material.c | ||
palette.c | ||
surface.c | ||
utils.c | ||
version.rc | ||
vertexbuffer.c | ||
viewport.c |