Commit Graph

4444 Commits

Author SHA1 Message Date
Henrik Rydgård
97e0f6dc94 Prepare for deferred waits 2023-12-18 17:15:56 +01:00
Henrik Rydgård
ef149bd9f3 Allow EmuScreen to run behind the DevMenu popup 2023-12-18 12:59:18 +01:00
Henrik Rydgård
818471a2d7 Mouse wheel: Centralize the sending of KEY_UP events on a timer. 2023-12-17 19:40:59 +01:00
Henrik Rydgård
41bbc83b6d EmuScreen: Fix some cases where we didn't set viewport or scissor 2023-12-15 11:31:40 +01:00
Henrik Rydgård
ce6b05174a Also call SendMouseDeltaAxis directly from NativeMouseDelta for lower latency. 2023-12-14 19:30:03 +01:00
Henrik Rydgård
d397635e49 Mouse input: Approximate the old smoothing function 2023-12-14 19:24:39 +01:00
Henrik Rydgård
7b0ee5440d Move the mouse event processing code out from NativeApp 2023-12-14 19:01:19 +01:00
Henrik Rydgård
812b1024f0 Move TouchTestScreen to DevScreens 2023-12-14 19:01:19 +01:00
Henrik Rydgård
ed4941f416 Remove Vulkan (and Windows.h) include from DevScreens.cpp 2023-12-14 19:01:18 +01:00
Henrik Rydgård
b941f40b32 Remove unused function 2023-12-14 19:01:18 +01:00
Henrik Rydgård
47caa637fe Add new translation key 2023-12-14 16:51:43 +01:00
Henrik Rydgård
663ef40640 Move the new driver choice to Developer Tools 2023-12-14 16:34:55 +01:00
Henrik Rydgård
97bd15a81a We indent with tabs 2023-12-14 16:26:38 +01:00
Henrik Rydgård
969cb8ac18 Driver choice: Add error message for wrong file type 2023-12-14 16:26:12 +01:00
Henrik Rydgård
7634eba083
Merge pull request #18532 from dima-xd/adrenotools
Android: Implement custom driver loading for ARM64 Android devices
2023-12-14 15:54:24 +01:00
Henrik Rydgård
b78c7ad470
Merge pull request #18545 from GermanAizek/const-ref-params
Objects in function parameters have been replaced with constant references
2023-12-14 13:49:33 +01:00
Herman Semenov
3d422b11c0 [GPU Common Vulkan/UI/Windows Debugger] Added const reference for function params 2023-12-14 14:23:31 +03:00
Dzmitry Dubrova
a461800973 Implement custom driver loading for ARM64 Android devices 2023-12-14 08:53:03 +03:00
Henrik Rydgård
0795f6b9e8
Merge pull request #18539 from hrydgard/speedhack-readback-multi-choice
Add multiple choices to the speedhack "Disable GPU readback"
2023-12-13 18:18:44 +01:00
Henrik Rydgård
026a61cf0b
Merge pull request #18540 from hrydgard/exit-improvements
Expose --escape-exit and --pause-menu-exit to be set from the ini file
2023-12-13 18:18:30 +01:00
Herman Semenov
315340fc62 Using const reference for C++17 range-based loop and freq used objects 2023-12-13 17:33:01 +01:00
Henrik Rydgård
af17112bf4 Expose --escape-exit and --pause-menu-exit to be set from the ini file
You can now set --escape-exit by setting `PauseExitsEmulator = true` in [General].
You can now set --pause-menu-exit by setting `PauseMenuExitsEmulator = true` in [General].
2023-12-13 17:12:48 +01:00
Henrik Rydgård
e62614498e Buildfix mac (name collision with NO...) 2023-12-13 16:48:07 +01:00
Henrik Rydgård
caec201c4d Make "Skip GPU readbacks" a multi-choice option, for easier experimentation by users 2023-12-13 16:18:44 +01:00
Henrik Rydgård
f8927df9a6 Load savestate screenshots in the background 2023-12-13 12:07:23 +01:00
Henrik Rydgård
32f5f081a2
Merge pull request #18537 from hrydgard/ui-image-refactor
UI image loading refactor
2023-12-13 09:03:29 +01:00
Henrik Rydgård
4710d57ecd Default the new Android 60hz setting to "Request". Let's see how it goes, might be able to remove the ability to change it later. 2023-12-13 08:53:18 +01:00
Henrik Rydgård
2aca8fe3f9 Get rid of more unnecessary uses of ManagedTexture 2023-12-12 23:13:45 +01:00
Henrik Rydgård
4c3f82da55 Remove ManagedTexture from HttpImageView 2023-12-12 22:44:03 +01:00
Henrik Rydgård
75e96df448 Don't use ManagedTexture in GameInfoCache, not needed. 2023-12-12 22:34:31 +01:00
Henrik Rydgård
82bdc9ec50 Add CreateTextureFromFileData (without ManagedTexture) 2023-12-12 22:24:13 +01:00
Henrik Rydgård
d2e10a058e Some renaming 2023-12-12 22:15:55 +01:00
Henrik Rydgård
8d0582659f
Merge pull request #18533 from hrydgard/tilt-fixes
Tilt: Bugfix, make the deadzone circular, in addition to the inverse (low end radius).
2023-12-12 18:27:18 +01:00
Henrik Rydgård
94fb81466f Tilt: Make the deadzone circular, in addition to the inverse (low end radius). 2023-12-12 17:55:13 +01:00
Henrik Rydgård
a6d717cb39 Add option in dev tools to ask Android for 60hz display using Surface.setFrameRate
Might help #18514 and #18480 if we're lucky.
2023-12-12 15:30:39 +01:00
Henrik Rydgård
5763ec1b88 Move NativeQueryConfig into app-android.cpp 2023-12-12 09:56:33 +01:00
Henrik Rydgård
79ab67e3b2 Run-behind-pause: Fix some edge cases with the transparent background setting 2023-12-11 17:47:19 +01:00
Henrik Rydgård
25ab7b9170 Fix a bunch of edge cases 2023-12-11 15:58:08 +01:00
Henrik Rydgård
6e369e5188 Add play/pause button to the bottom right of the pause screen 2023-12-11 13:56:16 +01:00
Henrik Rydgård
8d8ff5886b Fix issue where nothing had started a render pass when we wanted to clear the screen. 2023-12-11 13:06:15 +01:00
Henrik Rydgård
e8f70594a4 Implement running the game in the background on the pause screen. Fix some bugs. 2023-12-11 12:41:44 +01:00
Henrik Rydgård
6d51fbc1e6 Refactor UI background rendering. There's now a BackgroundScreen. 2023-12-10 22:26:46 +01:00
Henrik Rydgård
0ff0ad9140 Remove preRender/postRender methods from screens, in favor of a mode parameter. 2023-12-10 14:09:55 +01:00
Henrik Rydgård
22295a6412 Plumb through a ScreenRenderMode parameter 2023-12-10 13:05:17 +01:00
Henrik Rydgård
600fb7cc22 Minor cleanups 2023-12-10 12:37:35 +01:00
Henrik Rydgård
db4993bfdc Implement full support for mouse input on Android
The smoothing algorithm changed a bit now that I centralized that logic
in a way that can work with all backends.
2023-12-10 09:52:19 +01:00
Henrik Rydgård
6645ddfa38
Merge pull request #18489 from hrydgard/memory-profiling-notes
Some changes and comments after running the memory profiler on Windows
2023-12-08 23:58:48 +01:00
Henrik Rydgård
d234fa24e6 Add progress bar (without %) to install/uninstall. Other fixes. 2023-12-08 16:16:28 +01:00
Henrik Rydgård
888b32e243 Store: Perform uninstalls on a background thread, to avoid hanging the UI 2023-12-08 16:16:26 +01:00
Henrik Rydgård
376db1f931 Remove the unused "front" draw2d buffer. Saves 1.5MB of RAM. 2023-12-08 12:29:24 +01:00