Commit Graph
4138 Commits
Author SHA1 Message Date
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
Henrik Rydgård d0817c4c0a Vulkan: Fix trying to compare uninitialized parts of packed descriptors
Found by Valgrind.

Other minor cleanup, too.
2024-01-10 12:10:20 +01:00