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

427 Commits

Author SHA1 Message Date
narzoul
d39a4ab0fc Fixed stuck taskbar buttons 2022-09-27 21:45:14 +02:00
narzoul
5ce5ea0668 Handle DisplayResolution scaling in windowed mode 2022-09-27 21:45:14 +02:00
narzoul
fc16184256 Handle resolution scaling in windowed mode 2022-09-27 21:45:13 +02:00
narzoul
96ad1d6ab6 Added DpiAwareness setting 2022-09-27 21:45:12 +02:00
narzoul
fa99142587 Added AlignSysMemSurfaces setting 2022-09-27 21:45:12 +02:00
narzoul
641df63f14 Use types and constants from ddrawi.h 2022-09-27 21:45:11 +02:00
narzoul
726f237724 Don't hook drivers for Direct3D 8/9 runtimes 2022-09-27 21:45:11 +02:00
narzoul
0b1980bf20 Fill the black screen borders during scaled presentation
Necessary for cleaning up NVIDIA overlay.
2022-09-27 21:45:11 +02:00
narzoul
c3f0f9491a Added export/import/reset buttons to config overlay 2022-09-27 21:45:11 +02:00
narzoul
9a37aa6e24 Added caption and close button to config overlay 2022-09-27 21:45:10 +02:00
narzoul
87c2af5049 Added LogLevel setting 2022-09-27 21:45:10 +02:00
narzoul
32301efd5c Workaround for NVIDIA texture color key bug 2022-09-27 21:45:10 +02:00
narzoul
6463cc84aa Update only changed pixels when scaled render target is unlocked 2022-09-27 21:45:09 +02:00
narzoul
0bc2694cce Force resolution scaling on primary surface 2022-09-27 21:45:09 +02:00
narzoul
22c61dc115 Added BltFilter setting 2022-09-27 21:45:08 +02:00
narzoul
516ed1f7da Added WinVersionLie setting 2022-09-27 21:45:08 +02:00
narzoul
04c29d1f38 Added RemoveBorders setting 2022-09-27 21:45:08 +02:00
narzoul
0ee03e4553 Added KeepVideoMemory setting 2022-09-27 21:45:07 +02:00
narzoul
01be996c36 Fixed dialog window position in scaled fullscreen mode 2022-09-27 21:45:06 +02:00
narzoul
31444c364a Support gamma ramps in borderless fullscreen mode 2022-09-27 21:45:06 +02:00
narzoul
9813e8b1b7 Added VSync setting 2022-09-27 21:45:05 +02:00
narzoul
80863f77a7 Updated presentation logic 2022-09-27 21:45:05 +02:00
narzoul
55eab96f78 Added FullscreenMode setting 2022-09-27 21:45:05 +02:00
narzoul
fb9f28456e Added ForceD3D9On12 setting 2022-09-27 21:45:05 +02:00
narzoul
ea369261df Added SpriteDetection setting 2022-09-27 21:45:04 +02:00
narzoul
20912dce37 Added support for D3D9On12 (windowed mode only) 2022-09-27 21:45:04 +02:00
narzoul
6ca41202f3 Added SpriteFilter config 2022-09-27 21:45:03 +02:00
narzoul
19985f294e Added SpriteTexCoord setting 2022-09-27 21:45:03 +02:00
narzoul
8905f421cf Added ConfigHotKey setting 2022-09-27 21:45:03 +02:00
narzoul
408ccee3d8 Added DisplayRefreshRate setting 2022-09-27 21:45:03 +02:00
narzoul
0d85ab5dc6 Added highlighting and focus to config overlay 2022-09-27 21:45:03 +02:00
narzoul
9d7f36c45b Scale config overlay with resolution 2022-09-27 21:45:03 +02:00
narzoul
229fe449ef Merge helper GUI threads 2022-09-27 21:45:02 +02:00
narzoul
fa8dec88c5 Block DwmEnableComposition
Fixes main menu flickering in Rogue Spear on Windows 7 (#126)
2022-09-27 21:45:02 +02:00
narzoul
177b81921a Fixed Window::invalidatedRegion reset to null instead of empty 2022-09-27 21:45:02 +02:00
narzoul
7a84efc1da Apply ResolutionScale to layered windows 2022-09-27 21:45:01 +02:00
narzoul
26261b5287 Handle oversized surface blits in system memory 2022-09-27 21:45:01 +02:00
narzoul
c714383613 Added ResolutionScale setting 2022-09-27 21:45:01 +02:00
narzoul
8b393ea498 Fix vertex positions via vertex shader 2022-09-27 21:45:00 +02:00
narzoul
075287b16a Perform sysmem to vidmem render target blits via Direct3D 2022-09-27 21:44:59 +02:00
narzoul
436a8184bb Handle mirroring and color keying via Direct3D 2022-09-27 21:44:59 +02:00
narzoul
c1e654de7d Added RenderColorDepth setting 2022-09-27 21:44:59 +02:00
narzoul
9fb450e233 Accumulate device state changes 2022-09-27 21:44:59 +02:00
narzoul
664c573d91 Fixed performance issues caused by D3DKMTWaitForVerticalBlankEvent
See issue #104 and #120.
2022-09-27 21:44:58 +02:00
narzoul
175d7e7c53 Upgrade to VS 2022 2022-09-27 21:44:58 +02:00
narzoul
b878028748 Always wait for flip before Blt/Lock
Returning DDERR_WASSTILLDRAWING interferes with rendering in Lego Island.
Viewport clear should wait for flip, but it's internally buffered by ddraw
and flushed during Blt, which didn't happen because of Blt failing early.
2022-09-27 21:44:58 +02:00
narzoul
67f38479b7 Count non-local vidmem as local up to the 1GB limit
Compensates for DVMT not reporting sufficient local video memory
for surface allocation on integrated Intel GPUs.
2022-09-27 21:44:58 +02:00
narzoul
5eaa79d04c Improved logging of pointers and references 2022-09-27 21:44:58 +02:00
narzoul
62e7dc0850 Remove deleted vertex buffers from device state 2022-09-27 21:44:57 +02:00
narzoul
3c4a8ef2c5 Fixed conflicts with local outdated copies of DbgHelp.dll 2022-09-27 21:44:57 +02:00