Commit Graph

2553 Commits

Author SHA1 Message Date
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 2ffc66c33c Gtk/Wayland: Only allow one pause state change per focus change.
Check whether we've already paused for it.

Gtk/Wayland sends multiple focus_notify events with the same
state, even when it doesn't change. This occurs when popup
menus are opened and closed.
2024-12-09 15:32: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 b5d9217881 Win32: Don't build fmtlib.
Windows port doesn't use it.
2024-10-26 20:29:21 -05:00
BearOso e6c4f617cc Vulkan: Move descriptor pool out of context. 2024-10-26 20:26:47 -05:00
BearOso 20768ed8b2 Remove accidental commit of xbrz. 2024-10-25 18:58:49 -05:00
BearOso 8a33829bce external: Update fmtlib. 2024-10-25 18:54:14 -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 932b093d98 Gtk/OpenGL: Fix context resize broken in is_x11/is_wayland change. 2024-10-20 19:30:15 -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 71f2ba2d7e Gtk: Confused is_wayland/is_x11. 2024-10-16 13:18:19 -05:00
BearOso 5b1f20ec52 Gtk: Use is_x11 function. 2024-10-14 20:45:44 -05:00
BearOso 1fc9f26522 Gtk: Fix refresh rate detection break. 2024-10-14 10:16:05 -05:00
BearOso 0c228f0e0c Gtk: Use a Wayland check function. 2024-10-12 17:06:07 -05:00
BearOso b19e31c83f Gtk: Get Superscope working. 2024-10-12 17:05:26 -05:00
BearOso 8028d3b6ca S-DSP: Initialize a couple registers to fix Magical Drop. 2024-10-11 13:53:24 -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 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
OV2 72e4946410 win32: use selected bank for slot save/load, display both slot and bank
in info string (#953)
2024-09-27 21:10:25 +02:00
BearOso 0727b4a474 Gtk: Clean up Snes9xWindow a bit. 2024-09-15 14:35:23 -05:00
bearoso e06f1887d4
Merge pull request #950 from Thorarin/load-preview-fix
Fix load with preview file names and time stamps on extra banks
2024-09-15 10:18:26 -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
Marcel Veldhuizen d5ba1c6017 Fix load with preview file names and time stamps on extra banks 2024-09-14 23:32:58 +02: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 ea243051ed Save screenshot files with date for easier sorting. 2024-09-11 19:22:45 -05:00
BearOso ebd9df46ec Gtk: Avoid saving the size while fullscreening occurs. 2024-09-11 14:45:07 -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 15ae9de25b Qt/Vulkan: Don't try to draw black any more. 2024-09-05 16:10:06 -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 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 e92b93ca9c libretro: Clear SRAM after loading ROM. 2024-07-29 15:57:03 -05:00
BearOso 5d9f5b061b Qt: Output S9xMessage to console. 2024-07-29 15:57:03 -05:00
BearOso cc49a06c77 external: Update stb_image.h to reduce warnings 2024-07-29 15:57:03 -05:00