Commit Graph
47140 Commits
Author SHA1 Message Date
Henrik Rydgård 1a02995942 Merge pull request #18520 from hrydgard/opengl-render-fix
OpenGL: Fix some confusion between gpu->BeginHostFrame and gpu->BeginFrame
2023-12-11 23:44:33 +01:00
Henrik Rydgård 33e48e9675 OpenGL: Fix some confusion between gpu->BeginHostFrame and gpu->BeginFrame, fixing black screen 2023-12-11 23:05:37 +01:00
Henrik Rydgård 8f75649b49 Merge pull request #18519 from hrydgard/texture-replacement-filter
Enable texture replacement filtering overrides even if file is missing
2023-12-11 22:45:09 +01:00
Henrik Rydgård 3902c85f7f Enable texture replacement filtering overrides even if file is missing 2023-12-11 20:20:35 +01:00
Henrik Rydgård bf054203ed Merge pull request #18517 from hrydgard/fix-transparent-background-edgecase
Run-behind-pause: Fix some edge cases with the transparent background setting
2023-12-11 18:41:37 +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 65081da7f4 Merge pull request #18515 from hrydgard/run-behind-pause-screen
Run behind pause screen
2023-12-11 17:00:07 +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 8d8ff5886b Fix issue where nothing had started a render pass when we wanted to clear the screen. 2023-12-11 13:06:15 +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 9f01661774 Merge pull request #18511 from hrydgard/screen-manager-refactor
Screen manager refactoring, preparation for running the game behind the pause screen
2023-12-11 08:50:08 +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 7605c2e4c5 Merge pull request #18510 from oltolm/fix_asan_user_after_free
CtrlDisplayListView: fix ASAN eror
2023-12-10 17:41:11 +01:00
oltolm 96a30ffb49 CtrlDisplayListView: fix ASAN eror 2023-12-10 16:32:18 +01:00
Halo-Michael c4008ee274 Little cleanup 2023-12-10 22:34:26 +08:00
Henrik Rydgård 1a66135480 Merge pull request #18506 from Halo-Michael/master
[iOS] Update JIT enable method from project UTM
2023-12-10 15:09:39 +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
Halo-Michael 17daebfc56 Update JIT enable method from project UTM
See at https://github.com/utmapp/UTM/blob/714871a85d8004c80a53cc1d79a1f17d3b2c4ff2/Services/UTMJailbreak.m
2023-12-10 20:06:25 +08:00
Henrik Rydgård c220199d85 Merge pull request #18505 from hrydgard/dbz-slowdown-fix
Fix slowdown on zero-vertex draw calls
2023-12-10 13:05:41 +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 71aaad23fb Fix issue with zero-vertex draw calls. Though, should maybe just filter them out earlier. 2023-12-10 12:21:07 +01:00
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