Sweden-Number/dlls/ddraw
Henri Verbeet a362daeaf5 ddraw: Copy the entire front-buffer surface after a buffer swap.
wined3d_swapchain_present() will invalidate everything except
WINED3D_LOCATION_DRAWABLE, which means a partial blit to the front-buffer
afterwards might need to read the drawable contents back to the texture. For
P8 front-buffers that's problematic, because the original palette indices are
lost. We may want to improve the wined3d side of this to avoid reading back
the drawable, but copying the entire surface in ddraw in this situation seems
like a good idea regardless.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-30 16:52:05 +02:00
..
tests ddraw/tests: Port test_viewport() to ddraw7. 2018-03-29 16:06:04 +02:00
Makefile.in
clipper.c ddraw: Use the global memory allocation helpers. 2018-02-13 20:23:26 +01:00
ddraw.c ddraw: Create swapchains with back-buffers. 2018-03-27 16:13:16 +02:00
ddraw.spec ddraw: Implement GetSurfaceFromDC(). 2017-02-10 21:29:40 +01:00
ddraw_classes.idl
ddraw_private.h ddraw: Copy the entire front-buffer surface after a buffer swap. 2018-03-30 16:52:05 +02:00
device.c ddraw: Forbid setting a viewport larger than the render target. 2018-03-29 16:06:04 +02:00
executebuffer.c wined3d: Split WINED3D_RESOURCE_ACCESS_MAP into WINED3D_RESOURCE_ACCESS_MAP_R and WINED3D_RESOURCE_ACCESS_MAP_W. 2018-02-19 13:43:52 +01:00
light.c ddraw: Use the global memory allocation helpers. 2018-02-13 20:23:26 +01:00
main.c ddraw: Use the available ARRAY_SIZE() macro. 2018-02-21 12:40:54 +01:00
material.c ddraw: Use the global memory allocation helpers. 2018-02-13 20:23:26 +01:00
palette.c ddraw: Take the flip interval into account in ddraw_surface7_Flip(). 2018-03-27 16:13:18 +02:00
surface.c ddraw: Copy the entire front-buffer surface after a buffer swap. 2018-03-30 16:52:05 +02:00
utils.c ddraw: Handle DDLOCK_WRITEONLY in wined3dmapflags_from_ddrawmapflags(). 2018-03-26 11:35:46 +02:00
version.rc
vertexbuffer.c wined3d: Split WINED3D_RESOURCE_ACCESS_MAP into WINED3D_RESOURCE_ACCESS_MAP_R and WINED3D_RESOURCE_ACCESS_MAP_W. 2018-02-19 13:43:52 +01:00
viewport.c ddraw: Use the global memory allocation helpers. 2018-02-13 20:23:26 +01:00