Commit Graph
4042 Commits
Author SHA1 Message Date
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 <[email protected]>
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
Henrik Rydgård c037f6731d Better (but not great) workaround for key bindings that pop up dialogs. 2023-05-02 21:36:17 +02:00
Henrik Rydgård eee4640962 Simpler calculation of the vertex count for the Waves animation. Feels safer. 2023-05-02 13:34:22 +02:00
Henrik Rydgård 8bb2643459 Minor: Move the "UI background animation" setting to be next to the other background settings. 2023-05-01 20:55:08 +02:00
Henrik Rydgård 6468319599 Fix memory bug in memstick file copy routine 2023-05-01 13:56:35 +02:00
Henrik Rydgård 15a0474d40 NativeKey: Only update the HLEPlugins key map if any plugins are active. 2023-05-01 12:16:45 +02:00
Henrik Rydgård d4249c1d73 OpenGL: Add an assert to catch a class of crash bugs early. Also assorted paranoia. 2023-05-01 11:56:26 +02:00
Unknown W. Brackets 19b15de2d5 UI: Add a very simplistic search to game browser.
For now, no real UI (which might include a search icon, no matches
message, banner that you're searching, etc.)  Press Ctrl-F to filter.
2023-04-29 11:45:30 -07:00
Unknown W. Brackets 46101581c0 Core: Cleanup disasm buffer usage. 2023-04-29 09:07:25 -07:00
Henrik Rydgård c81d996475 Implement the RESTART_APP system request for Mac 2023-04-29 11:38:47 +02:00
Henrik Rydgård 6945deec01 Replace a LOT of sprintf with snprintf, and a few strcpy with truncate_cpy 2023-04-28 21:04:05 +02:00
Henrik Rydgård ab37b8dea9 Rename a couple of types to avoid clashes with a Mac header, sigh. 2023-04-28 13:38:16 +02:00
Serena a0d0aff865 woopsie 2023-04-22 18:12:42 +03:00
Serena a71ec1acdf Recognize openable types in Info.plist, debug menu in top bar 2023-04-22 18:11:06 +03:00
Henrik Rydgård 7594ae8785 Resurrect and refactor the AxisSwap feature. Fixes #17292 2023-04-20 10:53:11 +02:00
Henrik Rydgård c81ec8c74d List Vulkan present modes in system info, show the current one 2023-04-20 00:21:06 +02:00
Henrik Rydgård d782a49229 Enable building a gold version for mac. 2023-04-19 15:06:02 +02:00
Henrik Rydgård 9612bff2ac Properly fix the analog limiter feature ("lightly"). 2023-04-15 19:56:27 +02:00
Henrik Rydgård 471941cca7 Fix the analog limiter deadzone setting. 2023-04-15 10:14:19 +02:00
Henrik Rydgård db936cfb52 Merge two very similar translation keys (seconds, 0:off), move to Dialog section 2023-04-14 14:34:48 +02:00
Henrik Rydgård a1d9dd47eb Add missing strings 2023-04-12 22:55:35 +02:00
Henrik Rydgård fb0e41e32b Take the Controls string from the right section in the settings reset popup 2023-04-11 23:08:38 +02:00
Henrik Rydgård 500ab1fcde Fix translatability of seconds unit formatting for sliders 2023-04-11 23:07:50 +02:00
Henrik Rydgård 12bd0ed26d Restore the shared_ptrs 2023-04-07 10:35:01 +02:00
Unknown W. Brackets 87b5a0b107 UI: Buildfix. 2023-04-07 10:35:01 +02:00
Henrik Rydgård 18d7412116 Warning fix, buildfix 2023-04-07 10:35:01 +02:00