Henrik Rydgård
0143d67f9b
OpenGL: Separate submit/present for this backend as well
2023-08-10 17:46:10 +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
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
13274f7ca6
Remove some unused EGL code
2023-08-10 12:02:10 +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
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
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 and GitHub
2342c4522c
Merge pull request #17875 from unknownbrackets/riscv-jit
...
RISC-V: Implement a few more ops
2023-08-09 09:30:15 +02:00
Unknown W. Brackets
4b9011e475
riscv: Reduce call bloat using temps.
2023-08-08 23:17:32 -07: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
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 and GitHub
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
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
Henrik Rydgård and GitHub
096c168dd7
Add yield() function to tell the CPU that we're busy-waiting (rare) ( #17862 )
...
* Add yield() function to tell the CPU that we're busy-waiting (rare)
Use it only for the busy-wait in lag sync, which only happens in
Windows.
* Buildfix attempt
2023-08-07 21:38:03 +02:00
Henrik Rydgård
a6b5340d97
Don't crash if VK_KHR_present_id / VK_KHR_present_wait are not exposed (but feature still reported available)
...
Fixes the new crash in #17858
2023-08-07 11:36:49 +02:00
Henrik Rydgård
ab685be566
Windows UWP: Enable color emoji rendering through DirectWrite
2023-08-06 17:25:20 +02:00
Henrik Rydgård
5533d5ec57
More lenient emoji check, remove unused variable
2023-08-06 17:17:24 +02:00
Henrik Rydgård
63cfe28f61
Implement color emoji support on Android
2023-08-06 15:14:29 +02:00
Henrik Rydgård
a477ca3f05
Add a couple of emoji to UI in debug mode
2023-08-06 15:10:49 +02:00
Henrik Rydgård and GitHub
ea659319b2
Merge pull request #17852 from unknownbrackets/riscv-centralize
...
IR: centralize common parts of native backend
2023-08-06 10:54:53 +02:00
Unknown W. Brackets
93e3d35f5d
irjit: Move more to IRNativeBackend, split.
2023-08-06 00:16:43 -07:00
Henrik Rydgård
39d25ce91f
D3D11: Allow setting the max frame latency
2023-08-04 11:53:51 +02:00
Henrik Rydgård and GitHub
74a471d7a5
Merge pull request #17846 from hrydgard/debug-overlay-everywhere
...
Debug overlay everywhere
2023-08-03 20:55:35 +02:00
Henrik Rydgård
8e1dc35dd1
Vulkan: Show instance extensions, both enabled and available, in sysinfo
2023-08-03 18:56:47 +02:00
Henrik Rydgård
be63ce3a4a
Minor refactor allowing getting the GPU profile string outside games
2023-08-03 16:31:20 +02:00
Henrik Rydgård and GitHub
128acdd208
Merge pull request #17844 from hch12907/sdl-ttf
...
SDL: text renderer fixes, and CI
2023-08-03 15:16:31 +02:00
Hoe Hao Cheng
4d7e949f23
SDL: text alignment fix
2023-08-03 20:54:21 +08:00
Henrik Rydgård
0530dc57a8
Implement frame time measurement on Android using VK_GOOGLE_display_timing
2023-08-03 12:59:25 +02:00
Henrik Rydgård
9b038d6574
Vulkan: Show enabled extensions separately in sysinfo
2023-08-03 11:11:35 +02:00
Henrik Rydgård
e16cac6548
Initial work on supporting VK_GOOGLE_display_timing. Not working yet.
2023-08-03 11:11:16 +02:00
Henrik Rydgård
1a1a6fe15d
Load the functions for VK_GOOGLE_display_timing
2023-08-03 09:52:48 +02:00
Henrik Rydgård
1dab6e5bef
Linux/Mac/iOS: Switch from gettimeofday() to clock_gettime(CLOCK_MONOTONIC)
...
More appropriate, and adds a raw function that can be used to match up
with VK_GOOGLE_display_timing.
2023-08-03 00:00:07 +02:00
Henrik Rydgård
14377259b5
Use VK_KHR_present_wait to get numbers on how much latency we have to screen
...
This extension is not available on Android, there they have
VK_GOOGLE_display_timing, which they also have an abstraction library
for, so will look at that later.
Early part of work on #17685
2023-08-02 20:34:22 +02:00
Henrik Rydgård
cda59e8510
Vulkan: Keep track of some timestamps in a frame
2023-08-02 16:25:17 +02:00
Henrik Rydgård
9df91aed37
OpenCFile: Fix Android content-uri append mode
2023-08-02 14:00:57 +02:00
Henrik Rydgård
112b624257
Improve the situation with two transparent screens on top of each other
2023-08-02 13:03:08 +02:00
Henrik Rydgård
ffd5e57a20
Vulkan: Don't use multithreaded rendering if frames-in-flight is set to 1
...
It has no benefit, and loses by a few percent in simple benchmarking.
2023-08-01 21:08:07 +02:00
Henrik Rydgård
f45176fd25
Allow configuring in which corner achievement notifications can show up.
2023-08-01 12:52:09 +02:00
Henrik Rydgård
1071e1f248
Move towards separate types for leaderboard events
2023-08-01 11:57:28 +02:00
Bashar Astifan and GitHub
401377818c
Merge branch 'master' into master
2023-08-01 05:29:56 +04:00
Henrik Rydgård
d268dd639a
Move the ScreenEdgePosition enum to a more appropriate location
2023-08-01 01:01:57 +02:00
Henrik Rydgård
a28ae79ef7
Safer handling of NONE
2023-08-01 00:28:54 +02:00
Henrik Rydgård
48d577014a
Refactor the on-screen display to be more customizable
2023-08-01 00:28:54 +02:00
Henrik Rydgård
01191ff23a
Extract ApplyAnchorLayoutParams from the anchor viewgroup
2023-08-01 00:28:54 +02:00
Henrik Rydgård
f39b9640b7
Rename the ChatPosition enum to a ScreenEdgePosition enum class (for future use)
2023-08-01 00:28:54 +02:00