Commit Graph

37919 Commits

Author SHA1 Message Date
Henrik Rydgård
0fdb0e47a8 Revert "Move Present to the end of NativeFrame()"
This didn't work out too well, will look into it as it's a necessary
step.

This reverts commit 4e77c63b97.
2023-08-10 13:51:35 +02:00
Henrik Rydgård
f40a49369c
Merge pull request #17883 from hrydgard/remove-unused-egl-stuff
Remove some unused EGL code
2023-08-10 13:10:43 +02:00
Henrik Rydgård
c6179c67e4 Remove from cmakelists and android.mk. 2023-08-10 12:02:10 +02:00
Henrik Rydgård
13274f7ca6 Remove some unused EGL code 2023-08-10 12:02:10 +02:00
Henrik Rydgård
6f12144aec
Merge pull request #17884 from hrydgard/android-update-gradle
Update gradle to 8.1.0
2023-08-10 12:02:03 +02:00
Henrik Rydgård
e87956578c Update gradle to 8.1.0 2023-08-10 11:18:00 +02:00
Henrik Rydgård
b600e60216
Merge pull request #17882 from hrydgard/split-finish-and-present
Vulkan: Split EndFrame and Present
2023-08-10 11:08:08 +02:00
Henrik Rydgård
96506544b7 Just some random driveby code cleanup 2023-08-10 10:28:25 +02:00
Henrik Rydgård
4e77c63b97 Move Present to the end of NativeFrame() 2023-08-10 10:00:12 +02:00
Henrik Rydgård
1b6d4df3a4 Move the EndFrame/Present split one level out, to NativeApp.cpp 2023-08-10 09:59:29 +02:00
Henrik Rydgård
e06e919624 VulkanRenderManager: Split finish and present (so we can inject a wait in between if desired). 2023-08-10 09:50:01 +02:00
Henrik Rydgård
a246df40c3
Merge pull request #17879 from hrydgard/move-present-out-of-screenmanager
Call draw->Begin/EndFrame from outside the screen manager.
2023-08-10 09:43:54 +02:00
Unknown W. Brackets
182e0c169c
Merge pull request #17880 from dressupgeekout/netbsd_source
Several functions on NetBSD are hidden behind _NETBSD_SOURCE
2023-08-09 23:44:49 -07:00
Charlotte Koch
0d96cb9cbb Several functions on NetBSD are hidden behind _NETBSD_SOURCE 2023-08-09 23:22:37 -07:00
Henrik Rydgård
0d4a2a7594 Call draw->Begin/EndFrame from outside the screen manager.
Just a very small refactoring that I want in a separate commit.
2023-08-09 23:24:28 +02:00
Henrik Rydgård
50ea506b6a Revert "Regression experiment: Temporarily revert to returning 0 from bad achievement memory accesses."
This reverts commit a044d8ccc2.
2023-08-09 16:16:39 +02:00
Henrik Rydgård
3e682ea733 Take out the "yield" arm64 implementation, that uses a builtin that some compilers miss.
It's not used anyway yet.

