Commit Graph

670 Commits

Author SHA1 Message Date
BearOso f6a46f5831 Clean up unused headers. 2024-10-22 14:58:50 -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 79f6e911f3 Vulkan: Use helper for image transitions. 2024-10-17 15:15:21 -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 13824a6ef4 Vulkan: Allocate swapchain on context create. 2024-10-07 14:43:52 -05:00
BearOso febcf27482 Vulkan: Separate context, surface, and swapchain. 2024-10-03 11:19:42 -05:00
BearOso 0727b4a474 Gtk: Clean up Snes9xWindow a bit. 2024-09-15 14:35:23 -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 ebd9df46ec Gtk: Avoid saving the size while fullscreening occurs. 2024-09-11 14:45:07 -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
Lucas Gabriel Vuotto bff02194a7 Gtk: Fix build on 32-bits systems. 2024-07-28 20:52:20 +00:00
BearOso d514d135a7 Gtk: Create config directory in get_config_dir if it doesn't exist. 2024-06-18 15:38:21 -05:00
BearOso ed3695f704 Gtk: Fix config directory order.
Search for XDG_CONFIG_HOME. If that exists, use
$XDG_CONFIG_HOME/snes9x, otherwise use $HOME/.config/snes9x.

Remove broken legacy check.
2024-06-18 15:35:05 -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 6dd6f1945b Update version strings from 1.62.3 to 1.63. 2024-05-10 14:37:25 -05:00
BearOso c476e4acdc Gtk: Show existence of save state on slot select. 2024-05-07 14:18:40 -05:00
BearOso f6f9cf09e1 CMakeFiles: Tweaks. 2024-04-30 14:39:07 -05:00
BearOso bb905521df Vulkan: Simplify some code. 2024-04-19 16:29:09 -05:00
BearOso 3d5e412fb5 Vulkan-Hpp: Fix VULKAN_HPP_NO_NODISCARD_WARNINGS. 2024-04-13 13:49:48 -05:00
BearOso 46c6bd7eb4 Vulkan-Hpp: Don't use exceptions. 2024-04-12 18:47:16 -05:00
StanleyKid-22 4336892724
Updated Ukrainian translation 2024-02-14 15:47:32 +02:00
StanleyKid-22 7b7f126f5e
Merge branch 'snes9xgit:master' into master 2024-02-14 15:44:58 +02:00
BearOso be6372c034 Gtk/Wayland: Disable display driver during unfullscreening.
Gtk incorrectly doesn't resize widgets beneath a subsurface.
2024-02-08 12:49:12 -06:00
StanleyKid-22 0aad83b35e
Update Ukrainian translation
Hotfix for 2 strings.
2024-01-28 12:30:54 +02:00
StanleyKid-22 1785bb4467
Updated Ukrainian translation
Updated to actual project version 1.62.3.
2024-01-27 20:27:04 +02: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 97291767b8
Merge pull request #886 from alarixnia/dlopen
gtk: Use CMAKE_DL_LIBS
2023-11-19 17:57:15 -06:00
nia 5fb99b7ad6 gtk: Use CMAKE_DL_LIBS
Fixes building snes9x-gtk on systems where dlopen is in libc
and without an empty libdl stub.
2023-11-20 00:13:18 +01:00
Jake Smarter 38c28e1f9c Add de l10n 2023-11-18 19:28:18 +01:00
Jake Smarter 665ddf86f2 * Add plurals
* Drop proper names from l10n
* Add string parameter numbers for correct l10n freedom
* Update POT file
* Update pl l10n based on new POT file
* Add locale specific number formatting where applicable
* Make use of Glib’s logging facility
2023-10-30 15:46:21 +01:00
BearOso e3f1790711 Vulkan/Gtk: Make instance creation fail more robust. 2023-10-09 14:15:46 -05:00
BearOso 039e68d306 Gtk: Don't allow threading with NTSC filter. 2023-10-09 14:01:52 -05:00
BearOso 49556cd5d1 Gtk: Blargg NTSC outputs reduced width in 512-mode. 2023-10-09 13:46:53 -05:00
BearOso 01e408e4c8 (Qt,Gtk)/OpenGL: Specify unpack alignment. 2023-10-08 11:03:27 -05:00
BearOso 9be1ee83b3 Gtk: Compile std_chrono_throttle.cpp unconditionally. 2023-09-16 10:40:29 -05:00
Jake Smarter e2087adffb Add GTK+ pl translations 2023-08-31 11:42:32 +02:00
BearOso 2be85e8a44 Gtk: Fix additional hardcoded paths. 2023-08-25 11:47:29 -05:00
BearOso bd41d010f3 Qt: Attach cheats dialog directly to Snes9x.
Update sizing for cheats and shader params dialogs.
2023-08-25 11:47:29 -05:00
BearOso 1b1325066b Qt port. 2023-08-25 11:47:29 -05:00
BearOso 19d0016c5a Gtk: Use GNUInstallDirs. 2023-08-24 14:19:55 -05:00
BearOso d0c45f36b1 Gtk: Update translation misc. 2023-08-24 11:15:52 -05:00
bearoso b488e426b3
Update TRANSLATING.txt 2023-08-23 15:13:01 -05:00
BearOso 81efc82f88 Move formerly Gtk sound drivers to common directory. 2023-06-07 16:06:55 -05:00
BearOso 8c5b6d012e Gtk: Simplify drivers by moving port code to gtk_sound.cpp. 2023-06-07 15:34:10 -05:00