1
0
mirror of https://github.com/narzoul/DDrawCompat synced 2024-12-30 08:55:36 +01:00

173 Commits

Author SHA1 Message Date
narzoul
79d2eea9e3 Added support for Steam overlay in fullscreen mode 2024-04-21 21:03:55 +02:00
narzoul
ec9cf32e91 Fixed alt-tabbing in Rayman 2
See issue #286.
2024-04-21 21:03:54 +02:00
narzoul
d5a89cad94 Reworked presentation handling during lost primary suface
Fixes video problems in Prince of Persia 3D (issue #273).
2024-04-21 21:03:10 +02:00
narzoul
c344ec3408 Added a primary surface repository 2024-04-14 15:09:19 +02:00
narzoul
f36a255ac9 Fixed blitting with a window clipper when the window region is empty
Fixes invisible menu buttons after alt-tabbing in Red Alert 2 (issue #262).
2024-04-14 15:09:19 +02:00
narzoul
bc88dd2e92 Added support for presenting from locked primary surface
See issue #260.
2024-04-14 15:09:19 +02:00
narzoul
45d755cb41 Use igd9trinity32.dll when ForceD3D9On12=off 2024-04-14 15:09:19 +02:00
narzoul
f036b730f6 Fixed some issues with display mode changes
See issue #196.
2024-04-14 15:09:19 +02:00
narzoul
329679b4e9 Revert "Always use DDLOCK_NOSYSLOCK"
This reverts commit 246108bbdfb0bde175a63f06afc2f5b36e85ac36.

See issue #256.
2023-11-17 21:53:03 +01:00
narzoul
439750e174 Reduced cursor flickering during temporary mode changes 2023-11-12 18:02:38 +01:00
narzoul
9ab0d2517d Fixed FlipToGDISurface result code when the GDI surface is already active
See #204.
2023-11-12 18:02:38 +01:00
narzoul
97805b17b6 Improved support for DPI unaware apps 2023-11-12 18:02:38 +01:00
narzoul
7a438d5485 Fixed logging of unrecognized GUIDs 2023-11-12 18:02:38 +01:00
narzoul
5ce45f8063 Added support for OBS window capture and taskbar thumbnails 2023-11-12 18:02:38 +01:00
narzoul
9eba917e09 Fixed software palettized textures when PalettizedTextures is off
Fixes menu corruption in Colin McRae Rally.
2023-11-11 17:16:39 +01:00
narzoul
383ffd28b9 Fixed GetAttachedSurface when DDSCAPS_3DDEVICE is suppressed
Fixes a crash in Colin McRae Rally (#232).
2023-11-11 17:16:39 +01:00
narzoul
3b8ff67cc4 Enable Intel Indeo Video codecs 2023-11-11 17:16:39 +01:00
narzoul
f8fe000ac6 Added StatsRows=debug setting 2023-11-11 17:16:39 +01:00
narzoul
ca485fc15c Don't count overlay-only updates in present stats 2023-11-11 17:16:39 +01:00
narzoul
f13e010834 Added AltTabFix=keepvidmemnp setting 2023-11-11 17:16:39 +01:00
narzoul
4c4051a844 Reduced flickering when changing display modes in scaled fullscreen mode 2023-11-11 17:16:39 +01:00
narzoul
7ec4d076f6 Fixed fullscreen mode detection in SetCooperativeLevel
See issue #225.
2023-11-11 17:16:39 +01:00
narzoul
3627af8d37 Added Lanczos display filter 2023-11-11 17:16:38 +01:00
narzoul
0b7f4589f2 Added DesktopResolution setting 2023-11-11 17:16:38 +01:00
narzoul
defdfafe20 Fixed depth buffer issues with D3D9On12 2023-11-11 17:16:34 +01:00
narzoul
12c4f87cb6 Emulate unsupported render target formats
Fixes Midtown Madness 2 rendering on NVIDIA. See issue #159.
2023-11-05 14:21:19 +01:00
narzoul
83941ddb8e Don't set GDI resource while primary is lost 2023-11-05 14:21:19 +01:00
narzoul
6425c6c767 Added DepthFormat setting 2023-11-05 14:21:19 +01:00
narzoul
95ade4412b Added VertexBufferMemoryType setting 2023-11-05 14:21:18 +01:00
narzoul
25f325ec17 Log used resource formats 2023-11-05 14:21:18 +01:00
narzoul
97197dde6a Removed dependency on common config header 2023-11-05 14:21:18 +01:00
narzoul
89a16d92e8 Added CpuAffinityRotation setting 2023-11-05 14:21:18 +01:00
narzoul
2b8805d9ef Improved scheduling for overlay updates 2023-11-05 14:21:18 +01:00
narzoul
ac1eccd79f Fixed invisible cursor when changing to native resolution in Red Alert 2 2023-11-05 14:21:18 +01:00
narzoul
246108bbdf Always use DDLOCK_NOSYSLOCK
Fixes presentation stuttering when a surface is locked indefinitely.
2023-11-05 14:21:18 +01:00
narzoul
07d77d09dc Added stats overlay 2023-11-05 14:21:15 +01:00
narzoul
ab443a1ac2 Remove mipmap caps from textures with single mip level
Fixes texture creation errors in Extreme-G 2 (see issue #159).
2022-11-26 14:38:23 +01:00
narzoul
113da37945 Fixed a crash caused by a clipper reference counting error 2022-10-15 15:22:07 +02:00
narzoul
13e4d90116 Added SoftwareDevice setting 2022-09-27 21:45:21 +02:00
narzoul
bb0eadc310 Added PalettizedTextures setting 2022-09-27 21:45:20 +02:00
narzoul
ebba0ec6a4 Restore primary surface globals if create fails
Fixes error creating "second" primary in Prince of Persia 3D when
starting a new game.  First primary is not completely released because
IDirectDrawGammaControl is not released. Native ddraw still allows
creation of a second fullscreen primary in this case.

This fix replaces the previous fix for Conquest: Frontier Wars also.
2022-09-27 21:45:19 +02:00
narzoul
524f708a7f Handle display scaling while primary surface is lost 2022-09-27 21:45:18 +02:00
narzoul
9bca0a6ba0 Fixed alt-tabbing in Titanic: Adventure Out of Time 2022-09-27 21:45:18 +02:00
narzoul
6fdc7ad21a Prevent creating multiple primary surfaces
Fixes borderless fullscreen mode in Conquest: Frontier Wars
2022-09-27 21:45:17 +02:00
narzoul
6327bc506f Create default primary in fullscreen mode
Fixes intro videos displaying in a small window in Midtown Madness 2
2022-09-27 21:45:17 +02:00
narzoul
2099c80095 Fixed GDI display issues in Titanic: Adventure Out of Time 2022-09-27 21:45:16 +02:00
narzoul
18360643f5 Fixed handleActivateApp not enumerating some surfaces 2022-09-27 21:45:15 +02:00
narzoul
8fc97386b6 Added FpsLimiter setting 2022-09-27 21:45:14 +02:00
narzoul
bf58555d22 Use default primary if none exists for windowed fullscreen presentation 2022-09-27 21:45:14 +02:00
narzoul
5ce5ea0668 Handle DisplayResolution scaling in windowed mode 2022-09-27 21:45:14 +02:00