reactos/dll/directx/wine/ddraw
Simone Mario Lombardo 6755921560
[DDRAW] Sync the fix for swap_interval from Wine (#4831)
Sync the barebone fix from Wine (wine-7.19-557-g13cc08e32d6):
https://source.winehq.org/git/wine.git/?a=search&h=HEAD&st=grep&s=ddraw_surface_update_frontbuffer%28
and
13cc08e32d:/dlls/ddraw/surface.c

- Added "swap_interval" argument to ddraw_surface_update_frontbuffer()
- Added ddraw_swap_interval_from_flags() function for dispatching
  the integer type of required swap interval
- Updated ddraw_surface_update_frontbuffer() function for managing the
  swap interval between backbuffer and frontbuffer (and relative flipping)
- Updated the ddraw_surface7_Flip() function for relaying the swap interval
  to ddraw_surface_update_frontbuffer() function.
- Added 0 value (as Wine) when the swap interval is not required

This fixes empty white screen issue on rendering because of lacking
swap interval for the software / games that use ddraw.

CORE-18547
2022-11-09 20:44:30 +03:00
..
clipper.c
CMakeLists.txt [CMAKE] Replace custom functions to built-in ones 2020-04-16 15:59:38 +03:00
ddraw.c [DDRAW] ddraw.c ddraw7_FlipToGDISurface() to Wine-6.8 (#3827) CORE-15128 2021-07-15 19:04:46 +02:00
ddraw.rc
ddraw.spec
ddraw_classes.idl
ddraw_classes.rgs
ddraw_private.h [DDRAW] Sync the fix for swap_interval from Wine (#4831) 2022-11-09 20:44:30 +03:00
device.c [D3D8][D3D9][DDRAW][D3DCOMPILER_43][WINED3D] Revert to Wine Staging 3.3 2019-10-03 18:38:29 +02:00
executebuffer.c [D3D8][D3D9][DDRAW][D3DCOMPILER_43][WINED3D] Revert to Wine Staging 3.3 2019-10-03 18:38:29 +02:00
light.c
main.c
material.c
palette.c [DDRAW] Sync the fix for swap_interval from Wine (#4831) 2022-11-09 20:44:30 +03:00
precomp.h
surface.c [DDRAW] Sync the fix for swap_interval from Wine (#4831) 2022-11-09 20:44:30 +03:00
utils.c [DDRAW] Handle DDLOCK_WRITEONLY in wined3dmapflags_from_ddrawmapflags() CORE-18378 (#4713) 2022-09-18 20:53:30 +02:00
version.rc
vertexbuffer.c
viewport.c [D3D8][D3D9][DDRAW][D3DCOMPILER_43][WINED3D] Revert to Wine Staging 3.3 2019-10-03 18:38:29 +02:00