Commit Graph

611 Commits

Author SHA1 Message Date
BearOso
b11ecf932a imgui: Update font. Test ROM status line. 2023-05-03 16:45:56 -05:00
BearOso
92b7fb2e9f shaders: More cleaning. 2023-04-27 16:54:03 -05:00
BearOso
ed695f3776 shaders: Clean up some of the OpenGL/slang code. 2023-04-27 16:20:09 -05:00
BearOso
945cd27841 Gtk: Add UI option to configure size, indicators. 2023-04-25 17:36:48 -05:00
BearOso
909d899512 Gtk/OpenGL: Add imgui support. 2023-04-25 17:36:48 -05:00
BearOso
8f3595e5d3 gtk/vulkan: Use imgui. 2023-04-25 17:36:48 -05:00
BearOso
e55b13315b Gtk: Tweak sound drivers for better performance. 2023-04-02 12:47:08 -05:00
BearOso
79e150886a Add ability to force backdrop color for sprite extraction.
Only Gtk hotkey is hooked up so far.
2023-03-31 17:09:23 -05:00
BearOso
4b345bd008 Gtk: Update appimage script. 2023-03-30 14:33:05 -05:00
BearOso
59c48e35a7 Gtk: Simplify makeappimage.sh 2023-03-28 12:41:15 -05:00
BearOso
af70c62343 Gtk: Add script to make appimage. 2023-03-28 11:05:54 -05:00
StanleyKid-22
b25e8a6d01
Updating Ukrainian translation 2023-03-25 12:42:03 +02:00
BearOso
8e78a431cc Gtk: Exclude slang_test from all target. 2023-03-24 13:25:07 -05:00
bearoso
8ac2ac7be5
Merge branch 'master' into master 2023-03-22 14:25:17 -05:00
Felipe
be9f19830e
Updated brazilian portuguese translation
Updated translation with the strings that were changed.
2023-03-22 11:54:04 -03:00
BearOso
5157426cb6 Gtk: Use translated binding names in preferences. 2023-03-21 17:45:39 -05:00
BearOso
26291d185d Gtk: Fix some missing lines again. 2023-03-21 17:41:08 -05:00
BearOso
8593d9014b Gtk: Fix xgettext missing a few strings. 2023-03-21 17:32:08 -05:00
BearOso
e34097ecdf Gtk: Only adjust the numeric locale with file reads. 2023-03-21 16:47:39 -05:00
BearOso
13a5592ba6 Gtk: Add the missing lines from a couple .po files. 2023-03-21 16:33:52 -05:00
BearOso
e1eb7ea9de Gtk: Fix up some internationalization problems. 2023-03-21 15:45:16 -05:00
BearOso
50f9f9eba1 Move S9xSyncSpeed call.
DMA can last multiple frames, and so can S9xMainLoop.
If we throttle outside of S9xMainLoop or only as we're exiting the
loop as is currently done, we zoom through multiple frames and
overrun the audio. Moving S9xSyncSpeed just after EndScreenRefresh
causes it to be called every frame.

This seemingly wasn't a problem because throttling with vsync *did*
happen every frame regardless. Oops.
2023-03-20 16:02:36 -05:00
BearOso
176556dfd3 Add menu items to scale windows up to 10x. 2023-03-12 11:10:02 -05:00
BearOso
22e0b373e4 Gtk: Add clear recent items item. 2023-03-11 17:46:40 -06:00
BearOso
87bb383797 Gtk: Multiple assignment syntax. 2023-03-11 16:47:07 -06:00
bearoso
3378d6cc02
Merge pull request #753 from Felipefpl/master
Updated brazilian portuguese translation
2023-03-11 14:36:13 -06:00
BearOso
b293366fdf Gtk: Remove meson remnant. 2023-03-07 14:50:23 -06:00
BearOso
e9f8b9925f Gtk: Refresh window canvas when first displayed.
Wayland/OpenGL doesn't receive a redraw cue after Gtk resizes the
window and it scales a 256x224 corner of the larger surface up with
the viewport extension.
2023-03-07 14:06:59 -06:00
BearOso
1b10ca7ab0 Gtk/OpenGL: Remove npot variable. 2023-03-07 14:01:29 -06:00
BearOso
1f59744ab9 Gtk/Wayland: Don't require libwayland >= 1.20.
Used old version of wayland-scanner to generate protocol files.
2023-03-07 14:01:29 -06:00
BearOso
790962f2bb Gtk: Add missing Wayland protocol files. 2023-03-07 14:01:29 -06:00
BearOso
aa2a46f87b Gtk/OpenGL/Wayland: Support fractional scale. 2023-03-07 14:01:29 -06:00
BearOso
f1286eda4c Gtk/Wayland: Support fractional scale. 2023-03-07 14:01:29 -06:00
BearOso
7a7e5226cc Gtk: Set auto_vrr to false by default. 2023-03-07 14:01:29 -06:00
BearOso
1434dce671 Gtk: Add setting to configure for VRR automatically.
Swaps to ideal config for VRR in fullscreen. Switches sound
input rate and frame rate to exact SNES rate and uses timers for
sync.
2023-03-07 14:01:29 -06:00
BearOso
6ae1a4478e Gtk/Vulkan: Handle failure to acquire swapchain image. 2023-03-07 14:01:29 -06:00
BearOso
309f9e650d vulkan: Move throttle out of swapchain.
Make the swapchain wrapper more flexible, allowing deferring the
swap from the end_frame function.
2023-03-07 14:01:29 -06:00
BearOso
b82edaac96 vulkan: Add a throttler before present for precise frame rates. 2023-03-07 14:01:29 -06:00
BearOso
130e1509da Revert "vulkan/slang: Allow a cache for spv."
This reverts commit db554aa8cd62f083b93d4b2e7147c5d2500366d9.
2023-03-07 14:01:29 -06:00
BearOso
8907541f28 vulkan/slang: Allow a cache for spv. 2023-03-07 14:01:29 -06:00
BearOso
3c1d330169 Gtk: Make it possible to build without Slang/Vulkan. 2023-03-07 14:01:29 -06:00
BearOso
948506ad95 Gtk: Add dynamic rate control to SDL driver. 2023-03-07 14:01:29 -06:00
BearOso
bb210dc1a1 Gtk: Move simple vulkan output into separate class. 2023-03-07 13:58:22 -06:00
BearOso
410696ce4e Gtk: Remove SDL_GetDefaultAudioInfo. 2023-03-07 13:58:22 -06:00
BearOso
2fb67c7329 Gtk: Clean up asan leaks. 2023-03-07 13:58:22 -06:00
BearOso
c3366477a7 Gtk: Lower CMake required version. 2023-03-07 13:58:22 -06:00
BearOso
f4f7f03be3 Remove meson as build option for Gtk.
Meson isn't flexible with our port subdirectory approach.
2023-03-07 13:58:22 -06:00
BearOso
246a44a940 Error handling. 2023-03-07 13:58:22 -06:00
BearOso
e4768f9b80 Wayland compatibility with Vulkan. 2023-03-07 13:58:21 -06:00
BearOso
fa03a2c5b2 Gtk: Remove some superfluous graphics options.
PBOs aren't generally faster any more.
NPOT textures are widely supported.
Giving control over to Gtk while waiting for a swap doesn't really work
that well, so the sync control extension options are removed.

This means the OpenGL and Vulkan backends are in parity with regard to
options.
2023-03-07 13:58:21 -06:00