Commit Graph

4439 Commits

Author SHA1 Message Date
Henrik Rydgård
fea6727ffd Add a convenience method to VulkanContext to reduce code duplication
Will need the exact same code for iOS.
2024-05-23 02:13:54 +02:00
Henrik Rydgård
1129000d8f Add some asserts, small cleanup 2024-05-21 11:08:09 +02:00
Henrik Rydgård
835aa02a28 Add basic soft-keyboard support on iOS
This uses the old UIKeyInput which is a bit limited language-wise, however, it's enough
to log into RetroAchievements and change your nickname, at least, and it was the easiest to implement.

So, this solves 90% of the problems caused by missing keyboard support, at least.
2024-05-20 19:08:35 +02:00
Henrik Rydgård
f61baa3b51 Switch UI event notifications (used for soft-keyboard) from strings to enums 2024-05-20 18:25:16 +02:00
Henrik Rydgård
5042555d7b Make a dedicated system request KEEP_SCREEN_BRIGHT, unify behavior between Windows and Android more 2024-05-20 14:03:54 +02:00
Henrik Rydgård
1ff7710854 Folder/file browser tweaks 2024-05-20 10:04:11 +02:00
Henrik Rydgård
a059750f5a Add basic checkbox UI for GPI switched, add display of GPO LEDs
Try it with Parappa.
2024-05-12 18:01:25 +02:00
Henrik Rydgård
9dc8c05fae
Merge pull request #19038 from GermanAizek/all-fields-init-refactor
[Core/GL/UI] Not all fields initilize and minor code refactor
2024-05-12 17:05:39 +02:00
Herman Semenov
f75d7d13a0 [Net/Web] Fixed strict reduce types to 32 bit sizes, changed to memsize 2024-05-11 19:43:13 -05:00
Henrik Rydgård
336732afa8 Remove accidental enabling of Mali driver workaround on other GPUs.
May help #19133
2024-05-12 00:08:33 +02:00
Henrik Rydgård
c38ce2a5be Fix an issue when bringin up the dev menu with transparent background disabled 2024-05-11 21:28:26 +02:00
Henrik Rydgård
ad541f204b
Merge pull request #19127 from lvonasek/feature-openxr-projection
OpenXR - Projection matrix (camera issue) fixed
2024-05-10 22:22:31 +02:00
Lubos
e76a5b1d3d OpenXR - Gran Turismo projection hack 2024-05-10 19:40:13 +02:00
Lubos
39966730e9 OpenXR - Fix projection matrix 2024-05-10 19:12:38 +02:00
Lubos
7f127e3567 Revert "OpenXR - Projection matrix on Quest 3 fixed"
This reverts commit 4d61896403.
2024-05-08 21:57:31 +02:00
Eric Warmenhoven
81846cd737 macOS: Update VulkanLoader for MoltenVK 1.2.8-style framework finding 2024-05-08 12:21:47 -04:00
Henrik Rydgård
9d0c127961 IniFile: Switch keys to string_view (avoids recomputing length every time) 2024-05-05 12:04:58 +02:00
Henrik Rydgård
e5178d2bc4 Remove unused code, some string_view 2024-05-05 11:58:35 +02:00
Henrik Rydgård
ae1ee41eb0 Add functionality to limit a pathbrowser to a specific root 2024-05-03 17:54:57 +02:00
Henrik Rydgård
a93bbf39ba Remove sinewin.cpp/h 2024-05-01 12:28:39 +02:00
Henrik Rydgård
b6b869ddee Remove float_dsp.cpp, inline the functions 2024-05-01 12:28:39 +02:00
Henrik Rydgård
c6502155ab Delete mathematics.cpp/h 2024-05-01 12:28:39 +02:00
Henrik Rydgård
28ab4518ed Add a workaround and an assert, trying to fix #18982
Not sure what it is if this doesn't fix #18982.

