Alexandre Julliard pushed to branch master at wine / wine
Commits: 7d5d8b2c by Elizabeth Figura at 2025-10-01T11:04:06+02:00 ddraw/tests: Do not validate that vidmem D32 is not supported.
Windows 98 NVidia and ATI drivers seem to support this.
- - - - - 9fc3862d by Elizabeth Figura at 2025-10-01T11:04:08+02:00 ddraw/tests: Fix test_caps() on Windows 98.
Tested with an ATI Rage 128 and a NVidia GeForce 2 MX under Windows 98.
This fixes a number of failures:
* DirectDraw drivers on Windows 98 sometimes support some flags listed under caps_never, namely ALPHA, SYSTEMMEMORY, VISIBLE, HWCODEC, MODEX, STANDARDVGAMODE.
* DirectDraw drivers on Windows 98 sometimes lack some flags listed under caps_hal, namely COMPLEX, FRONTBUFFER, LOCALVIDMEM and NONLOCALVIDMEM.
* SYSTEMMEMORY and OVERLAY are additionally both supported on both the ATI and NVidia cards on Windows 98, but not WARP. Conversely, WARP supports COMPLEX and OWNDC, which neither the ATI or NVIDIA cards do. I haven't gone to the trouble of marking these flags as WARP-specific, however.
* HEL caps are uniform across drivers, including WARP. Since the HEL is a Microsoft component this is not particularly surprising. Accordingly those tests are tightened to check for an exact match, and the caps_hal and caps_always flags are combined and simplified.
* Current WARP seems to have fixed divergence in behaviour between 32-bit and 64-bit ddraw.
- - - - - 211bc1ce by Elizabeth Figura at 2025-10-01T11:04:12+02:00 ddraw/tests: Test dwZBufferBitDepths.
- - - - - 696270eb by Elizabeth Figura at 2025-10-01T11:04:12+02:00 ddraw: Fill dwZBufferBitDepths.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=27002
- - - - -
6 changed files:
- dlls/ddraw/ddraw.c - dlls/ddraw/tests/ddraw1.c - dlls/ddraw/tests/ddraw2.c - dlls/ddraw/tests/ddraw4.c - dlls/ddraw/tests/ddraw7.c - dlls/wined3d/utils.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/b2acf5d8568026715101d4509bbe04...