Commit graph

28 commits

Author SHA1 Message Date
BearOso
663738341a qt,gtk/vulkan: Add VK_EXT_present_wait support again. 2025-01-24 15:55:41 -06:00
BearOso
191cdf462a vulkan/wayland: Use mailbox present mode.
FIFO can stall when other windows obscure the main window.
2025-01-24 13:33:59 -06:00
BearOso
e6c4f617cc Vulkan: Move descriptor pool out of context. 2024-10-26 20:26:47 -05:00
BearOso
f6a46f5831 Clean up unused headers. 2024-10-22 14:58:50 -05:00
BearOso
170a6aa1a4 Vulkan: Favor default initializers. 2024-10-22 14:27:23 -05:00
BearOso
c6e0fbf866 Vulkan: Remove unused line. 2024-10-17 15:21:31 -05:00
BearOso
14910960eb Vulkan: Add common function files. 2024-10-17 15:16:43 -05:00
BearOso
79f6e911f3 Vulkan: Use helper for image transitions. 2024-10-17 15:15:21 -05:00
BearOso
39c0f8418b Vulkan: Use recommended access flags for image layout transitions. 2024-10-17 13:48:46 -05:00
BearOso
13824a6ef4 Vulkan: Allocate swapchain on context create. 2024-10-07 14:43:52 -05:00
BearOso
14c434d40d Vulkan: Use references in Swapchain. 2024-10-05 17:46:01 -05:00
BearOso
08403d47d1 Vulkan/win32: Fix build errors. 2024-10-03 11:27:07 -05:00
BearOso
febcf27482 Vulkan: Separate context, surface, and swapchain. 2024-10-03 11:19:42 -05:00
BearOso
0c547f3486 Gtk/Wayland: Different workaround for Gtk damage bug.
Instead of completely shutting down the display driver, shrink the
subsurface when removing fullscreen so that when the parent window
sends events when it receives damage or is resized.
2024-09-12 14:21:03 -05:00
BearOso
5449e2d3c5 vulkan: Fix compile errors reported in Issue #946. 2024-09-06 13:35:46 -05:00
BearOso
645a4712e7 vulkan: Remove waiting extensions.
I guess these aren't widely supported.
2024-09-05 18:09:11 -05:00
BearOso
fb89cbf4c4 vulkan: Tidy a bit. 2024-09-05 16:07:37 -05:00
BearOso
c8895c8cdb vulkan: Add support for VK_KHR_present_wait
May have a tighter CPU-GPU sync for lower latency.
2024-09-02 13:17:08 -05:00
BearOso
1773782575 Move vulkan to common/video. 2024-08-10 17:41:47 -05:00
BearOso
9f7173f819 Move shaders directory into common/video/opengl. 2024-08-10 17:08:57 -05:00
BearOso
5c7847acbb Sort common OpenGL and Wayland files into folders. 2024-08-10 17:00:40 -05:00
BearOso
f0001ab428 Wayland: Reorder resizing operations
Ensure a buffer is in place before calling viewporter.
2024-01-09 10:31:49 -06:00
BearOso
9b77335345 Wayland: Unset source coordinates to just use whole buffer. 2024-01-09 10:05:37 -06:00
BearOso
6555feecda Wayland: Round preferred scale multiplication.
wl_fractional_scale_v1 spec says to round halfway away from zero.
2023-08-31 14:01:09 -05:00
BearOso
2fd8b52163 Qt: More updates. 2023-08-25 11:47:29 -05:00
BearOso
ec8bdaa6eb WaylandSurface: Do roundtrip to get fractional size before initialization. 2023-08-25 11:47:29 -05:00
BearOso
1b1325066b Qt port. 2023-08-25 11:47:29 -05:00
BearOso
9a0712b258 Gtk: Rename frontend-common to common and move files to video subfolder. 2023-06-07 11:31:24 -05:00