We already seem to be doing things correctly.
2024-04-29 13:32:26 +02:00
Henrik Rydgård
b25ee714c3
Merge pull request #19089 from brad0/openbsd_riscv
Fix building on OpenBSD/riscv64.
2024-04-29 11:15:49 +01:00
Henrik Rydgård
5a0269a09f
Merge pull request #19093 from hrydgard/macos-fix-test-crash
Temporarily disable the JIT_IR unit test on Mac
2024-04-29 11:14:44 +01:00
Henrik Rydgård
8397fd6791 Also disable the GPU JIT tests on ARM64, not applicable 2024-04-29 11:13:35 +02:00
Luboš V
5cb7b7a686
OpenXR - Support for Meta Horizon OS 2024-04-29 07:46:48 +02:00
Brad Smith
59ba9ab973 Fix building on OpenBSD/riscv64.
Unbreak on riscv64, we don't have sys/auxv.h or getauxval().

OpenBSD/riscv64 assumes RV64GC, aka RV64IMAFDC.

Our kernel provides no support for the V extension.
2024-04-27 07:44:37 -04:00
Eric Warmenhoven
e50ca3808a iOS: Update VulkanLoader for MoltenVK 1.2.8-style framework finding 2024-04-19 09:30:43 -04:00
Henrik Rydgård
178147b20a Make asserts work better in headless when running tests on Windows 2024-04-16 22:54:48 +02:00
Henrik Rydgård
6c648a2cdd Use AtracBase instead of Atrac in sceAtrac (so now we can replace it) 2024-04-15 12:50:51 +02:00
Henrik Rydgård
aec3fa99e5
Merge pull request #19032 from GermanAizek/fix-always-false-true
Fixed conditions always false using unsigned type and logical AND 0x0 & 0x4
2024-04-13 11:28:45 +02:00
Henrik Rydgård
71a6372ac5
Merge pull request #19020 from hrydgard/clickable-notifications
Clickable notifications
2024-04-12 16:23:52 +02:00
Herman Semenov
8e580045cd Fixed condition always false using unsigned int and logical AND 0 & 4 2024-04-11 16:56:59 +03:00
Herman Semenov
c901e8c9bb [Core/GPU] Fixed condition blocks where result always true 2024-04-11 16:05:11 +03:00
Herman Semenov
0d1f7e2e6c [Core/GL/UI] Not all fields initilize and minor code refactor 2024-04-11 15:50:42 +03:00
Henrik Rydgård
b35b351802 Finally remove the AVCodecContext 2024-04-11 14:50:29 +02:00
Henrik Rydgård
416ba81d20 Remove the channel_layout stuff 2024-04-11 14:39:59 +02:00
Henrik Rydgård
e10b90b718 Switch at3_standalone to C++ to avoid namespace clashes 2024-04-11 14:39:59 +02:00
Henrik Rydgård
91df8ebfda FFT cleanup 2024-04-11 14:39:59 +02:00
Henrik Rydgård
bbb563cc82 More header cleanup 2024-04-11 14:39:59 +02:00
Henrik Rydgård
9c32761a0a Remove fdsp context 2024-04-11 14:39:59 +02:00
Henrik Rydgård
27e28a5952 Remove samplefmt 2024-04-11 14:39:59 +02:00
Henrik Rydgård
202886f750 Delete attributes.h/compat.h, more 2024-04-11 14:39:59 +02:00
Henrik Rydgård
d617aec8c8 Simplify away AVFrame from decoding functions, remove buffer pools 2024-04-11 14:39:59 +02:00
Henrik Rydgård
7d680c9883 Remove AVPacket, more 2024-04-11 14:39:59 +02:00
Henrik Rydgård
08d5de9f4c Remove opt, dict, more 2024-04-11 14:39:59 +02:00
Henrik Rydgård
34afd585c7 Delete all kinds of stuff 2024-04-11 14:39:59 +02:00
Henrik Rydgård
6803775941 Remove option table 2024-04-11 14:39:59 +02:00
Henrik Rydgård
ae736692ef Remove atomics stuff, a lot more 2024-04-11 14:39:59 +02:00
Henrik Rydgård
e94faa4591 Start paring things down 2024-04-11 14:39:59 +02:00
Henrik Rydgård
8fbc4a3379 Ultra-gross hackery, but works! Now, need to pare it down, heavily... 2024-04-11 14:39:59 +02:00
Henrik Rydgård
c902973688 Setup more of the setup 2024-04-11 14:39:59 +02:00
Henrik Rydgård
8d4716cab6 WIP: Add AT3/AT3plus files, get it to compile (though will fail to link if we use it) 2024-04-11 14:39:59 +02:00
Henrik Rydgård
fc58a97024
Merge pull request #19027 from GermanAizek/char-as-param-for-string-methods
Minor optimize methods std::string using param as char with simpler implementation
2024-04-10 17:16:14 +02:00
Herman Semenov
c20cb3f4be Minor optimize methods std::string using param as char with simpler implementation 2024-04-10 17:57:05 +03:00
Henrik Rydgård
6575ba5487 Make screenshot notifications clickable (on platforms where it's possible) 2024-04-10 13:21:23 +02:00
Henrik Rydgård
c6c733a27a Add way to pass data into OSD click callbacks (and a way to free it) 2024-04-10 13:18:30 +02:00
Henrik Rydgård
9b57375b07
Merge pull request #19019 from hrydgard/plugins-on-game-screen
Add option to disable plugin, show list of available plugins on game screen
2024-04-10 13:14:21 +02:00
Henrik Rydgård
862fb951f1 Add support for loading mp3 files as UI sound.
Fixes #18136
2024-04-09 19:15:49 +02:00
Henrik Rydgård
e903287f4c Game info screen: Show list of any plugins that will be loaded on start of the game 2024-04-09 12:55:50 +02:00
Henrik Rydgård
22fa5f787b Optimize some barrier flags down to what's actually necessary. 2024-04-08 09:03:04 +02:00
Henrik Rydgård
b592473416 Vulkan: Add a missing barrier that got lost in the refactor 2024-04-08 09:00:44 +02:00
Henrik Rydgård
036c386b35 More barrier optimizations 2024-04-07 22:20:37 +02:00
Henrik Rydgård
60f350056c Vulkan: Optimize away a barrier in case of no depth buffer 2024-04-07 21:43:06 +02:00
Henrik Rydgård
78c0be3d8a Delete now-unused code 2024-04-07 21:25:04 +02:00
Henrik Rydgård
d949331f67 More use of the auto image layout transition functions 2024-04-07 21:24:25 +02:00
Henrik Rydgård
7769bf06f1 Add a simplified wrapper for Transition*ImageAuto that takes a VKRImage 2024-04-07 21:14:45 +02:00
Henrik Rydgård
3e91095313 Replace the "FromOptimal" layout transitions with auto. This fixes some rendering errors on NV. 2024-04-07 21:14:45 +02:00
Henrik Rydgård
9c4dd32db0 Replace the "ToOptimal" layout transitions with the auto ones 2024-04-07 21:14:45 +02:00
Henrik Rydgård
ada76e30ca Add new capabilities to the auto image layout transition functions 2024-04-07 21:14:45 +02:00
Henrik Rydgård
58fea04b8a Split the auto image layout transition function (color/depth-stencil) 2024-04-07 21:14:45 +02:00
Henrik Rydgård
6ac5a21846 Update the layout from within TransitionImageAuto 2024-04-07 21:14:45 +02:00
Henrik Rydgård
0bdbffd12f Revert minor optimization that needs some more work first 2024-04-07 21:14:45 +02:00
Henrik Rydgård
a66affe5db Delete the function TransitionImageLayout2 2024-04-06 17:12:40 +02:00
Henrik Rydgård
a3d0cb1f12 Switch away from TransitionImageLayout2 2024-04-06 17:12:32 +02:00
Henrik Rydgård
e00f1f10a3 More barrier code simplification 2024-04-06 17:03:44 +02:00
Henrik Rydgård
4a5eb4bdfb More cleanup 2024-04-06 17:03:40 +02:00
Henrik Rydgård
d28e9dc006 Minor cleanup 2024-04-06 17:03:40 +02:00
Henrik Rydgård
9ec5efdcc5 Add facility to run callbacks on the window thread 2024-04-06 12:14:29 +02:00
Henrik Rydgård
616ee81f84 Add another parameter to the internal "request" framework. 2024-04-06 12:04:45 +02:00
Henrik Rydgård
5a8140c301 Initialize RAIntegration support if available. Untested. 2024-04-05 18:15:10 +02:00
Henrik Rydgård
ae6e0d182e Vulkan: Fix function loading regression affecting MSAA
When loading function that have been merged into core, use the core
names.
2024-04-05 17:28:37 +02:00
Henrik Rydgård
a32edff049
Merge pull request #18992 from hrydgard/misc-cleanup
Some assorted cleanup
2024-04-04 21:01:26 +02:00
Henrik Rydgård
81ef166772 Combine two minor fixes by GermanAizek
This takes the good parts from #18995 and #18999
2024-04-04 20:57:51 +02:00
Henrik Rydgård
eae0504627 Vulkan: Don't use explicit swizzle channels when not needed 2024-04-04 15:47:39 +02:00
Henrik Rydgård
4ea58b64d4 Merge our two different Vulkan barrier batch implementations 2024-04-04 15:32:48 +02:00
Henrik Rydgård
9f9881dfe3 Move some code, minor cleanup.
See #18987
2024-04-04 12:30:41 +02:00
Henrik Rydgård
d02227227b
Merge pull request #18981 from GermanAizek/using-preinc-predec
[GPU/System/Thread/Core/FS] Simplify loops
2024-04-04 00:26:54 +02:00
Herman Semenov
4b92848bdc [System/Core] Simplify loops 2024-04-03 19:25:55 +03:00
Henrik Rydgård
32fe47d761 Fix or ignore some various Vulkan validation errors 2024-04-03 13:37:40 +02:00
Henrik Rydgård
3bebd2101a
Revert "OpenXR - One APK for Android and standalone VR" 2024-04-03 10:57:02 +02:00
Henrik Rydgård
814ba6ef44
Merge pull request #18973 from GermanAizek/fix-return-copies
Fixed return copies from functions and added const ref params
2024-04-03 00:21:48 +02:00
Henrik Rydgård
8720cc2640
Merge pull request #18975 from GermanAizek/protect-from-ub
Protect against undefined behavior when bitwise shift occurs with negative value
2024-04-03 00:18:59 +02:00
Henrik Rydgård
77cff14743
Merge pull request #18915 from GermanAizek/optimize
utils: rewrite on optimized function SplitString
2024-04-03 00:16:30 +02:00
Herman Semenov
7b3c45508b Protect against undefined behavior when bitwise shift occurs with negative value 2024-04-02 19:31:04 +03:00
Herman Semenov
17ecee1715 Fixed return copies from functions and const ref params 2024-04-02 18:37:00 +03:00
Henrik Rydgård
8aac45fec0
Merge pull request #18972 from GermanAizek/strange-malloc-delete
Fixed to free() C version, since memory block was allocated using malloc()
2024-04-02 16:07:12 +02:00
Herman Semenov
52635fca1d utils: rewrite on optimized function SplitString 2024-04-02 17:01:14 +03:00
Herman Semenov
36b7875644 Fixed to free() C version, since memory block was allocated using malloc() 2024-04-02 16:35:13 +03:00
Henrik Rydgård
746696ab58
Merge pull request #18970 from GermanAizek/cleanup
Cleanup excess redefines and maybe fixed result in HLE sceIo::sceIoGetDevType()
2024-04-02 13:55:27 +02:00
Henrik Rydgård
d8c6a516d7
Merge pull request #18967 from GermanAizek/fix-memleaks
[Common/File/UI] Fixed minor memleaks
2024-04-02 13:40:07 +02:00
Herman Semenov
0f94ac9189 Cleanup excess redefines and maybe fixed result in HLE sceIo::sceIoGetDevType() 2024-04-02 14:25:26 +03:00
Signed-off-by: Henrik Rydgård
9c3c23daa6 Fixed memleaks and incorrect add tab in ui::view_group
Signed-off-by: Herman Semenov <GermanAizek@yandex.ru>
2024-04-02 13:48:16 +03:00
Henrik Rydgård
33dca6b248
Merge pull request #18964 from GermanAizek/make_unique
[Core/HLE/Common/UI] Using C++17 make smart pointers
2024-04-01 23:55:10 +02:00
Herman Semenov
cfb77ce83e [Core/HLE/Common/UI] Using C++17 make smart pointers 2024-04-01 18:12:27 +03:00
Henrik Rydgård
f9c31072d2 Disable Vulkan/MoltenVK on x64 macs
Keep getting reports of radeon and intel GPUs that don't work with Vulkan.
2024-03-28 11:17:47 +01:00
Nemoumbra
48dde6b953 Spaces -> Tabs 2024-03-26 00:19:26 +03:00
Nemoumbra
bdcbb9efb4 Added color support for INFO and DEBUG logs in SDL 2024-03-26 00:08:42 +03:00
Lubos
63307aec2e OpenXR - One APK for Android and standalone VR 2024-03-21 12:29:22 +01:00
Lubos Vonasek
333e434361 OpenXR - Fix vcxproj paths 2024-03-20 18:58:15 +01:00
Lubos
76b015a4ab OpenXR - Migrate to official SDK 2024-03-20 12:23:54 +01:00
Lubos
13ff41bc2b OpenXR - Passthrough on the latest QuestOS fixed 2024-02-26 12:56:14 +01:00
Henrik Rydgård
c5791764d8 Make the i18n T function use std::string_view
Buildfixes, crashfixes

One more

Android buildfix

Buildfix Qt
2024-02-12 18:44:39 +01:00
Henrik Rydgård
8dc4d6e026 Temporarily disable MSAA on Adreno GPUs. See issue #18818 2024-02-03 18:40:03 +01:00
Henrik Rydgård
3802d4ee16 Try to resolve another race condition. Improve an assert. 2024-02-03 10:54:16 +01:00
Henrik Rydgård
d4a71a2268 More fixes 2024-02-03 00:20:08 +01:00
Henrik Rydgård
6ce4933db8 Split the discard-stencil-bug flag into separate flags for Adreno and Mali 2024-02-02 11:11:31 +01:00
Henrik Rydgård
86ea5665f0 Show some more Vulkan extensions in sysinfo 2024-02-01 17:08:54 +01:00
Henrik Rydgård
c0bc6446dd Improve assert, cleanup 2024-02-01 16:33:01 +01:00
Henrik Rydgård
3831ec1921 Warn the user about bad CHDs
If they're not created with "chdman createdvd", they will perform really
badly.
2024-01-31 22:15:47 +01:00
Henrik Rydgård
c7ed87b352 Assorted paranoia and improved checks 2024-01-31 10:22:03 +01:00
Henrik Rydgård
7af6501a6f UI: ScrollView: Improve interaction with the scroll bar thingy, avoid accidental clicks 2024-01-31 09:37:11 +01:00
Henrik Rydgård
148ae0dd4a FastVec: Assert on the malloc to get better crash reports 2024-01-31 09:36:55 +01:00
Henrik Rydgård
25a1e6aa14 Some renaming, add a bunch of sanity debug-asserts 2024-01-30 11:14:21 +01:00
Henrik Rydgård
ea180e54c9 Fix some "double-binds" of the backbuffer.
These are already eliminated by the queuerunner, but better not to
generate them in the first place, for easier sanity checks.
2024-01-30 10:44:18 +01:00
Henrik Rydgård
c29f81da36 Fix issue with the collapsible sections in control mapping collapsing on every change. 2024-01-29 17:57:01 +01:00
Henrik Rydgård
c5191cad4c Disable 16-bit textures on PowerVR.
Fixes #18780
2024-01-29 15:48:27 +01:00
Henrik Rydgård
4de4dc1433 Remove some logspam on SDL builds 2024-01-29 12:34:44 +01:00
Henrik Rydgård
ee62ffdb02 Audit our use of condition variables, fix some minor issues 2024-01-29 11:09:08 +01:00
Henrik Rydgård
9979372a97 Assorted paranoia, get rid of an allocation in the audio loop 2024-01-29 10:37:38 +01:00
Henrik Rydgård
0170e8f081 Logging updates 2024-01-29 00:54:24 +01:00
Henrik Rydgård
884c366692 Fix some longstanding issues with the GameInfoCache and optimize away double work 2024-01-28 16:23:27 +01:00
Henrik Rydgård
a811cbac80 Add proper checks for file type when picking a background image
Should fix some confusion, and also issues picking files from the
Download folder on Android where the filenames we get don't always have
extensions.
2024-01-27 12:03:01 +01:00
Henrik Rydgård
bc92226715 Folder browser (like when clicking Browse...): Preinitialize with the current folder. 2024-01-25 12:47:37 +01:00
Henrik Rydgård
9218efd286 Improve the file size check when reading text files 2024-01-25 12:34:19 +01:00
Henrik Rydgård
1f129b6dca Replace "ReadFileToString" with a few semantically clearer wrappers. 2024-01-25 09:55:54 +01:00
Henrik Rydgård
22e91c98db More asserts 2024-01-24 11:36:25 +01:00
Henrik Rydgård
39cf5b5c30 Add more asserts to check the state of the render manager 2024-01-24 09:46:55 +01:00
Henrik Rydgård
0d2e5c32ab More sanity checks 2024-01-24 00:50:32 +01:00
Henrik Rydgård
d260cd0498 Some sanity checks. 2024-01-24 00:23:08 +01:00
Henrik Rydgård
622aeaab6d Hopefully robustify some logic in EmuScreen enough 2024-01-24 00:06:01 +01:00
Henrik Rydgård
21d5257fbf Translation keys etc: Address feedback from TotalCaesar659 2024-01-23 19:23:23 +01:00
Henrik Rydgård
17ff605af5
Merge pull request #18750 from hrydgard/more-minor-fixes
More minor fixes
2024-01-23 11:51:22 +01:00
Henrik Rydgård
51097279c9 Vulkan: Fix race condition when changing MSAA mode with the game running "behind" the menu. 2024-01-23 11:28:45 +01:00
Henrik Rydgård
deffbea75f HTTPClient: Fix socket leak on connect failure 2024-01-23 11:05:03 +01:00
Henrik Rydgård
c6c0d0bf42 Android memstick folder moves: Do recursive moves if in the same device. Drastically faster. 2024-01-22 16:26:29 +01:00
Henrik Rydgård
f347e8494f
Merge pull request #18740 from hrydgard/store-improvements
Store improvements
2024-01-22 12:18:07 +01:00
Henrik Rydgård
902eed59bb Android: Make use of the (spooky) fact that Android_RemoveFile deletes recursively. 2024-01-22 11:55:38 +01:00
Henrik Rydgård
1935dd3f4c Just move DeleteDir next to DeleteDirRecursive 2024-01-22 11:54:41 +01:00
Henrik Rydgård
d502929cb2 Minor cleanup 2024-01-22 11:19:09 +01:00
Henrik Rydgård
0bf7a98aff Replace DrainAndBlockCompileThreads with StopThreads, and same for resuming. 2024-01-22 11:06:50 +01:00
Henrik Rydgård
0e708367b5 Remove compileBlocked_ flag 2024-01-22 10:52:01 +01:00
Henrik Rydgård
6b5a4e3ba9 VulkanRenderManager: Move and rename some stuff to make the next change clearer 2024-01-22 10:50:07 +01:00
Henrik Rydgård
2d9afaa6df Android: Add code for "show folder", don't activate it since it's not reliable (need a query on startup) 2024-01-21 13:35:59 +01:00
Henrik Rydgård
55adcb1a13 Warn the user if they try to run an extracted ISO, with a very in-your-face message.
Fixes #18735
2024-01-20 23:01:08 +01:00
Henrik Rydgård
1553931163 SDL: Add more fallback font names, greatly speed up fallback font handling 2024-01-20 11:22:05 +01:00
Henrik Rydgård
2007621ec3 Add "Droid Sans Fallback" to the list of fallback fonts.
This can be easily installed on apt based distros using:

sudo apt install fonts-droid-fallback

And provides all the characters we need.
2024-01-19 22:53:16 +01:00
Henrik Rydgård
b71ccfdb71 CwCheats: Add ms unit, rename to Refresh Interval. 2024-01-19 15:12:53 +01:00
Henrik Rydgård
7a318b46e8 Draw the line between the tabs and contents as a spacer instead of custom code. 2024-01-19 14:56:29 +01:00
Henrik Rydgård
0e03b66a95 Make vertical tabs scrollable 2024-01-19 14:56:29 +01:00
Henrik Rydgård
f73d0587d4 Comments, make locking more consistent in GameInfoCache 2024-01-19 14:56:29 +01:00
Henrik Rydgård
ff0a9f2417 Remove allocation on translation key lookup 2024-01-19 14:11:18 +01:00
Henrik Rydgård
74f5be02a1 GameInfo: Try to reduce the locking a bit. 2024-01-18 22:52:56 +01:00
Henrik Rydgård
b899a178bf Change approach (call from NativeFrame instead). Add Mac support 2024-01-18 18:21:12 +01:00
Henrik Rydgård
1304d04161 Fix a particular type of race condition in file dialog requests
It seems to be possible for a user to back out of a screen before
receiving the "dialog completed" callback on Android, in which case
things pointed to by the callback might be gone.

In this case, it's better to simply not call the callback, rather than
crashing.

This is accomplished by assigning "Tokens" to screens that cause
requests, and in ~Screen, invalidate any pending requests belonging to
that token.
2024-01-18 12:25:55 +01:00
Henrik Rydgård
531f145e0b Fix NEON compilation error on strict compilers. Fixes #18688 2024-01-18 10:38:30 +01:00
Henrik Rydgård
ce2163eb93 Vulkan MSAA: Avoid creating backbuffer renderpasses with the wrong sample count, oops 2024-01-17 21:41:04 +01:00
Henrik Rydgård
b5496851dc Vulkan: Semaphore-per-frame seems to be the way to go, according to the new validation layers. 2024-01-17 21:34:31 +01:00
Henrik Rydgård
6b20fdfb11
Merge pull request #18715 from hrydgard/more-beta-fixes
More beta fixes
2024-01-17 18:21:45 +01:00
Henrik Rydgård
cbb4236cd8 Vulkan: Attempt to fix some more shutdown race conditions, simplify. 2024-01-17 14:49:49 +01:00
Henrik Rydgård
2b6bb46a98 Vulkan: Minor descriptor write optimization, add some debug asserts 2024-01-17 11:08:16 +01:00
Henrik Rydgård
9253bf9cb5 Add a new screen for managing installed Adreno drivers 2024-01-17 10:51:08 +01:00
Henrik Rydgård
7e427e41d1 Remove a bunch of dead code from CoreTiming ("threadsafe" events)
We haven't used these "threadsafe" events since we removed our first attempt
at GPU threading, so like 10 years, and maybe some experimentation in the
networking code according to some comments. It's unlikely that any
savestates that used these events would load anyway.
2024-01-16 09:06:03 +01:00
Henrik Rydgård
7b738edfc9 Try to eliminate another shutdown deadlock (drain shader compile queue)
See #18705
2024-01-15 23:36:47 +01:00
Henrik Rydgård
8b282a5d79
Merge pull request #18701 from hrydgard/more-beta-crash-fixes
More beta crash fixes
2024-01-15 18:16:37 +01:00
Henrik Rydgård
a49073c6cd Remove debug logging 2024-01-15 17:38:17 +01:00
Henrik Rydgård
c1a7235767 Fix another shutdown race condition in the Vulkan backend 2024-01-15 17:06:00 +01:00
Henrik Rydgård
d6e1851c5b
Merge pull request #18699 from hrydgard/adrenotools-error-check
Adrenotools driver installation: Fix bad error checks
2024-01-15 12:49:26 +01:00
Henrik Rydgård
d0faf250b5 Remove unused async compute pipeline creation 2024-01-15 12:38:59 +01:00
Henrik Rydgård
15db280358
Merge pull request #18698 from hrydgard/beta-crash-fixes
Beta crash fixes 1
2024-01-15 11:57:41 +01:00
Henrik Rydgård
5267ffcad6
Merge pull request #18697 from hrydgard/utf8-feedback
Address feedback on Utf8.cpp changes
2024-01-15 11:57:18 +01:00
Henrik Rydgård
8faba8426a AdrenoTools: Fix picking zip files from the Downloads folder. Add more validation. 2024-01-15 11:46:41 +01:00
Henrik Rydgård
0caebbfaa6 Add a way to pass out error messages from VulkanLoad 2024-01-15 11:22:33 +01:00
Henrik Rydgård
56c797e7f6 Fix possible hangs in ManagedTexture destruction. Change a thread name. 2024-01-15 10:47:16 +01:00
Henrik Rydgård
3e078abbaf Restore nul check in u8_nextchar 2024-01-15 10:45:19 +01:00
Henrik Rydgård
69124fda96 Fix up a small mistake in ConvertUTF8ToWString 2024-01-15 10:43:49 +01:00
Henrik Rydgård
3ce843819e Show a notification if a game exits with sceKernelExitGame. Mainly useful for homebrew. 2024-01-15 10:36:32 +01:00
Florin9doi
cad232e60e sceSircs/Infrared support on Android 2024-01-12 20:29:53 +02:00
Henrik Rydgård
83999b854b
Merge pull request #18682 from hrydgard/string-optimizations
More string_view optimizations
2024-01-12 15:03:46 +01:00
Henrik Rydgård
34d35dcf8b More buildfix 2024-01-12 14:09:21 +01:00
Henrik Rydgård
0fc3e2b777 Add string_view support to more UTF functions 2024-01-12 14:03:02 +01:00
Henrik Rydgård
9c9fe8bf8f Add string_view functionality to the core utf-8 parsing code 2024-01-12 14:03:02 +01:00
Henrik Rydgård
26db1cb05d IniFile: Remove some allocations 2024-01-12 14:03:02 +01:00
Henrik Rydgård
971edc6680
Merge pull request #18646 from hrydgard/through-mode-smart-filtering
Through-mode smart texture filtering
2024-01-12 13:00:16 +01:00
Henrik Rydgård
52d05aaa27 GPU profiling: Count how many descriptors we manage to deduplicate. 2024-01-12 11:31:06 +01:00
Henrik Rydgård
aee8f62ed5 Buildfix (included from c file) 2024-01-11 14:59:54 +01:00
Henrik Rydgård
0fef71348d ARM32 buildfix 2024-01-11 12:42:05 +01:00
Henrik Rydgård
73cd690753 Optimize NEON matrix multiplication slightly 2024-01-11 11:34:08 +01:00
Henrik Rydgård
b4fe03de8b Better solution, still pretty much optimal. 2024-01-10 18:14:59 +01:00