Commit graph

30464 commits

Author SHA1 Message Date
Henrik Rydgård
fcc0337576 Fix the Android recursive size computation and hook it up. 2021-09-11 18:12:30 +02:00
Henrik Rydgård
48310d15a9 Add metafilesystem hook to add optimized implementations of compute recursive directory size 2021-09-11 18:12:29 +02:00
Henrik Rydgård
e842d395fa Add untested function Android_ComputeRecursiveDirectorySize 2021-09-11 18:11:53 +02:00
Henrik Rydgård
cd79a1d92f Fix another GetFileInfo loop (GetFilesInDir now does return sizes) 2021-09-11 18:11:53 +02:00
Henrik Rydgård
1eef8973c7
Merge pull request #14825 from unknownbrackets/memstick-cache
Add a cache for memory stick usage
2021-09-11 18:09:34 +02:00
Unknown W. Brackets
bcc4c3d8fa Io: Assume a write may have happened on resume.
This way if they switch away to delete files, it will have more free
space.
2021-09-11 07:36:02 -07:00
Unknown W. Brackets
906664b9d8 Io: Cache SAVEDATA usage between writes.
Some games will loop over saves to check the size of each, and calculating
the total usage is expensive.  We don't need to recalculate each time.
2021-09-11 07:29:15 -07:00
Henrik Rydgård
ef7b6ec5ca
Merge pull request #14824 from hrydgard/hide-irrelevant-directories
Hide directories games should not know about
2021-09-11 15:36:20 +02:00
Henrik Rydgård
09f65db91c Cleanup 2021-09-11 15:35:11 +02:00
Henrik Rydgård
b075b79175 Also hide SHADERS directory from games 2021-09-11 15:14:44 +02:00
Henrik Rydgård
369ae031de Optimize install data size calculation. 2021-09-11 15:13:37 +02:00
Henrik Rydgård
830d205839 Optimize savedata size calculation 2021-09-11 15:11:56 +02:00
Henrik Rydgård
1f81876ab1 Cleanup 2021-09-11 15:04:53 +02:00
Henrik Rydgård
04578edf65 Hide directories games should not know about from them.
Stops some games from spending lots of time iterating over files they
should not care about. Helps the performance issues in #13847 quite a bit.
2021-09-11 15:02:52 +02:00
Henrik Rydgård
46ada8649c VK mip gen: Could end up with a zero dimension in the lowest mipmap, prevent that.
Should help #14814
2021-09-11 13:13:40 +02:00
Unknown W. Brackets
d264cbef32 Vulkan: MSVC 2017 buildfix.
Fixes the buildbot.
2021-09-10 23:35:31 -07:00
Unknown W. Brackets
b7edcaa721
Merge pull request #14823 from hrydgard/storage-fixes
Android: Disallow using the folder selection on older system versions
2021-09-10 19:19:29 -07:00
Unknown W. Brackets
08dbcf7f79 UI: Fix non-Android build error. 2021-09-10 19:01:56 -07:00
Henrik Rydgård
df0dd441c9 Add back the ability to manually specify a folder, on Android 9 and earlier. 2021-09-10 23:59:54 +02:00
Henrik Rydgård
e7214f4f6b Hide the folder selector for memstick directory on Android 9 and earlier.
It just doesn't work.
2021-09-10 23:42:21 +02:00
Henrik Rydgård
d3abcf1b56 Draw bullet points as circles for a consistent look regardless of system font. 2021-09-10 23:41:44 +02:00
Henrik Rydgård
7632e5e16e Minor polish to MemStickScreen 2021-09-10 22:52:49 +02:00
Henrik Rydgård
25fff384d7
Merge pull request #14822 from stuken/libretro_vulkan_shutdown_fix
Fix intermittent crashes when closing content in libretro under vulkan
2021-09-10 22:39:16 +02:00
Stuart Kenny
d88fec8950 Decouple Vulkan context object destruction from retroarch's ContextDestroy call 2021-09-10 20:38:52 +01:00
Henrik Rydgård
b813aa30f8
Merge pull request #14820 from unknownbrackets/softgpu
Correct guardband and Z cull behavior in software renderer
2021-09-10 08:26:02 +02:00
Henrik Rydgård
16e820edad
Merge pull request #14816 from iota97/wave-fix
Fix wave on different dps
2021-09-10 08:20:14 +02:00
Unknown W. Brackets
121c56e6db softgpu: Clip only on -Z, cull if entirely outside.
This is important for several issues, like #12058 or #12060, where
something is drawn entirely outside valid Z, and should be culled.
2021-09-09 20:13:42 -07:00
Unknown W. Brackets
0b73c1ce83 softgpu: Correct guardband cull behavior.
Culling is based on whether clipping happens, not whether clamping
happens.  This is important for issues like #12348.
2021-09-09 20:05:41 -07:00
Unknown W. Brackets
e00a3eed13
Merge pull request #14817 from hrydgard/savedata-screen-fixes
Savedata screen fixes
2021-09-09 17:13:11 -07:00
Henrik Rydgård
5876388c65 Vulkan scissor fix (validation errors). 2021-09-10 01:15:29 +02:00
Henrik Rydgård
85ac0f8856 Fix a couple sort comparators for the savedata screen 2021-09-10 01:14:59 +02:00
iota97
9283d14a3d Fix wave on different dps 2021-09-09 11:58:02 +02:00
Henrik Rydgård
f9f893f3fc
Merge pull request #14813 from hrydgard/scoped-storage-shortcut-fix
Various Android shortcut fixes
2021-09-09 09:12:49 +02:00
Henrik Rydgård
c9bcbf326f More shortcut fixes 2021-09-09 00:00:54 +02:00
Henrik Rydgård
273376ab8d Set a couple flags on the ShortcutIntent 2021-09-08 23:43:35 +02:00
Henrik Rydgård
bad0736fa3 Avoid calling into C++ when creating game shortcuts. Use scoped storage-compatible file chooser when possible. 2021-09-08 23:26:01 +02:00
Henrik Rydgård
1d08317766 Valiant attempt to fix queryGameName 2021-09-08 23:25:39 +02:00
Henrik Rydgård
568043211f Fix error message 2021-09-08 23:24:28 +02:00
Henrik Rydgård
0d9d360b07 ThreadManager cleanups 2021-09-08 23:24:00 +02:00
Henrik Rydgård
8e9cdf97cf Implement support for new file chooser on Android 11+. 2021-09-08 21:33:50 +02:00
Henrik Rydgård
5e4c478f43
Merge pull request #14807 from iota97/double-bind
Double binding fix
2021-09-08 21:23:56 +02:00
Unknown W. Brackets
51e2015815
Merge pull request #14811 from stuken/libretro_hardware_texture_scaling_option
Expose texture shader core option in libretro
2021-09-08 12:07:03 -07:00
Henrik Rydgård
7120a9761b
Merge pull request #14810 from iota97/wave
Wave animation
2021-09-08 18:58:50 +02:00
Stuart Kenny
f442f4012c Expose texture shader core option. 2021-09-08 16:42:11 +01:00
iota97
79b10c4d53 Add some antialiasing 2021-09-08 16:36:57 +02:00
iota97
01aaed54d6 Wave animation 2021-09-08 15:57:41 +02:00
Henrik Rydgård
03b53c6a75
Merge pull request #14808 from stuken/libretro_update_texture_filtering
Expose new texture filtering mode in libretro
2021-09-08 11:46:49 +02:00
Stuart Kenny
6350b41d3f Expose new texture filtering option and fix runtime changing texture upscale mode 2021-09-08 09:27:15 +01:00
iota97
7b33325cac Double binding fix 2021-09-08 08:54:59 +02:00
Unknown W. Brackets
f92c33a48c
Merge pull request #14806 from hrydgard/control-grid-fix
Control layout grid fix
2021-09-07 16:46:59 -07:00