Commit Graph

36982 Commits

Author SHA1 Message Date
Henrik Rydgård
73836e7bcb Custom buttons: Store them in an array, remove as many count restrictions as possible. 2023-06-20 10:42:53 +02:00
Henrik Rydgård
56e5cbee91
Merge pull request #17602 from unknownbrackets/elf-reloc
Loader: Support HI16/16 pairs, not just LO16
2023-06-19 08:12:10 +02:00
Unknown W. Brackets
d4a0121ab6
Merge pull request #17600 from brad0/cmake_libzip_header_path
CMake: Include system libzip header path
2023-06-18 19:16:54 -07:00
Unknown W. Brackets
a9dce5ae62
Merge pull request #17601 from brad0/cmake_x11_vulkan
CMake: Include X11 Xlib header path
2023-06-18 19:16:13 -07:00
Unknown W. Brackets
b2b61d58d4 Loader: Support HI16/16 pairs, not just LO16.
Motorstorm: Arctic Edge US uses these pairs for some VFPU loads.
Without relocating these, strange shadows show underneath vehicles.

It appears as if actual firmware pairs with any non-HI16 relocation.
2023-06-18 19:06:29 -07:00
Unknown W. Brackets
a9668bdb60 Debugger: More useful tag for section suballocs. 2023-06-18 19:04:18 -07:00
Brad Smith
5acbc4af78 CMake: Include X11 Xlib header path
Build fails trying to find X11/Xlib.h via ext/vulkan/vulkan.h.
2023-06-18 19:47:00 -04:00
Brad Smith
089a700d3e CMake: Include system libzip header path 2023-06-18 19:12:38 -04:00
Henrik Rydgård
264c6d740b
Merge pull request #17599 from hrydgard/ui-icon-cache
UI: Icon image cache
2023-06-18 16:06:07 +02:00
Henrik Rydgård
300a64a86d IconCache: Remove texture objects quite quickly after it stops getting used.
They can be recreated pretty quickly as needed.
2023-06-18 15:24:56 +02:00
Henrik Rydgård
6f9941dafa Crashfix during clearing 2023-06-18 15:14:42 +02:00
Henrik Rydgård
2bf2f745e2 IconCache: Add pending state to avoid duplicate downloads in some cases 2023-06-18 14:54:11 +02:00
Henrik Rydgård
cb5926761b Add a way to monitor the icon cache from the system info screen. 2023-06-18 14:18:45 +02:00
Henrik Rydgård
8a27627a9f Use the new icon cache for the icons in the homebrew store. 2023-06-18 14:11:12 +02:00
Henrik Rydgård
2bee5b64e4 Add new icon cache, for caching small images.
It doesn't try to insert or fetch missing things itself, re-fetching is up to the caller.

This will be required for handling the many achievement icons.