Fixes #17877
2023-08-09 12:20:27 +02:00
Henrik Rydgård
2342c4522c
Merge pull request #17875 from unknownbrackets/riscv-jit
RISC-V: Implement a few more ops
2023-08-09 09:30:15 +02:00
Henrik Rydgård
bac4e8d42d
Merge pull request #17874 from unknownbrackets/irjit-exits
IR: Simplify exits to ExitToConst when viable
2023-08-09 09:11:52 +02:00
Henrik Rydgård
6758675054
Merge pull request #17873 from unknownbrackets/irjit-shuffle
IR: Fix vqmul / Vec4Shuffle overlap
2023-08-09 09:10:03 +02:00
Unknown W. Brackets
2c13b6d973 riscv: Implement vc2i. 2023-08-08 23:17:32 -07:00
Unknown W. Brackets
28c58c1d24 irjit: Allow more forms of vmidt.
Mildly worth it.
2023-08-08 23:17:32 -07:00
Unknown W. Brackets
4b9011e475 riscv: Reduce call bloat using temps. 2023-08-08 23:17:32 -07:00
Unknown W. Brackets
ddf3d02a3c riscv: Implement vi2uc. 2023-08-08 23:17:32 -07:00
Unknown W. Brackets
268adf1aa1 riscv: Implement scaled float/int convert. 2023-08-08 23:17:32 -07:00
Unknown W. Brackets
0b4e7d60f9 riscv: Implement ReverseBits in jit. 2023-08-08 23:17:32 -07:00
Unknown W. Brackets
ad4cbbab8e riscv: Don't cache mipState on backend.
Bad sign if we're trying to use it, anyway.
2023-08-08 23:17:32 -07:00
Unknown W. Brackets
31ff23746c irjit: Prefer ExitToConst over ExitToReg. 2023-08-08 23:14:01 -07:00
Unknown W. Brackets
3f97545f99 irjit: Reduce exits from constants.
This reduces bloat a bit, and may help with common funcs that enter short
loops.
2023-08-08 23:05:14 -07:00
Unknown W. Brackets
5f9a8fd1a1 irjit: Rename IRRegCache to IRImmRegCache.
For clarity, since it's not a native regcache.
2023-08-08 23:05:14 -07:00
Unknown W. Brackets
1a92027810 riscv: Make Vec4Shuffle overlap safe. 2023-08-08 23:00:45 -07:00
Unknown W. Brackets
e73c203984 irjit: Fix Vec4Shuffle overlap issue. 2023-08-08 23:00:39 -07:00
Henrik Rydgård
bf2ec90f64
Merge pull request #17865 from hrydgard/upgrade-molten-vk
Mac: Update MoltenVK to version from the latest SDK
2023-08-08 16:34:38 +02:00
Henrik Rydgård
768b273a83
Merge pull request #17870 from hrydgard/revert-rcheevos
rcheevos: revert to before #17806
2023-08-08 16:33:06 +02:00
Henrik Rydgård
0c8a397ed8
Merge pull request #17871 from hrydgard/ridge-racer-fix-again
Add back the self-render check that kept Ridge Racer working.
2023-08-08 16:31:42 +02:00
Henrik Rydgård
ebfd76d742 Add back the self-render check that kept Ridge Racer working.
This hack was removed in #17838
2023-08-08 15:42:52 +02:00
Henrik Rydgård
ac269aaa4b rcheevos: revert to before #17806
PR #17806 upgraded rcheevos, after which a regression is reported in
issue #17631.

Experimentally revert to confirm.
2023-08-08 15:38:22 +02:00
Henrik Rydgård
38357a2c1c
Merge pull request #17868 from hrydgard/present-wait-thread-fixes
Turn off the present-wait thread
2023-08-08 15:37:39 +02:00
Henrik Rydgård
a044d8ccc2 Regression experiment: Temporarily revert to returning 0 from bad achievement memory accesses. 2023-08-08 15:33:46 +02:00
Henrik Rydgård
86db91979f Turn off present-wait for now. Too many issues. 2023-08-08 15:07:44 +02:00
Henrik Rydgård
652cc6cd65 Race condition fix 2023-08-08 14:00:58 +02:00
Henrik Rydgård
8fec4fb02f wip 2023-08-08 13:26:27 +02:00
Henrik Rydgård
2990fe48cb
Merge pull request #17867 from hrydgard/correct-mac-bundle-version
Fix mac bundle version string.
2023-08-08 13:01:21 +02:00
Henrik Rydgård
0aa9b765b1
Merge pull request #17866 from hrydgard/sdl-loop-refactor
SDL: Break out event processing from main loop
2023-08-08 13:01:09 +02:00
Henrik Rydgård
5ee04ce403 SDL: Break out event processing from main loop
Makes things a bit easier to work with.
2023-08-08 12:28:42 +02:00
Henrik Rydgård
1f65557168 Fix mac bundle version string.
On mac, the git-version.cpp to look at at bundle time is the one in build.
2023-08-08 12:16:10 +02:00
Henrik Rydgård
527e16c17a
Merge pull request #17863 from hrydgard/merge-update-render
Merge NativeUpdate and NativeRender, we always call them together.
2023-08-08 12:00:29 +02:00
Henrik Rydgård
97a0acf6d0 Mac: Update MoltenVK to version from the latest SDK 2023-08-08 11:58:33 +02:00
Henrik Rydgård
8e74907710 Don't try to use VK_GOOGLE_display_timing on Mac/iOS. MoltenVK has an implementation that seems broken. 2023-08-08 11:46:36 +02:00
Henrik Rydgård
bcae36d8cb Merge NativeUpdate and NativeRender, we always call them together. 2023-08-07 22:50:57 +02:00