Commit graph

30489 commits

Author SHA1 Message Date
Unknown W. Brackets
ee9d19430f softgpu: Implement DXT1 decoding in samplerx86. 2021-09-12 13:57:28 -07:00
Unknown W. Brackets
a0eeb52444 softgpu: Decode DXT texels directly.
This improves performance a lot compared to decoding the whole block.
Eventually we may implement a cache, but threading makes that complex to
make properly fast.
2021-09-12 09:37:34 -07:00
Unknown W. Brackets
1ee5352d3e TexCache: Correct DXT5 alpha calculation.
This matches PSP alpha values from an exhaustive test.
2021-09-12 09:35:53 -07:00
Unknown W. Brackets
db21d0e7fc Android: Avoid crash without ext dir.
This can return null on some older Androids.  See #14821.
2021-09-11 20:12:17 -07:00
Henrik Rydgård
f1c05b0395
Merge pull request #14829 from hrydgard/path-case-fix
Auto-fix case of manually specified paths
2021-09-11 22:08:52 +02:00
Henrik Rydgård
f348adb4b3 Auto-fix case of manually specified paths.
Fixes remaining issue in #14821
2021-09-11 21:45:31 +02:00
Henrik Rydgård
de3d711616 Move FixPathCase to Common/File/Path 2021-09-11 21:17:23 +02:00
Henrik Rydgård
d876834561 Fix weird linker problem 2021-09-11 21:17:01 +02:00
Henrik Rydgård
b17ff0e5af
Merge pull request #14818 from iota97/super-wp
Focus based moving background
2021-09-11 20:50:54 +02:00
Henrik Rydgård
447700133c
Merge pull request #14827 from hrydgard/savedata-opt
Savedata optimizations
2021-09-11 20:44:22 +02:00
Henrik Rydgård
4a5008bdf1
Merge pull request #14828 from stuken/libretro_set_inflightframes
Wire inflight frames config setting to render managers.
2021-09-11 20:32:38 +02:00
Henrik Rydgård
b05a74803d Remove another redundant check, comment fixes 2021-09-11 20:31:42 +02:00
Henrik Rydgård
71056e3486 SFO return value fix, oops 2021-09-11 20:26:36 +02:00
Stuart Kenny
825a84a5d1 Wire inflight frames config setting to render managers. 2021-09-11 19:05:34 +01:00
Henrik Rydgård
36079b86d0 Optimize away a couple of existence checks 2021-09-11 19:53:19 +02:00
Henrik Rydgård
5d53e59c1d Optimize ReadPSPFile (which should probably be replaced with ReadEntireFile anyway) 2021-09-11 19:33:28 +02:00
Henrik Rydgård
464af0723e Minor gradle upgrade, why not 2021-09-11 19:32:48 +02:00
Henrik Rydgård
8e2b73b05f Optimize MetaFileSystem::ReadEntireFile 2021-09-11 19:32:37 +02:00
Henrik Rydgård
f53546362f
Merge pull request #14826 from hrydgard/more-io-optimizations
More I/O optimizations
2021-09-11 18:54:22 +02:00
Henrik Rydgård
07413aa4e3 Feedback 2021-09-11 18:53:46 +02:00
Henrik Rydgård
dc520a59d3 Log the duration of directory size computations too 2021-09-11 18:17:14 +02:00
Henrik Rydgård
f7895457ee Add back the dir listing logging. Add hack to avoid confusing Wipeout :( 2021-09-11 18:12:30 +02:00
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