Commit graph

37619 commits

Author SHA1 Message Date
Henrik Rydgård
39d25ce91f D3D11: Allow setting the max frame latency 2023-08-04 11:53:51 +02:00
Henrik Rydgård
74a471d7a5
Merge pull request #17846 from hrydgard/debug-overlay-everywhere
Debug overlay everywhere
2023-08-03 20:55:35 +02:00
Henrik Rydgård
c3f5cfe719
Merge pull request #17838 from hrydgard/minor-drawengine-opt
Micro-optimize SubmitPrim, remove outdated mitigation
2023-08-03 18:59:08 +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
7139dd326c Buildfix 2023-08-03 18:04:12 +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
dfabad8d29
Merge pull request #17845 from DDinghoya/DDinghoya-patch-1
Update ko_KR.ini
2023-08-03 16:25:45 +02:00
Henrik Rydgård
a32249a3cf Move DebugOverlay rendering to the overlay screen, allowing drawing it on top of the menu 2023-08-03 16:19:18 +02:00
Henrik Rydgård
128acdd208
Merge pull request #17844 from hch12907/sdl-ttf
SDL: text renderer fixes, and CI
2023-08-03 15:16:31 +02:00
DDinghoya
ac57b7d6cb
Update ko_KR.ini 2023-08-03 22:09:23 +09:00
Henrik Rydgård
8ef781faff
Merge pull request #17843 from hrydgard/android-display-timing
Android: Measure display timing using VK_GOOGLE_display_timing
2023-08-03 15:06:27 +02:00
Hoe Hao Cheng
e77fc325d8 ci: add SDL2_ttf and fontconfig to the dependencies 2023-08-03 20:54:21 +08: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
87569f895d Quick hack for DPI on Mac/Vulkan. See issue #17758 2023-08-03 10:32:52 +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
7259536070
Merge pull request #17841 from hrydgard/time-use-clock-monotonic
Linux/Mac/iOS: time_now_d(): Switch from gettimeofday() to clock_gettime(CLOCK_MONOTONIC)
2023-08-03 09:52:28 +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
175def7774
Merge pull request #17840 from hrydgard/present-wait-work
Vulkan: Use VK_KHR_present_wait to get numbers on how much latency we have to the screen
2023-08-02 21:34:48 +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
e15c45d9ea Bump naett to latest upstream.
See #17583
2023-08-02 19:20:57 +02:00
Henrik Rydgård
5ed4b532b7 Micro-optimize SubmitPrim, remove outdated mitigation 2023-08-02 19:14:32 +02:00
Henrik Rydgård
ece6a505b3
Merge pull request #17837 from hrydgard/frame-history
Vulkan: Keep track of a short history of some timestamps in each frame
2023-08-02 17:06:55 +02:00
Henrik Rydgård
caad6f3c4a
Merge pull request #17758 from hch12907/wayland-hidpi
SDL: support HiDPI on wayland
2023-08-02 16:55:04 +02:00
Hoe Hao Cheng
7221e39a03 sdl: scale window dimensions by DPI on initialization 2023-08-02 22:34:46 +08:00
Hoe Hao Cheng
eda5f355bd Add NSHighResolutionCapable 2023-08-02 22:34:46 +08:00
Hoe Hao Cheng
b23c59676b SDL: scale touch events by logical DPI too 2023-08-02 22:34:46 +08:00
Hoe Hao Cheng
805821e01e Core: decouple UpdateScreenScale from preprocessor defines 2023-08-02 22:34:46 +08:00
Hoe Hao Cheng
a5fb1a346c sdl: fix --dpi option after HiDPI rework 2023-08-02 22:34:46 +08:00
Hoe Hao Cheng
0d7a1831b6 sdl: support HiDPI on wayland 2023-08-02 22:34:46 +08: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
2cd32449c0
Merge pull request #17836 from noabody/master
Fix 17832
2023-08-02 16:11:53 +02:00
noabody
1618ca473e Fix 17832 2023-08-02 07:48:35 -06:00
Henrik Rydgård
0a8da63fca
Merge pull request #17835 from hrydgard/extract-debug-overlay
Move the debug overlay rendering out from EmuScreen into DebugOverlay.cpp
2023-08-02 15:27:18 +02:00
Henrik Rydgård
9f6e67b17a Move the debug overlay rendering out from EmuScreen into DebugOverlay.cpp 2023-08-02 14:58:22 +02:00
Henrik Rydgård
fa396c2082 Qt and Mac buildfixes 2023-08-02 14:49:43 +02:00
Henrik Rydgård
3c0fdc1307
Merge pull request #17834 from hrydgard/cheat-db-fix
OpenCFile: Fix Android content-uri append mode
2023-08-02 14:33:22 +02:00
Henrik Rydgård
0b4fee1259 One too much 2023-08-02 14:07:47 +02:00
Henrik Rydgård
c3511529e4 Somehow forgot to delete some unused bools 2023-08-02 14:07:05 +02:00
Henrik Rydgård
9df91aed37 OpenCFile: Fix Android content-uri append mode 2023-08-02 14:00:57 +02:00
Henrik Rydgård
354269e854
Merge pull request #17833 from hrydgard/debug-overlay-enum
Debug overlays: Refactor a pile of bools to an enum
2023-08-02 13:36:08 +02:00
Henrik Rydgård
0636893d1e Remove "Toggle" from a couple of the overlay names 2023-08-02 13:13:41 +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
fc6879674e Refactor overlays into an enum 2023-08-02 13:03:04 +02:00
Henrik Rydgård
7538807ee7
Merge pull request #17831 from hrydgard/no-inflight-no-multithreading
Vulkan: Don't use multithreaded rendering if buffer commands (frames in flight) is set to 1
2023-08-01 21:47:16 +02:00
Henrik Rydgård
3c41420d25
Merge pull request #17830 from Felipefpl/master
Updated brazilian portuguese translation
2023-08-01 21:46:02 +02:00
Felipe
0beec83a06
Fixed previous mistakes
My previous submission was incorrect because several strings were missing although i'm sure i got the english file for comparison correctly. Weird...

Thanks @hrydgard for showing the problem to me.
2023-08-01 16:26:52 -03: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