Commit Graph

499 Commits

Author SHA1 Message Date
BearOso 3c50e995ee Win32: Allow the Vulkan driver to fail at the loader stage. 2023-03-24 14:39:31 -05:00
BearOso 929a213b71 Win32: Don't change hi-res filter when changing lo-res filter. 2023-03-24 13:54:34 -05:00
OV2 ea94129762 win32: fix warning 2023-03-24 15:53:30 +01:00
BearOso 9c92a3b38c Win32: Make frame skip box 1px wider to match. 2023-03-23 14:31:48 -05:00
OV2 b9395814ae win32: align display dialog checkbox positions, adjust tab order 2023-03-23 12:14:27 +01:00
BearOso 00a6342111 win32: Set OGLDisablePBOs to true by default. 2023-03-17 17:13:46 -05:00
OV2 6e34ff268c win32: remove remains of old frame timer 2023-03-17 00:51:47 +01:00
OV2 f66e081c8c win32: fix speed up / down 2023-03-17 00:46:55 +01:00
OV2 b1ea4c86b6 win32: use strings in S9xGetFilenameInc 2023-03-17 00:17:20 +01:00
OV2 fc7668c9f0 win32: directly return string 2023-03-16 23:46:25 +01:00
BearOso 35e41aa37e Update some copyrights and version strings. 2023-03-16 16:28:04 -05:00
BearOso 19e4295089 win32: Use UTF-8 on rom name in info dialog. 2023-03-16 16:06:57 -05:00
BearOso 24cea1972c win32: Don't allow Vulkan and OpenGL to be used in the same session. 2023-03-15 15:54:43 -05:00
BearOso 5e02a77d59 Revert "win32: Make changes to display driver not occur until restart."
This reverts commit 39e21410d8.
2023-03-15 15:47:35 -05:00
BearOso e306405cd1 win32: Add fullscreen on ROM open option. 2023-03-13 13:57:30 -05:00
BearOso c64e99f504 win32: Only display first 500 shader parameters.
Mega-Bezel is absurd. There's no need for all those parameters.
2023-03-13 13:31:32 -05:00
OV2 cc0a87711a win32: remove unneccessary function 2023-03-12 23:59:39 +01:00
OV2 da4d6e1dd4 win32: restore rom name in info dialog 2023-03-12 18:03:42 +01:00
BearOso 176556dfd3 Add menu items to scale windows up to 10x. 2023-03-12 11:10:02 -05:00
OV2 eaaf1ad779 win32: make shader params part of IS9xDisplayOutput, add override
specifier
2023-03-12 14:12:24 +01:00
OV2 fcdc865641 win3: use precalculated values 2023-03-12 14:12:24 +01:00
BearOso 0b0607722c win32: Add "Clear List" option to recent menu. 2023-03-11 18:06:42 -06:00
BearOso 608f8b7137 win32: Make snapshot preview window work in fullscreen.
This could be system specific, but it works for me now.
2023-03-10 17:56:53 -06:00
BearOso b4b2007529 win32: Fix compilation errors with VS/Clang. 2023-03-10 14:32:10 -06:00
BearOso cd57135d9a win32: Better solution for registry entries.
Add by default, but remove them when box is unchecked.
2023-03-08 14:40:15 -06:00
BearOso 036fa5a951 win32: Ask about registry keys on first start. Also...
add a command-line option to remove these keys.
2023-03-08 14:31:55 -06:00
BearOso b258636054 win32: Fix a couple of standards problems. 2023-03-07 14:01:29 -06:00
BearOso a6560f70b5 win32: Remove need for DirectXMath.
It only compiles with VC.
2023-03-07 14:01:29 -06:00
BearOso 39e21410d8 win32: Make changes to display driver not occur until restart. 2023-03-07 14:01:29 -06:00
BearOso 803125ffe9 win32: Move frame throttle into drivers for precision. 2023-03-07 14:01:29 -06:00
BearOso b82edaac96 vulkan: Add a throttler before present for precise frame rates. 2023-03-07 14:01:29 -06:00
BearOso 1d0dab45da win32: Flush message queue between driver changes. 2023-03-07 14:01:29 -06:00
BearOso 1907b9e25b win32: Tweak busy loop/sleep balance a bit. 2023-03-07 14:01:29 -06:00
BearOso daf4a60b65 win32: Fix CPU usage with new throttle. 2023-03-07 14:01:29 -06:00
BearOso e923382395 win32: Replace timer-based throttling.
The old code used low-res timers that would vary by at least 3ms and
couldn't handle freesync/gsync's needs. So I removed the old
time API calls and interrupt and did a rudimentary throttle with QPC.

This may break NetPlay. Nobody (sane) will ever notice.
2023-03-07 14:01:29 -06:00
BearOso 54770ef3cc win32: Try to handle race in changing drivers. 2023-03-07 14:01:29 -06:00
BearOso 4f08da4cd8 vulkan/win32: Provide reasonable default swapchain.
If extents are reported 0xffffffff, swapchain expects a provided
default size.
2023-03-07 14:01:29 -06:00
BearOso 19787b12f1 win32: Add default option to not add entries to registry. 2023-03-07 14:01:29 -06:00
BearOso c7d4c2e478 win32: Clean up some warnings. 2023-03-07 13:58:22 -06:00
BearOso 2914fdf64c win32: Handle p.min properly in shader dialog.
Windows trackbars with integral values are annoying.
2023-03-07 13:58:22 -06:00
BearOso 8270c1c658 win32: Tweak the shader parameter dialog a bit. 2023-03-07 13:58:22 -06:00
BearOso 6ffca967f7 win32: Request 32-bit color on Win32/OpenGL. 2023-03-07 13:58:22 -06:00
BearOso 0bbecf042a win32: Use simple vulkan output. 2023-03-07 13:58:22 -06:00
BearOso 93a242312f win32: Fix a couple of crashes. 2023-03-07 13:58:22 -06:00
BearOso 2c7d5f7a4d Working Win32/Vulkan shader support. 2023-03-07 13:58:22 -06:00
BearOso 89bbf08c74 Add shaderchain support to win32. 2023-03-07 13:58:22 -06:00
BearOso 44a2958c31 Windows Vulkan working generically. 2023-03-07 13:58:22 -06:00
BearOso daa0e168e8 Getting win32 ready for Vulkan. 2023-03-07 13:58:22 -06:00
BearOso 11dd6b1e6d Fix up Windows build errors. 2023-03-07 13:58:22 -06:00
BearOso 65dbcaf2fb Fix glslang reconfiguration. 2023-03-07 13:58:21 -06:00