Commit Graph

4439 Commits

Author SHA1 Message Date
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
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
Henrik Rydgård
d841f115e0 Small unrelated fix in ManagedTexture 2023-12-31 16:48:44 +01:00
Henrik Rydgård
78de59a479 HTTPS through naett: Get the body of the response even if code isn't 200.
This is required for rcheevos to parse errors properly - it ignores the
error code and parses it out of the body instead.
2023-12-31 00:11:36 +01:00
Henrik Rydgård
de4c04efcb Ignore a couple of benign perf warnings 2023-12-30 10:54:27 +01:00
Henrik Rydgård
6de05f13f1 More barrier batching 2023-12-30 10:41:59 +01:00
Henrik Rydgård
b2f2e7356a Add new VulkanBarrierBatch 2023-12-30 10:41:59 +01:00
Henrik Rydgård
86ed9a9b89 Move code to cpp 2023-12-30 10:41:59 +01:00
Henrik Rydgård
484fbeb4cb Add end-of-init barrier 2023-12-30 10:41:59 +01:00
Unknown W. Brackets
a9456824aa
Merge pull request #18639 from hrydgard/handle-serving-directories
Various changes to the webserver to handle serving HTTP subfolders
2023-12-29 14:03:47 -08:00
Henrik Rydgård
9bcb858131 Various changes to the webserver to handle serving HTTP subdirectories 2023-12-29 21:35:31 +01:00
Henrik Rydgård
9c1fd06c2f Various fixes to PathBrowser etc to handle browsing HTTP subfolders 2023-12-29 21:34:24 +01:00
Henrik Rydgård
46b25d20a4
Merge pull request #18637 from unknownbrackets/riscv-more
Add some more RISC-V extensions to emitter
2023-12-29 19:03:49 +01:00
Unknown W. Brackets
52db66e7ad riscv: Add vector bitmanip encoding. 2023-12-29 09:42:23 -08:00
Unknown W. Brackets
83dc1c9705 riscv: Add detect flags, not detected yet. 2023-12-29 09:42:23 -08:00
Unknown W. Brackets
e5467d2706 riscv: Add czero instruction encoding. 2023-12-29 09:42:23 -08:00
Unknown W. Brackets
e3c6add63a riscv: Add encoding for Zcb. 2023-12-29 09:42:23 -08:00
Unknown W. Brackets
15cb782f85 riscv: Implement Zfa encoding.
Not yet enabled/detected.
2023-12-29 09:42:23 -08:00
Henrik Rydgård
f42e9d94a3 Show the tilt input type directly on the item that goes to the tilt settings 2023-12-29 14:10:03 +01:00
Henrik Rydgård
e3177ac870 Make some global string pointers const, not just the strings.
Minor cleanup.
2023-12-29 14:09:45 +01:00
Henrik Rydgård
71f1e29513 Remote ISO: Allow sharing a folder of ISOs instead of Recent. 2023-12-29 12:55:08 +01:00
Henrik Rydgård
a416d94e38 CHD over http wasn't actually working, disable again until it can be fixed 2023-12-29 12:19:06 +01:00
Henrik Rydgård
1e6584148d
Merge pull request #18631 from hrydgard/remote-iso-folder-prep
Remote ISO: Prepare to allow sharing folders directly
2023-12-29 12:10:37 +01:00
Henrik Rydgård
74a33ab98d Add new FolderChooserChoice 2023-12-29 11:44:26 +01:00
Henrik Rydgård
e6bc3d83f8 Logging improvement 2023-12-29 11:44:22 +01:00
Henrik Rydgård
2160abb5ec Web server: Send 404 as appropriate 2023-12-29 11:21:14 +01:00
Henrik Rydgård
126d88ecfc Back out clearly inconsequential/useless .reserve() calls 2023-12-29 08:27:56 +01:00
Henrik Rydgård
755b2a2535 Fix check for navigating upwards from http Paths 2023-12-29 00:40:16 +01:00
Henrik Rydgård
cd00d06842 Add reload button to GameBrowser. Fix assert if game load failed 2023-12-29 00:18:04 +01:00
Henrik Rydgård
a094637ab1 Remove left-behind debug code 2023-12-28 10:46:41 +01:00
Henrik Rydgård
aeefa4a45a Better variable naming (foundBackgroundScreen) 2023-12-28 10:45:33 +01:00
Henrik Rydgård
e40ec0cc50
Merge pull request #18589 from hrydgard/organize-bindings
Control Mappings: Organize bindings into categories
2023-12-20 19:03:13 +01:00
Henrik Rydgård
7fafc0d83b Improve error handling in homebrew install slightly 2023-12-20 18:28:41 +01:00
Henrik Rydgård
28143697b6 Fix regression from #18581 2023-12-20 18:26:27 +01:00
Henrik Rydgård
9cb3d03098 Add categories for control bindings 2023-12-20 16:20:26 +01:00
Henrik Rydgård
28189dc738 Vulkan render queue runner: Count commands in debug builds, like the GL backend. 2023-12-20 15:26:41 +01:00
Henrik Rydgård
dd1396e2fd
Merge pull request #18581 from GermanAizek/lower-scope
Reduced lower scope for local objects
2023-12-20 14:53:36 +01:00
Herman Semenov
2a31f8c6c0 [Common/Core/HLE] Object out of scope optimization for better codegeneration (lower level scope) 2023-12-20 12:33:56 +03:00
Herman Semenov
4ea842a3c1 Minor replaced insert to emplace C++11 2023-12-19 16:06:48 +03:00
Henrik Rydgård
bbcaeb9d13
Merge pull request #18557 from GermanAizek/reserve-add
Using reserve in different places PPSSPP
2023-12-15 12:28:21 +01:00
Herman Semenov
b8748ae9e5 [Common/File/GPU/Render/Input] Using reserve if possible 2023-12-15 14:00:51 +03:00
Henrik Rydgård
06ba0027c7 Vulkan: Lift unmotivated restriction on texture size 2023-12-15 10:47:51 +01:00
Henrik Rydgård
43a2af46ee Fix error handling on texture creation failure 2023-12-15 10:47:20 +01:00
Henrik Rydgård
812b1024f0 Move TouchTestScreen to DevScreens 2023-12-14 19:01:19 +01:00
Henrik Rydgård
ed4941f416 Remove Vulkan (and Windows.h) include from DevScreens.cpp 2023-12-14 19:01:18 +01:00
Henrik Rydgård
88b19432fe
Merge pull request #18548 from hrydgard/adrenotools-followup
Adrenotools followup
2023-12-14 19:00:56 +01:00
Henrik Rydgård
155222145a
Merge pull request #18550 from GermanAizek/fix-memsize-type
[Common Data Net/Core Debugger HLE/GPU Debugger] Fixed reduction data type size to strict 32-bit integer
2023-12-14 17:51:08 +01:00
Herman Semenov
309f0d97f2 [Common Data Net/Core Debugger HLE/GPU Debugger] Fixed reduction data type size to strict 32-bit integer 2023-12-14 19:26:10 +03:00
Henrik Rydgård
d64b61010d
Merge pull request #18547 from GermanAizek/fix-render-state4
Fixed all set render state4 after DirectXState::Restore()
2023-12-14 16:40:18 +01:00
Henrik Rydgård
969cb8ac18 Driver choice: Add error message for wrong file type 2023-12-14 16:26:12 +01:00
Herman Semenov
9b4cf5fad8 Fixed all set render state4 after DirectXState::Restore() 2023-12-14 17:55:54 +03:00
Henrik Rydgård
7634eba083
Merge pull request #18532 from dima-xd/adrenotools
Android: Implement custom driver loading for ARM64 Android devices
2023-12-14 15:54:24 +01:00
Henrik Rydgård
ebaebf5945
Merge pull request #18546 from GermanAizek/make-smart-ptr
[Common Data/Core Dialog HLE/GPU Common Vulkan] Optimize create smart pointers using C++17 std::make_*
2023-12-14 14:02:55 +01:00
Henrik Rydgård
b78c7ad470
Merge pull request #18545 from GermanAizek/const-ref-params
Objects in function parameters have been replaced with constant references
2023-12-14 13:49:33 +01:00
Herman Semenov
08070e7f31 [Common Data/Core Dialog HLE/GPU Common Vulkan] Optimize create smart pointer using C++17 std::make_* 2023-12-14 15:44:16 +03:00
Herman Semenov
5a0d54be83 [Common/Data/GPU/Input/System/UI] Added const reference for function params 2023-12-14 14:21:11 +03:00
Dzmitry Dubrova
a461800973 Implement custom driver loading for ARM64 Android devices 2023-12-14 08:53:03 +03:00
Herman Semenov
315340fc62 Using const reference for C++17 range-based loop and freq used objects 2023-12-13 17:33:01 +01:00
Henrik Rydgård
1ac780aacc Reduce flicker on savestate screenshot load 2023-12-13 12:26:11 +01:00
Henrik Rydgård
d549817245 Add missing check 2023-12-13 12:21:12 +01:00
Henrik Rydgård
f8927df9a6 Load savestate screenshots in the background 2023-12-13 12:07:23 +01:00
Henrik Rydgård
e5d2e09f02 Some code simplification 2023-12-13 10:45:42 +01:00
Henrik Rydgård
2aca8fe3f9 Get rid of more unnecessary uses of ManagedTexture 2023-12-12 23:13:45 +01:00
Henrik Rydgård
4c3f82da55 Remove ManagedTexture from HttpImageView 2023-12-12 22:44:03 +01:00
Henrik Rydgård
82bdc9ec50 Add CreateTextureFromFileData (without ManagedTexture) 2023-12-12 22:24:13 +01:00
Henrik Rydgård
d2e10a058e Some renaming 2023-12-12 22:15:55 +01:00
Henrik Rydgård
76c7540173 First part of UI texture loading refactor 2023-12-12 22:13:15 +01:00
Henrik Rydgård
6d3c34ecd5 Eliminate inf values resulting from depth range computation.
Fixes #17981
2023-12-12 18:48:22 +01:00
Henrik Rydgård
5763ec1b88 Move NativeQueryConfig into app-android.cpp 2023-12-12 09:56:33 +01:00
Henrik Rydgård
79ab67e3b2 Run-behind-pause: Fix some edge cases with the transparent background setting 2023-12-11 17:47:19 +01:00
Henrik Rydgård
25ab7b9170 Fix a bunch of edge cases 2023-12-11 15:58:08 +01:00
Henrik Rydgård
6e369e5188 Add play/pause button to the bottom right of the pause screen 2023-12-11 13:56:16 +01:00
Henrik Rydgård
e8f70594a4 Implement running the game in the background on the pause screen. Fix some bugs. 2023-12-11 12:41:44 +01:00
Henrik Rydgård
ae1009c92b Warning fix 2023-12-11 02:10:08 +01:00
Henrik Rydgård
6d51fbc1e6 Refactor UI background rendering. There's now a BackgroundScreen. 2023-12-10 22:26:46 +01:00
Henrik Rydgård
48d60d8613 Remove UIContext knowledge of screen tags 2023-12-10 22:21:50 +01:00
Henrik Rydgård
3832b32bbc Add the concept of a background screen 2023-12-10 22:21:48 +01:00
Henrik Rydgård
0ff0ad9140 Remove preRender/postRender methods from screens, in favor of a mode parameter. 2023-12-10 14:09:55 +01:00
Henrik Rydgård
22295a6412 Plumb through a ScreenRenderMode parameter 2023-12-10 13:05:17 +01:00
Henrik Rydgård
600fb7cc22 Minor cleanups 2023-12-10 12:37:35 +01:00
Henrik Rydgård
db4993bfdc Implement full support for mouse input on Android
The smoothing algorithm changed a bit now that I centralized that logic
in a way that can work with all backends.
2023-12-10 09:52:19 +01:00
Henrik Rydgård
7e85d3d10a Disable the new culling on RISC-V for now. 2023-12-09 16:49:02 +01:00
Henrik Rydgård
4e2a1bf81c NEON: vcvtq can scale directly, no need for a mul by const. 2023-12-09 16:48:59 +01:00
Henrik Rydgård
99548be8a3 NEON culling: Use mla operations to shave off some more cycles. ARM32 compat. 2023-12-09 16:36:01 +01:00
Henrik Rydgård
6a7ef83f4b NEON-optimize the culling 2023-12-09 15:55:51 +01:00
Henrik Rydgård
0905b6a5ad Frustum-cull small draws
Some games do a poor job of culling stuff, and some transparent
sprites can be very expensive if they cause a copy.
Skipping them if outside the viewport makes sense in that case.

