Commit Graph

2160 Commits

Author SHA1 Message Date
BearOso
5a9e3a96b1 Oops. Don't free c, it's added to vector. 2023-03-07 13:58:22 -06:00
BearOso
f67bdbef3f vulkan: Handle case when no vulkan library is available.
Use one copy of the dynamic loader, if it can't load a library,
drop out of instance creation.
2023-03-07 13:58:22 -06:00
BearOso
edbffb9a53 vulkan: Keep dynamic loader around. 2023-03-07 13:58:22 -06:00
BearOso
08bf7a8696 Don't allocate 8MB for patching. 2023-03-07 13:58:22 -06:00
BearOso
2fb67c7329 Gtk: Clean up asan leaks. 2023-03-07 13:58:22 -06:00
BearOso
3bbed09867 Condense CheckForAnyPatch with lambdas. 2023-03-07 13:58:22 -06:00
BearOso
db10ed33e1 Don't close zip file when checking patches. 2023-03-07 13:58:22 -06:00
BearOso
bb9037fe98 Fix sequenced ips patch loading outside of zip. 2023-03-07 13:58:22 -06:00
BearOso
13eefd9944 unix: Make port compile. 2023-03-07 13:58:22 -06:00
BearOso
b7704733ec win32: Fix vk_mem_alloc.h compatibility break.
Set WINVER to less than Vista to maintain compatibility with Windows XP.
2023-03-07 13:58:22 -06:00
BearOso
93a242312f win32: Fix a couple of crashes. 2023-03-07 13:58:22 -06:00
BearOso
c3366477a7 Gtk: Lower CMake required version. 2023-03-07 13:58:22 -06:00
BearOso
7fa64f4781 See if this works for CI fixes. 2023-03-07 13:58:22 -06:00
BearOso
18b5a09a16 Fix libretro compilation. 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
076c6bfaf4 Use length instead of size with strings. 2023-03-07 13:58:22 -06:00
BearOso
b578ce434b Remove fmt from shader files. 2023-03-07 13:58:22 -06:00
BearOso
56a6396c9a Favor BGRA over RGBA. 2023-03-07 13:58:22 -06:00
BearOso
246a44a940 Error handling. 2023-03-07 13:58:22 -06:00
BearOso
fd3a9dba14 Fix a couple validation issues. 2023-03-07 13:58:22 -06:00
BearOso
2c7d5f7a4d Working Win32/Vulkan shader support. 2023-03-07 13:58:22 -06:00
BearOso
89bbf08c74 Add shaderchain support to win32. 2023-03-07 13:58:22 -06:00
BearOso
44a2958c31 Windows Vulkan working generically. 2023-03-07 13:58:22 -06:00
BearOso
daa0e168e8 Getting win32 ready for Vulkan. 2023-03-07 13:58:22 -06:00
BearOso
4305bb7be1 Fix parameter misordering. Fix a couple sync issues. 2023-03-07 13:58:22 -06:00
BearOso
11dd6b1e6d Fix up Windows build errors. 2023-03-07 13:58:22 -06:00
BearOso
65dbcaf2fb Fix glslang reconfiguration. 2023-03-07 13:58:21 -06:00
BearOso
23cf7ec056 Restrict max latency to 3 frames. 2023-03-07 13:58:21 -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
BearOso
10a2cd19d1 Remove texture canonicalization on global file name. 2023-03-07 13:58:21 -06:00
BearOso
ed37f930aa Clean up whitespace and remove a few test files. 2023-03-07 13:58:21 -06:00
BearOso
259dfd07ae Vulkan support.
Gtk port support. Breaks other platforms.
2023-03-07 13:58:21 -06:00
BearOso
109fedf42c Gtk: Convert driver setting to a string. 2023-03-07 13:58:21 -06:00
BearOso
6433b8f689 Gtk: Clean up and modernize a bit. 2023-03-07 13:58:21 -06:00
BearOso
2e39f2f477 Modernize cheat stuff. 2023-03-07 13:58:21 -06:00
BearOso
9ed560de2f Make SNES memory allocations static. 2023-03-07 13:58:21 -06:00
BearOso
dead0a7968 Add fscompat.h 2023-03-07 13:58:21 -06:00
BearOso
600b62877b Add fscompat.h 2023-03-07 13:58:21 -06:00
BearOso
c69552ccff More cleaning. 2023-03-07 13:58:21 -06:00
BearOso
596e84af2a Start simplifying filesystem stuff. 2023-03-07 13:58:21 -06:00
BearOso
4a3f7b4d84 Gtk: Use more std::filesystem. 2023-03-07 13:58:21 -06:00
BearOso
b9bb200a78 Gtk: Reorganize some of startup. 2023-03-07 13:58:21 -06:00
BearOso
dbff079b47 Add fmtlib directly to tree. 2023-03-07 13:58:21 -06:00
BearOso
453bbbe779 Update glslang. Fix meson build. 2023-03-07 13:58:21 -06:00
BearOso
19c7ce56e0 Gtk: Use fmt for string. 2023-03-07 13:58:21 -06:00
BearOso
6b5cd1d45a Silence NULL pointer subtraction warning.
Use a pointer to address 1 instead.
2023-03-07 13:58:21 -06:00
BearOso
d99f79bcc0 Fix more warnings. 2023-03-07 13:58:21 -06:00
BearOso
375a263961 Gtk: Stringify some things. 2023-03-07 13:58:21 -06:00
BearOso
a32d391483 Make S9xSetInfoString own its string. 2023-03-07 13:58:21 -06:00