Commit Graph

37732 Commits

Author SHA1 Message Date
Henrik Rydgård
86fcb28d4d Remove "bool retainControl_" for simplicity. Not needed. 2023-08-13 18:40:35 +02:00
Henrik Rydgård
f7b8075d05
Merge pull request #17896 from hrydgard/frame-timing-struct
Frame timing struct
2023-08-13 18:20:00 +02:00
Henrik Rydgård
a84cb357dc Comment fixes, adjust a couple of sleeps 2023-08-13 17:57:46 +02:00
Henrik Rydgård
7bb1914fd3 Add FrameTiming.cpp/h (with no real contents) 2023-08-13 17:57:43 +02:00
Henrik Rydgård
b84091f1d2
Merge pull request #17895 from hrydgard/ini-file-fix
IniFile: Store sections in unique_ptrs, instead of directly.
2023-08-13 14:01:34 +02:00
Henrik Rydgård
cf83be8b3c Very small memory leak fix 2023-08-13 13:55:51 +02:00
Henrik Rydgård
d82ecf1d3e IniFile: Store sections in unique_ptrs, instead of directly.
This fixes an issue when you create two sections consecutively and
retain pointers to them, and then modify them, such as happens in the
postshader ini initialization. Previously, one of the section pointers
could get invalidated since the section vector got resized. Now, the
pointed-to sections don't move around in memory, only the list of them
does.
2023-08-13 13:41:43 +02:00
Henrik Rydgård
2a74a0b98a
Merge pull request #17893 from unknownbrackets/riscv-blocklink
riscv: Enable block linking
2023-08-13 12:40:39 +02:00
Unknown W. Brackets
81f67c717c riscv: Fix block link for prev blocks.
Oops, was just reversed so never linking.
2023-08-12 10:48:39 -07:00
Unknown W. Brackets
71fcc4a658 riscv: Fix disassembly of ra-relative jump. 2023-08-12 09:53:38 -07:00
Unknown W. Brackets
8f155dba32 Debugger: Fix random FPU/VFPU selection. 2023-08-12 09:50:46 -07:00
Unknown W. Brackets
fcc90095f7 riscv: Enable block linking. 2023-08-12 09:37:02 -07:00
Unknown W. Brackets
247788806a irjit: Add direct helper for start PC.
It's annoying always fetching length too.
2023-08-12 09:37:02 -07:00
Unknown W. Brackets
b3cdf06c5a riscv: Write fixup on block invalidation. 2023-08-12 09:37:02 -07:00
Unknown W. Brackets
3757ebca2d irjit: Invalidate/finalize target blocks.
Doesn't actually do anything yet, but adds plumbing.
2023-08-12 09:37:02 -07:00
Unknown W. Brackets
fc476020ba riscv: Improve immediate generation.
Use compressed instructions more, better jumps when outside PC 32-bit
range.
2023-08-12 09:37:02 -07:00
Henrik Rydgård
094c432992
Merge pull request #17892 from hrydgard/revert-gl-separate-present
Revert "OpenGL: Separate submit/present for this backend as well"
2023-08-12 17:12:13 +02:00
Henrik Rydgård
0ccd29f2ba Revert "OpenGL: Separate submit/present for this backend as well"
This reverts commit 0143d67f9b.
2023-08-12 13:35:21 +02:00
Henrik Rydgård
fabcaf6e04
Merge pull request #17890 from hrydgard/d3d-present-refactor
D3D presentation refactoring
2023-08-11 10:41:55 +02:00
Henrik Rydgård
1ea11c233c Remove "SwapBuffers" from the GraphicsContext interface.
Buildfixes

More buildfix

headless buildfix

One more buildfix
2023-08-11 01:57:02 +02:00
Henrik Rydgård
ed9b033f7d D3D9/11: Move away from using context->SwapBuffers(), instead move present to draw_->Present(). 2023-08-11 01:57:02 +02:00
Henrik Rydgård
1bdbef487b D3D11: Pass the swapchain pointer into the thin3d context 2023-08-11 01:57:02 +02:00
Henrik Rydgård
7c60022979 Fix hang after exiting a game. After running a game, coreState is POWERDOWN which counts as stepping. 2023-08-10 23:52:24 +02:00
Henrik Rydgård
87f7523f99
Merge pull request #17887 from hrydgard/opengl-separate-present
Separate submit/present for OpenGL as well
2023-08-10 18:13:22 +02:00
Henrik Rydgård
c1560f93e6 Bump ffmpeg submodule.
See https://github.com/hrydgard/ppsspp-ffmpeg/pull/71
2023-08-10 18:09:01 +02:00
Henrik Rydgård
0143d67f9b OpenGL: Separate submit/present for this backend as well 2023-08-10 17:46:10 +02:00
Henrik Rydgård
7087bd8ae6
Merge pull request #17886 from hrydgard/more-renderloop-refactors
More renderloop refactors
2023-08-10 17:41:28 +02:00
Henrik Rydgård
779a156251 PortManager warning fix. The #pragma pack stuff was redundant anyway 2023-08-10 17:15:57 +02:00
Henrik Rydgård
4b0ac494d0 Even more simplification 2023-08-10 17:15:57 +02:00
Henrik Rydgård
0477ba8c78 Core.cpp: Some slight simplifications 2023-08-10 17:15:56 +02:00
Henrik Rydgård
0deefb82a9 thin3d: Merge BeginFrame and SetDebugFlags (set them every frame anyway) 2023-08-10 17:15:54 +02:00
Henrik Rydgård
dec320de2d Reorder some stuff to make more sense. 2023-08-10 16:12:50 +02:00
Henrik Rydgård
be708e3e02 Move KeepScreenAwake to platform specific code. 2023-08-10 16:12:12 +02:00
Henrik Rydgård
b7b3e81e2f Forgot to remove some EGL files from the vcxproj. 2023-08-10 13:54:07 +02:00
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