Commit Graph

39154 Commits

Author SHA1 Message Date
Henrik Rydgård
aca3bbc9a0 DrawEngine: Remove the confusing MaxIndex accessor, replace with directly reading numDecodedVerts_ 2023-12-10 11:58:47 +01:00
Henrik Rydgård
653b19ae53
Merge pull request #18500 from hrydgard/mouse-events-android
Implement full support for mouse input on Android
2023-12-10 11:16:25 +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
904ce4f7e1 Quickfix regression in Outrun 2023-12-09 18:32:26 +01:00
Henrik Rydgård
5d4ae87e43 Possible buildfix 2023-12-09 18:08:19 +01:00
Henrik Rydgård
848de762b3
Merge pull request #18498 from KatyushaScarlet/dev-loongarch64
Use __loongarch_lp64 instead of __loongarch64 as it is deprecated
2023-12-09 17:42:17 +01:00
Henrik Rydgård
27e47d9899
Merge pull request #17808 from hrydgard/frustum-cull-small-draws
Frustum-cull small draws (experiment)
2023-12-09 17:23:56 +01:00
Henrik Rydgård
7f65db909f
Merge pull request #18497 from hrydgard/more-input-refactor
Android: Batch motion events.
2023-12-09 16:49: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
5b44e25150 SSE-optimize the frustum culling 2023-12-09 15:55:51 +01:00
Henrik Rydgård
62c936babf Flip the cull plane data around to avoid transforming each vertex multiple times. 2023-12-09 15:55:51 +01:00
Henrik Rydgård
a043962447 World space planes 2023-12-09 15:55:51 +01:00
Henrik Rydgård
dbf796bb66 Fastcull: SSE/NEON-optimize 16-bit position conversion 2023-12-09 15:55:51 +01:00
Henrik Rydgård
89d8ef87ec Use a less accurate but faster frustum cull for the general draws. 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
fe732f167c Android: Batch motion events. 2023-12-09 15:44:09 +01:00
KatyushaScarlet
3ffcf78788 Use __loongarch_lp64 instead of __loongarch64 as it is deprecated 2023-12-09 20:31:17 +08:00
Henrik Rydgård
3e20fab387
Merge pull request #18495 from hrydgard/upgrade-armips-submodule
Update the armips submodule
2023-12-09 10:41:23 +01:00
Henrik Rydgård
253b8c91e5 Update the armips submodule (used for asm/disasm etc) 2023-12-09 00:21:57 +01:00
Henrik Rydgård
00901ed199 Fix a little oops 2023-12-09 00:20:44 +01:00
Henrik Rydgård
29b934a4d9 Android: When filtering bogus key events, return true so no further processing happens.
Bugfix for 902ee91a02
2023-12-09 00:15:27 +01:00
Henrik Rydgård
c6db96354e
Merge pull request #18485 from hrydgard/beats-mp3-dir-fix
Beats: Fix file permissions on FAT so it can see custom MP3s.
2023-12-09 00:01:15 +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
902ee91a02 Android: Ignore key events with keycode 0 from gamepads.
Trying a really narrow fix for problem with stadia pads converted to
bluetooth, reported by oldmario on Discord.
2023-12-08 22:50:34 +01:00
Henrik Rydgård
f8eb042303
Merge pull request #18493 from oltolm/asan_bug
fix ASAN error in Vec2<float>::Length()
2023-12-08 21:41:12 +01:00
Henrik Rydgård
e5a91e3b85 Compat: Enable ShaderColorBitmask for DBZ: Tenkaichi Tag Team, fixing shadows
See issue #18494
2023-12-08 21:27:51 +01:00
Henrik Rydgård
72ec0bf958
Merge pull request #18490 from hrydgard/uninstall-on-thread
Homebrew Store: Do uninstalls on a thread
2023-12-08 20:33:14 +01:00
oltolm
6e609342d6 fix ASAN error in Vec2<float>::Length() 2023-12-08 19:50:47 +01:00
Henrik Rydgård
c9d5b72683
Merge pull request #18491 from hrydgard/autoconfigure-pad-nonwindows
SDL: Filter duplicate axis events. Fix autoconfigure to not use Xinput on non-Windows
2023-12-08 18:15:15 +01:00
Henrik Rydgård
e8c5456021 Don't try to autoconfigure XInput controls on other platforms than Windows 2023-12-08 16:24:48 +01:00
Henrik Rydgård
566d9f67f6 SDL input filtering 2023-12-08 16:17:38 +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
888b32e243 Store: Perform uninstalls on a background thread, to avoid hanging the UI 2023-12-08 16:16:26 +01:00
Henrik Rydgård
a929eb6c6d Store: Remove unnecessary std::shared_ptr around the install thread 2023-12-08 12:49:15 +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
89c320fe2b
Merge pull request #18487 from hrydgard/misc-cleanup
Misc code cleanup
2023-12-07 18:05:17 +01:00
Henrik Rydgård
378b3a15a6
Merge pull request #18488 from hrydgard/retroachievements-per-game
Make some achievement settings (including Hardcore mode) configurable per-game.
2023-12-07 17:37:04 +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
45b336a38c Make some achievement settings (including Hardcore mode) configurable per-game. 2023-12-07 17:09:21 +01:00
Henrik Rydgård
fc49c1029a
Merge pull request #18486 from hrydgard/compat-enforce-default-clock
Compat: Enforce [RequireDefaultCPUClock] compat flag by disabling overclocking for these games
2023-12-07 15:25:00 +01:00
Henrik Rydgård
b22e27a537 Compat: Enforce "RequireDefaultCPUClock" by disabling overclocking for these games
Instead of just warning.

Fixes #12811
2023-12-07 14:06:41 +01:00
Henrik Rydgård
8dab823936
Merge pull request #18484 from hrydgard/mlb-fix
Fix frozen pitch meters in MLB series games - we were not hashing enough texture data
2023-12-07 12:12:35 +01:00
Henrik Rydgård
ee4d98339c Beats: Fix file permissions on FAT so it can see custom MP3s.
On FAT file systems, files look like they have executable permission.
For some reason Beats checks for this.

Unfortunately, this doesn't really make custom music playable - while
they now display, they seem to start stuttering after a short while. Or
it's just my files...
2023-12-07 12:10:01 +01:00