Hoe Hao Cheng
7221e39a03
sdl: scale window dimensions by DPI on initialization
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
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
fa396c2082
Qt and Mac buildfixes
2023-08-02 14:49:43 +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
b118e25b6a
Vulkan: Make multithreaded rendering an option.
...
Multi-threaded rendering is good for smoothing out performance spikes
and increasing performance on low-power devices. However, the way we use
it it doesn't benefit latency (input lag) at all, rather the opposite.
So make it an option.
2023-07-23 22:06:01 +02:00
Henrik Rydgård
ab6e902fea
Make naett work on Android, UWP, Mac. Exclude on Linux
2023-07-21 10:28:31 +02:00
Henrik Rydgård
85f5136a81
Add a GetProperty query for the git version
2023-07-20 10:57:52 +02:00
Henrik Rydgård
0ae2f5ccbf
Fix file filters in Mac file-open dialogs
2023-07-16 15:22:04 +02:00
Henrik Rydgård
c49b3f1399
Fix keyboard presence check on switch.
...
Thanks Unknown who pointed this out in the comments to #17611
2023-07-15 19:19:44 +02:00
Henrik Rydgård
84fffec4f3
Switch all NativeMessageReceived to System_PostUIMessage
2023-07-06 17:26:02 +02:00
Henrik Rydgård
65125583f8
Revert "Merge pull request #17651 from hch12907/master"
...
This reverts commit 1253e60d19 , reversing
changes made to adc24b5001 .
2023-07-04 17:08:22 +02:00
Hoe Hao Cheng
3a86ad729d
sdl: fix --dpi option after HiDPI rework
2023-07-01 22:50:06 +08:00
Hoe Hao Cheng
1b5d8f302a
sdl: support HiDPI on wayland
2023-07-01 02:40:40 +08:00
Henrik Rydgård
cf587d2ccc
More cleanup after making PopupTextInputChoice choose method automatically
2023-06-22 09:01:14 +02:00
M4xw
ae14e08084
[Switch] Base implementation for swkbd
2023-06-22 00:46:02 +02:00
Henrik Rydgård
d167a11b1c
SDL: Add a way to reset OpenGL graphics by pressing F7.
2023-05-29 11:48:03 +02:00
Henrik Rydgård
2675d6ea43
Input event and device enums ( #17514 )
...
* Switch deviceID from int to enum InputDeviceID, globally
* Switch axisId to enum InputAxis
* Change int keycodes to InputKeyCode where it makes sense.
* SDL input buildfix
* SDL keycode buildfix
* Switch on enum warning fixes
* Qt keycode buildfix
* iOS keycode buildfix
* UWP keycode buildfix
* More iOS buildfix
* More iOS buildfix
* Update DinputDevice.cpp
2023-05-26 18:40:13 +02:00
Henrik Rydgård
67a35d3476
Merge pull request #17356 from unknownbrackets/minor-cleanup
...
Cleanup some more string formats, mostly in debugger
2023-05-23 08:29:23 +02:00
Henrik Rydgård
236a7d6761
Mac: Disable/enable items in the debug menu, correctly invert BreakOnLoad <-> bAutoRun
2023-04-30 10:07:42 +02:00
Unknown W. Brackets
46101581c0
Core: Cleanup disasm buffer usage.
2023-04-29 09:07:25 -07:00
Henrik Rydgård
6e318dc8b2
Don't try to use precise mousewheel events on old SDL versions.
...
Fixes compile-time compatibility with older version of SDL.
2023-04-29 12:34:25 +02:00
Henrik Rydgård
5331c5bf84
Implement auto restart for Linux too.
2023-04-29 11:48:35 +02:00
Henrik Rydgård
048ccc9b79
Mac: Restart the app when changing rendering backend.
2023-04-29 11:38:49 +02:00