Henrik Rydgård
485131a29c
Win32: Plumb through an attempt at handling Vulkan device lost.
...
Unfortunately, recreating the device fails on NV.
2023-05-29 18:32:29 +02:00
Henrik Rydgård
9f2005113b
Add a function to the dev menu to intentionally lose the VK device. To be used for debugging recovery.
2023-05-29 15:16:27 +02:00
Henrik Rydgård
3715b1ffa1
Split the functions up, so you don't have to care about the Unsync ones at all in most cases while still getting synced behavior.
2023-05-26 18:41:13 +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
ca75e20155
Fix minor config backwards compatibility issue, see #17502 , iota97's comment
2023-05-26 15:47:58 +02:00
Nicolas Adenis-Lamarre
f32b0dc9c3
previous slot shortcut
...
Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com >
2023-05-25 11:32:49 +00:00
Henrik Rydgård
dfb446f89d
Allow other backends than Vulkan to have GPU memory stats. Implement for GL.
2023-05-24 14:33:01 +02:00
Henrik Rydgård
a4baed4c0c
Minor GLPushBuffer cleanup (now same API as the VK one)
2023-05-23 08:41:09 +02:00
Henrik Rydgård
736ba3dd90
Merge pull request #17357 from unknownbrackets/game-search
...
Add half of game list search
2023-05-23 08:31:04 +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
2ceb9942f3
Tilt: Add back inverse deadzone (low end radius). Allow choosing circular or per-axis.
2023-05-22 10:13:57 +02:00
Henrik Rydgård
5d7a0516cc
Merge pull request #17475 from hrydgard/opengl-basic-profiler
...
Add a trivial profiling tool to the OpenGL backend
2023-05-17 15:01:16 +02:00
Henrik Rydgård
05b6bbdc56
Add a trivial profiling tool to the OpenGL backend - meaasure the time it takes to run a frame of commands.
...
Accessed from the in-game dev menu just like the Vulkan frame profiler.
With this we can easily see that actually submitting the GL commands is often the bottleneck on old
devices like a Galaxy S3.
2023-05-17 14:38:11 +02:00
Henrik Rydgård
4f1be34f24
Revert "Remove the Android display resolution selector"
...
This reverts commit ea0eaa31e6 .
2023-05-17 09:37:15 +02:00
Henrik Rydgård
cf9a628a2e
AndroidContentURI: Move code from the header to cpp. Some assorted cleanup, add a unit test for Download paths
2023-05-16 16:08:51 +02:00
Henrik Rydgård
e078f61bad
Rename class CustomKey to CustomButton
2023-05-08 10:13:52 +02:00
Henrik Rydgård
311a1a0fe2
Fix glitch when mapping analog inputs, caused by multiple TriggerFinish caused by stray analog axis events.
...
ADd some guards all over the place against the same thing.
2023-05-06 15:33:28 +02:00
Henrik Rydgård
cd33b79ae7
Fix an issue where stray KEY_UP events could confuse the control mapper into setting empty events
...
This had some not-so-good consequences, like inability to map anything
in VR, and sometimes empty MultiMappings would result that we could end
up asserting on before the previous commit.
2023-05-05 23:00:01 +02:00
Henrik Rydgård
eec1ad5a75
Add some checks to try to prevent empty MultiInputMapping from arising, assert->log
2023-05-05 22:26:44 +02:00
Henrik Rydgård
0b94ffc4c1
Buildfix attempt
2023-05-05 01:18:29 +02:00
Henrik Rydgård
1bd7da221b
Fix obscure crash possibility (call stack found), some clarification
2023-05-05 00:00:11 +02:00
Henrik Rydgård
6a51b6f7bf
Quick attempt to add some thread safety to GameInfo::fileLoader.
2023-05-04 09:20:05 +02:00
Henrik Rydgård
a132b72ba1
Paranoia
2023-05-04 01:24:31 +02:00
Henrik Rydgård
03bf19c47e
Merge pull request #17398 from lvonasek/cleanup_openxr_android12
...
OpenXR - Cleanup unsupported features, support Android 12
2023-05-03 20:05:16 +02:00
Lubos
0447b2b78a
OpenXR - Cleanup unsupported features, support Android 12
2023-05-03 19:41:23 +02:00