Commit Graph

113 Commits

Author SHA1 Message Date
BearOso 20859bb324 qt: Bump static SDL3 version. 2025-08-04 17:33:42 -05:00
BearOso 3aaa05baa4 qt: Use static SDL3 by default. Specify USE_SYSTEM_SDL3 for dynamic. 2025-08-04 17:25:24 -05:00
BearOso 02af08190f qt: Readd fmtlib to qt CMakeLists.txt 2025-08-04 17:06:55 -05:00
BearOso 68acd5bfa3 qt: Fix conversion of hat state to button presses.
old_state was never updated. Also, multiple events can be generated with the
conversion from analog to discrete events, so change the outputs to a vector.
2025-07-03 11:32:40 -05:00
BearOso a93dd67c51 Qt/win32: Fix compiling opengl driver. 2025-06-13 20:15:53 -05:00
BearOso 366cde5cd3 Qt: More Cleanups. 2025-06-12 16:28:30 -05:00
BearOso acb821e367 qt: Clean up. 2025-06-12 16:28:30 -05:00
BearOso 819e1740fb qt: Clean up Snes9xController 2025-06-12 16:28:30 -05:00
BearOso 2a0a9d0454 qt: Clean up EmuConfig a bit. 2025-06-12 16:28:30 -05:00
BearOso 8973d9a60f qt: Clean up SDLInputManager 2025-06-12 16:28:30 -05:00
BearOso e53e2b43e6 Vulkan: Update headers and vk_mem_alloc. 2025-05-03 11:15:42 -05:00
BearOso 663738341a qt,gtk/vulkan: Add VK_EXT_present_wait support again. 2025-01-24 15:55:41 -06:00
BearOso 5df649d49a Qt: Use SDL 3.2.0 tag. 2025-01-21 16:38:16 -06:00
Gilberto Chavez-Martinez 6794f51461
Update EmuApplication.cpp: handle Quit binding
Added handling of binding for Quit.
2024-12-17 19:24:07 -05:00
BearOso 1dbfd2e141 Qt: Use FetchContent for SDL3 on Windows or if not found. 2024-12-13 19:47:15 -06:00
BearOso 73b71c865b Qt: Allow building on unix without SDL video support. 2024-12-13 19:12:54 -06:00
BearOso 959da2aa04 Qt: Free bindings. 2024-12-13 19:08:09 -06:00
BearOso 03ec60cfda Qt: Fix up SDL3 button binding. 2024-12-13 19:04:56 -06:00
BearOso 56e58cdf99 Qt: Switch to SDL3 for audio and input.
SDL3 is not a submodule in the git tree yet, so as to not cause
an extra checkout for the other ports. It will eventually go in
external/SDL.
2024-12-13 17:14:34 -06:00
BearOso 9be3ed49a8 Qt/Vulkan: Don't show canvas before embedding.
It would briefly pop up as a new window.
2024-12-08 15:56:09 -06:00
BearOso 0e309e5c7c Gtk/Qt/Vulkan: Don't set vsync before swapping.
This destroys the swapchain.
2024-12-06 15:10:54 -06:00
BearOso a7d59843da Qt: Adapt to 6.8 changes for Wayland.
Remove parent stackwidget. Don't set native properties for the render,
widget because they apply to the main window instead. Subsurfaces
don't need that anyway.
2024-12-06 14:58:22 -06:00
BearOso fd05ca7df5 Qt: Show paths in native format on Win32. 2024-10-28 17:32:29 -05:00
BearOso 81f189cf57 Qt: Fix build on Windows. 2024-10-28 17:07:10 -05:00
BearOso f6a46f5831 Clean up unused headers. 2024-10-22 14:58:50 -05:00
BearOso 79f6e911f3 Vulkan: Use helper for image transitions. 2024-10-17 15:15:21 -05:00
BearOso 13824a6ef4 Vulkan: Allocate swapchain on context create. 2024-10-07 14:43:52 -05:00
BearOso befb0ba768 Qt: Use C++20. 2024-10-07 14:24:26 -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 9ed6f9d86b Screenshot: Don't use colon in filename. Use localtime
instead of localtime_r/s. Enable screenshots on Qt build.
2024-09-15 10:14: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 15ae9de25b Qt/Vulkan: Don't try to draw black any more. 2024-09-05 16:10:06 -05:00
BearOso 8559143576 Fix compile on Windows. 2024-08-10 18:03:55 -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 8b1d67397e Qt: Experiment with alternate widget while a game isn't running. 2024-08-02 18:10:03 -05:00
BearOso 5d9f5b061b Qt: Output S9xMessage to console. 2024-07-29 15:57:03 -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 55724eba1d Qt: Change browse button to "Open Folder" button when location isn't custom.
Enables quick access to the ROM directory or the config directory.
2024-05-25 12:04:58 -05:00
BearOso 794b4fdc72 Qt: Remove debug print from hat press. 2024-05-24 20:05:27 -05:00
BearOso 738e53989e Cheats: Retain enabled state when updating existing cheat.
Fix inverted logic in Qt cheat window.
2024-05-18 19:25:33 -05:00
BearOso 8f41776532 Qt: Hide software filter box.
May remove this in the future because it's unneeded with shaders.
2024-05-13 14:26:02 -05:00
BearOso c9b90655bd Qt/Windows: Match system color scheme.
Use windowsvista style for light, dark fusion scheme for dark.
2024-05-13 13:58:31 -05:00
BearOso cfabbd7f97 Qt: Prefer non-local config dir on Windows, and check for correct name. 2024-05-12 15:11:47 -05:00
BearOso 6dd6f1945b Update version strings from 1.62.3 to 1.63. 2024-05-10 14:37:25 -05:00
BearOso add607c38f Qt: Add save slot status info. 2024-05-07 14:27:28 -05:00
BearOso c39e86c0c6 Qt: More built-in icons. 2024-05-04 15:38:29 -05:00
BearOso 771b0ffc37 Qt: Mouse fixes. 2024-05-01 16:09:44 -05:00