Saving/loading the cache to a single file on disk is implemented but not
hooked up yet. It works without it, though of course will have to
re-fetch things on the next startup.
2023-06-18 14:11:12 +02:00
Henrik Rydgård
9f88dbd656 Icon cache for UI rendering
This will be needed for achievements, and has uses already now.
2023-06-18 14:11:12 +02:00
Henrik Rydgård
20adf2f124
Merge pull request #17598 from lvonasek/compat_openxr_hotfix
OpenXR - Disable stereo for Ultimate Ghosts and Goblins
2023-06-18 13:32:23 +02:00
Lubos
1492b51b5b OpenXR - Disable stereo for Ultimate Ghosts and Goblins 2023-06-18 13:29:18 +02:00
Henrik Rydgård
7c81adbf2d
Merge pull request #17596 from hrydgard/refactor-sysinfo-screen
System information screen: Re-use the TabbedDialogScreen logic
2023-06-18 13:11:08 +02:00
Henrik Rydgård
90085522ef System information screen: Re-use the TabbedDialogScreen logic
Want to do this before adding any more tabs here.
2023-06-18 12:22:36 +02:00
Unknown W. Brackets
0fb7d6f7d7
Merge pull request #17594 from hrydgard/backport-fixes
Port some fixes/improvements from the retroachievements branch
2023-06-17 14:39:22 -07:00
Henrik Rydgård
0983927319 Comment cleanup 2023-06-17 23:19:23 +02:00
Henrik Rydgård
31a6cecef9 Allow specifying content-type for posts instead of hardcoding. 2023-06-17 23:18:23 +02:00
Henrik Rydgård
2de510432d Rename our private md5 functions to not clash with other libraries (ugh) 2023-06-17 23:18:23 +02:00
Henrik Rydgård
71cb766393 Fix re-entrancy issue in Downloader 2023-06-17 23:18:23 +02:00
Henrik Rydgård
3bc2aaf7ca Set MIME type "correctly" (at least for retro purposes) for POSTs 2023-06-17 23:18:23 +02:00
Henrik Rydgård
601e767e3b HTTPClient: Generalize Download to support GET and POST 2023-06-17 23:18:23 +02:00
Henrik Rydgård
93fbb5cdda
Merge pull request #17591 from lvonasek/feature_openxr_passthrough
OpenXR - Add passthrough option (Quest only)
2023-06-17 22:12:53 +02:00
Lubos
cef7c5a1a1 OpenXR - Forgotten changes added 2023-06-17 21:55:47 +02:00
Unknown W. Brackets
efd8565ffe
Merge pull request #17592 from fp64/anymask-movemask
Use _mm_movemask_ps for AnyMask
2023-06-17 09:48:09 -07:00
Lubos
4642e0a66f OpenXR - Add passthrough option (Quest only) 2023-06-17 16:33:21 +02:00
fp64
ab85c46161 Use _mm_movemask_ps for AnyMask
Probably very minor speed improvement, but it's rather neat.
2023-06-17 01:05:02 -04:00
Henrik Rydgård
5b4fa06b00 Revert Dot33 on 32-bit x86 only. See #17584 2023-06-16 23:43:33 +02:00
Henrik Rydgård
9f14cfb54e
Merge pull request #17539 from Nemoumbra/broadcast-config
ClientConfigSubscriber added
2023-06-16 17:20:46 +02:00
Nemoumbra
27a5482a46 Code cleanup, copyright typo fixed 2023-06-16 17:13:10 +03:00
Henrik Rydgård
58cf719b71
Merge pull request #17587 from hrydgard/extract-tabbed-dialog-class
Extract the class TabbedUIDialogScreen from GameSettingsScreen.
2023-06-16 15:15:14 +02:00
Henrik Rydgård
fffaa41091 Extract the class TabbedUIDialogScreen from GameSettingsScreen. 2023-06-16 13:56:26 +02:00
Henrik Rydgård
6d4e5a0f3e
Merge pull request #17584 from fp64/sse2-dot33
Convert Dot33 to SSE2
2023-06-15 20:08:23 +02:00
Henrik Rydgård
fee65be915
Merge pull request #17582 from hrydgard/uvscaleoffset-fix
Update the uvscale uniform a bit more conservatively on framebuffer-texture changes
2023-06-15 13:21:30 +02:00
Henrik Rydgård
def09bf575 Update the uvscale uniform a bit more conservatively on framebuffer changes
Plus fixes a few minor oversights

Fixes #17581 and possibly #17522
2023-06-15 11:57:30 +02:00
fp64
f0d844a5a3 Convert Dot33 to SSE2
Simpler, lower requirements, and doesn't seem to hurt speed. See #17571.
2023-06-14 22:02:50 -04:00
Henrik Rydgård
4a4cd3d977 Add logging when loading a save state that has "unknown-prefix-mode" set 2023-06-14 10:23:23 +02:00
Henrik Rydgård
76c4064c54
Merge pull request #17578 from hrydgard/vk-basic-stats
Vulkan GPU profiler: Show CPU command buffer recording timing even if GPU timing is unavailable
2023-06-14 09:45:27 +02:00
Henrik Rydgård
ae29fd2951 Vulkan profiler: Show CPU command buffer recording timing even if GPU timing is unavailable 2023-06-14 09:15:29 +02:00
Henrik Rydgård
fbd10e4722 FastVec: Add capacity lock, fix bug (extracted from a coming PR) 2023-06-14 09:06:25 +02:00
Henrik Rydgård
8eb55a6fd7
Merge pull request #17575 from hrydgard/vk-rip-out-input-attachments
Vulkan: Remove the remains of the input attachment experiment
2023-06-13 22:33:25 +02:00
Henrik Rydgård
6d8069dfd1 Vulkan: Remove the remains of the input attachment experiment
Haven't been using these for a while.

I've come to the conclusion here that I think it's better to try to
deal with the issues using safe workarounds like copies, instead of
relying on features with somewhat iffy driver support that are not
universal across APIs anyway.
2023-06-13 20:46:27 +02:00
Henrik Rydgård
0037a9703c
Merge pull request #17573 from hrydgard/addstrip-opt
IndexGenerator::AddStrip: Reduce unnecessary writes for small strips
2023-06-13 13:16:00 +02:00
Henrik Rydgård
df7bd89b7d Division->shift. since it's a signed integer, gets rid of a cdq instruction. 2023-06-13 11:57:28 +02:00
Henrik Rydgård
0eb3702ecb Then add the early-outs for NEON too. 2023-06-13 11:48:04 +02:00