Commit graph

102 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
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
BearOso
dcccf28bde Qt: Add mouse support. 2024-04-30 16:28:45 -05:00
BearOso
f6f9cf09e1 CMakeFiles: Tweaks. 2024-04-30 14:39:07 -05:00
BearOso
582128bce7 Qt: Implement Swap Controller 1 & 2 2024-04-22 15:58:35 -05:00
BearOso
98cac16b46 Qt: Allow changing controller ports. No mouse yet. 2024-04-22 15:58:35 -05:00
BearOso
bb905521df Vulkan: Simplify some code. 2024-04-19 16:29:09 -05:00
BearOso
0ae69cd518 Qt: Update paths before loading game. 2024-04-18 14:37:55 -05:00
BearOso
8750a9ec26 Vulkan: Silence some warnings. 2024-04-17 17:12:51 -05:00
BearOso
a5a0a80464 Qt: Fix cheats dialog. 2024-04-17 15:51:38 -05:00
BearOso
e0849ab384 Qt/Windows: Just use a fixed dark fusion style.
Fix dark/light icon calculation to not be based on actual colors,
not the OS theme.
2024-04-16 14:47:57 -05:00
BearOso
31db46516d Qt/Windows: Don't use new windows11 style with Qt 6.7.
It has some glitches.
2024-04-15 15:51:41 -05:00
BearOso
46c6bd7eb4 Vulkan-Hpp: Don't use exceptions. 2024-04-12 18:47:16 -05:00