Commit Graph

24 Commits

Author SHA1 Message Date
BearOso
3980a9d6d4 Vulkan: Fix inverted logic. 2024-06-13 15:56:04 -05:00
BearOso
5949bbab97 Vulkan: Utilize VK_EXT_swapchain_maintenance1.
This is core in Vulkan 1.1.

We can now change vsync state without a new swapchain.

A fence is signaled when image is on screen, so we can possibly
be a little more precise with timing and avoid a whole device wait.
2024-06-12 16:54:13 -05:00
BearOso
c02ee4373e Vulkan: Refactor device acquisition for cleanness. 2024-06-11 16:07:38 -05:00
BearOso
51b6528224 Vulkan: Fix a couple of unsigned/signed warnings. 2024-05-04 15:43:54 -05:00
bernborgess
3c09b1ea63 Fixed semicolon in vulcan_context.cpp 2024-04-20 09:23:21 -03:00
BearOso
bb905521df Vulkan: Simplify some code. 2024-04-19 16:29:09 -05:00
BearOso
130942f578 Vulkan: Fix compile issues on Windows because of min/max. 2024-04-13 11:06:14 -05:00
BearOso
46c6bd7eb4 Vulkan-Hpp: Don't use exceptions. 2024-04-12 18:47:16 -05:00
BearOso
b8d0b8ec9e Fix some unsigned/signed comparisons. 2023-10-10 19:44:06 -05:00
BearOso
e3f1790711 Vulkan/Gtk: Make instance creation fail more robust. 2023-10-09 14:15:46 -05:00
BearOso
744f69a264 Windows changes. 2023-08-25 11:47:29 -05:00
BearOso
1b1325066b Qt port. 2023-08-25 11:47:29 -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
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
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
daa0e168e8 Getting win32 ready for Vulkan. 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
259dfd07ae Vulkan support.
Gtk port support. Breaks other platforms.
2023-03-07 13:58:21 -06:00