Commit Graph

46 Commits

Author SHA1 Message Date
BearOso 3f0f246028 Fix context resizing and joystick detection. 2023-08-25 11:47:29 -05:00
BearOso dd2072b28e Fix silence adder. 2023-08-25 11:47:29 -05:00
BearOso 7f20a93637 Don't double-wait. 2023-08-25 11:47:29 -05:00
Idiot f1837aa04f Proper sleep implementation for Windows. 2023-08-25 11:47:29 -05:00
Idiot faaf900eb7 More precise std::chrono throttle implementation. 2023-08-25 11:47:29 -05:00
BearOso 5e021b1abc OpaquePaintEvent. 2023-08-25 11:47:29 -05:00
BearOso 744f69a264 Windows changes. 2023-08-25 11:47:29 -05:00
BearOso 7b6ba01760 Vulkan: Change timeouts to be more reasonable.
Report when timeout fails.
2023-08-25 11:47:29 -05:00
BearOso 1b1325066b Qt port. 2023-08-25 11:47:29 -05:00
BearOso 2afe4a11d4 CI acting funky. See if this fixes it. 2023-05-01 11:38:54 -05:00
BearOso b383b94c8c slang: Fix CI build. 2023-04-30 17:18:39 -05:00
BearOso 8f3595e5d3 gtk/vulkan: Use imgui. 2023-04-25 17:36:48 -05:00
BearOso bfdbc28357 vulkan: Actually submit one-time command buffer. 2023-04-17 15:42:28 -05:00
BearOso 3c50e995ee Win32: Allow the Vulkan driver to fail at the loader stage. 2023-03-24 14:39:31 -05:00
BearOso f9374e527b Update glslang to bleeding edge. 2023-03-10 17:24:40 -06:00
BearOso 803125ffe9 win32: Move frame throttle into drivers for precision. 2023-03-07 14:01:29 -06:00
BearOso 309f9e650d vulkan: Move throttle out of swapchain.
Make the swapchain wrapper more flexible, allowing deferring the
swap from the end_frame function.
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 d8584b9d94 slang: Fix race condition to initialize glslang. 2023-03-07 14:01:29 -06:00
BearOso 130e1509da Revert "vulkan/slang: Allow a cache for spv."
This reverts commit db554aa8cd62f083b93d4b2e7147c5d2500366d9.
2023-03-07 14:01:29 -06:00
BearOso 8907541f28 vulkan/slang: Allow a cache for spv. 2023-03-07 14:01:29 -06:00
BearOso 1c787cd309 slang: Remove remnants of using Snes9x's conffile. 2023-03-07 14:01:29 -06:00
BearOso 8e38e14ea9 Vulkan/Slang: Load shader files asynchronously. 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 0bbecf042a win32: Use simple vulkan output. 2023-03-07 13:58:22 -06:00
BearOso bb210dc1a1 Gtk: Move simple vulkan output into separate class. 2023-03-07 13:58:22 -06:00
BearOso f67bdbef3f vulkan: Handle case when no vulkan library is available.
Use one copy of the dynamic loader, if it can't load a library,
drop out of instance creation.
2023-03-07 13:58:22 -06:00
BearOso edbffb9a53 vulkan: Keep dynamic loader around. 2023-03-07 13:58:22 -06:00
BearOso 2fb67c7329 Gtk: Clean up asan leaks. 2023-03-07 13:58:22 -06:00
BearOso b7704733ec win32: Fix vk_mem_alloc.h compatibility break.
Set WINVER to less than Vista to maintain compatibility with Windows XP.
2023-03-07 13:58:22 -06:00
BearOso 076c6bfaf4 Use length instead of size with strings. 2023-03-07 13:58:22 -06:00
BearOso b578ce434b Remove fmt from shader files. 2023-03-07 13:58:22 -06:00
BearOso 56a6396c9a Favor BGRA over RGBA. 2023-03-07 13:58:22 -06:00
BearOso 246a44a940 Error handling. 2023-03-07 13:58:22 -06:00
BearOso fd3a9dba14 Fix a couple validation issues. 2023-03-07 13:58:22 -06:00
BearOso 2c7d5f7a4d Working Win32/Vulkan shader support. 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 4305bb7be1 Fix parameter misordering. Fix a couple sync issues. 2023-03-07 13:58:22 -06:00
BearOso 23cf7ec056 Restrict max latency to 3 frames. 2023-03-07 13:58:21 -06:00
BearOso e4768f9b80 Wayland compatibility with Vulkan. 2023-03-07 13:58:21 -06:00
BearOso 10a2cd19d1 Remove texture canonicalization on global file name. 2023-03-07 13:58:21 -06:00
BearOso ed37f930aa Clean up whitespace and remove a few test files. 2023-03-07 13:58:21 -06:00
BearOso 259dfd07ae Vulkan support.
Gtk port support. Breaks other platforms.
2023-03-07 13:58:21 -06:00
BearOso 88f4d66de8 Move GPU related submodules to external. 2022-03-18 15:49:29 -05:00
BearOso cf2d1bf791 Gtk: OpenGL: Fix non-PBO output path. 2021-05-15 11:23:12 -05:00