One example are the flame sprites in #17797 .

Additionally, we should be able to cull through-mode draws easily, this
one doesn't even try.
2023-12-09 15:55:51 +01:00
Henrik Rydgård
6645ddfa38
Merge pull request #18489 from hrydgard/memory-profiling-notes
Some changes and comments after running the memory profiler on Windows
2023-12-08 23:58:48 +01:00
Henrik Rydgård
d234fa24e6 Add progress bar (without %) to install/uninstall. Other fixes. 2023-12-08 16:16:28 +01:00
Henrik Rydgård
376db1f931 Remove the unused "front" draw2d buffer. Saves 1.5MB of RAM. 2023-12-08 12:29:24 +01:00
Henrik Rydgård
a22450320b Some minor changes and comments after memory profiling 2023-12-08 12:22:12 +01:00
Henrik Rydgård
dde13b448f Use FastVec in VulkanBarrier 2023-12-07 17:30:18 +01:00
Henrik Rydgård
8dbcbe4ecf Align the APIs of the various vectors slightly 2023-12-07 17:30:16 +01:00
Henrik Rydgård
85001bf71f Remove some redundant uses of MOBILE_DEVICE. Goal is to one day get rid of that define. 2023-12-07 17:30:15 +01:00
Henrik Rydgård
676a4de4d7 Remove an ifdef controlling dialog button order 2023-12-07 17:30:15 +01:00
Henrik Rydgård
36a2174ac0 Vulkan: Add indicator of swizzle mode to texture debug names 2023-12-07 10:35:04 +01:00
Henrik Rydgård
e2480b9fa0 D3D9: Apply a half-pixel offset in 2D shader draws. Makes Tantalus games less broken (but still broken) 2023-12-05 14:09:14 +01:00
Henrik Rydgård
81d741a5fe D3D9: Fix recent regression (crash) 2023-12-05 13:41:04 +01:00
Henrik Rydgård
bc4e8d4d47 Remove some remains of the old input attachment code 2023-12-04 14:50:02 +01:00
Henrik Rydgård
84d3bfc506 Add mouse wheel support for Android
Fixes #18471

Tested on a Poco F4 phone with a generic Bluetooth mouse.
2023-12-04 13:41:52 +01:00
Henrik Rydgård
1f2dbfaf25 Vulkan: Allow MSAA on modern-ish mobile devices, but add a little warning sign.
MSAA on tiler GPUs, the way we use it (we are not able to eliminate
load/store operations yet) can consume huge amounts of bandwidth, so let's be a
little bit careful.
2023-12-03 20:59:15 +01:00
Henrik Rydgård
a9c1bc2ce7 Add translation string, show uncompressed size if different from disk size 2023-11-27 01:11:43 +01:00