Commit Graph

390 Commits

Author SHA1 Message Date
Henrik Rydgård 00a13bfb14 Fix static analysis warnings (pointless move, empty instead of size) 2025-08-31 00:59:51 +02:00
Henrik Rydgård 61d6c95f0c More refactoring. Add the AudioBackend interface 2025-06-16 21:55:32 +02:00
Henrik Rydgård 258a3ae6db Fix image file browsing on Android again. Fixes #20476 2025-06-08 19:31:05 +02:00
Henrik Rydgård 1055b83783 Fix shortcut launching URL parsing on non-scoped-storage 2025-06-08 19:30:17 +02:00
Henrik Rydgård 09e067c6e1 Revert "Get rid of remains of support for non-square screen DPIs"
This reverts commit f206ed95eb.
2025-05-21 21:41:50 +02:00
Henrik Rydgård bd249a2a0e Merge pull request #20270 from hrydgard/misc-stuff
Avoid using shader blending in skip-buffer-effects mode
2025-04-17 19:48:12 +02:00
Henrik Rydgård 08d1e0b3d8 Logspam cleanup 2025-04-17 11:06:06 +02:00
Henrik Rydgård 0a4ab19870 Quick workaround for #18926 2025-04-16 12:03:08 +02:00
Henrik Rydgård 8674488859 Android: Handle mouse events separately from touch events
Use the new modern events like HOVER.
2025-03-05 23:26:30 +01:00
Henrik Rydgård c6691de64c Remove excessive error reporting 2025-03-02 02:28:42 +01:00
Henrik Rydgård d3d14bf2ec Android: Rework how DPI and Android hardware scaling interacts. 2025-02-21 10:38:42 -06:00
Henrik Rydgård 1a1483478a Fix live resizing, implement setting on all platforms. 2025-02-20 17:14:59 -06:00
Henrik Rydgård 7a78124a3b Slightly more correct use in Android 2025-02-20 15:47:06 -06:00
Henrik Rydgård 143e4a4ccf Switch Android over to use g_display.Recalculate 2025-02-20 15:47:06 -06:00
Henrik Rydgård 0acd2aa517 DPI: Remove g_display.dpi 2025-02-20 15:47:02 -06:00
Henrik Rydgård 23f43dd9fa DPI code cleanup 2025-02-20 15:47:02 -06:00
Henrik Rydgård f206ed95eb Get rid of remains of support for non-square screen DPIs 2025-02-20 11:14:26 -06:00
Luboš V. d1f8b78bbb OpenXR - Remove non-functional Vulkan implementation (#19766)
* OpenXR - Remove non-functional Vulkan implementation

* Forgotten to commit
2024-12-26 10:05:18 +01:00
Henrik Rydgård 96cab3f267 Rework the log manager to be more robust 2024-12-16 12:33:58 +01:00
Henrik Rydgård afbf430899 Android joystick event handling: Don't blow up java ref counting by forgetting ReleaseElements.
Also, use JNI_ABORT to avoid writing back changes (we don't make any).
2024-12-15 23:03:22 +01:00
Henrik Rydgård 59a56d66c7 Add a "reason" argument to sleep_ms().
sleep_ms() should generally be avoided when possible. This can be used to try
to track down unnecessary sleeps by adding some logging.

This commit on its own doesn't actually add any logging.
2024-11-21 15:28:51 +01:00
Henrik Rydgård 4d6905672e Bunch more linting 2024-10-10 11:57:10 +02:00
Henrik Rydgård 14a78e51b0 Android: Fix a bunch of lints 2024-10-10 10:06:46 +02:00
Henrik Rydgård 9a193261f4 Android: Add support to copy strings to clipboard 2024-09-02 23:08:40 +02:00
Henrik Rydgård 96c4ae4457 TimeUtil: Minor cleanup, add precise_sleep() 2024-07-26 11:25:58 +02:00
Henrik Rydgård e01ca5b057 Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård f864f52b64 More app lifecycle work. Switching between Vulkan and OpenGL now works. 2024-05-24 11:48:44 +02:00
Henrik Rydgård 5042555d7b Make a dedicated system request KEEP_SCREEN_BRIGHT, unify behavior between Windows and Android more 2024-05-20 14:03:54 +02:00
Henrik Rydgård ecdc7940f4 Android: Fix issue where shortcuts wouldn't override the currently running game. 2024-05-14 00:02:59 +02:00
Henrik Rydgård ec5eff6aa2 Android: implement loading icons for shortcuts - but only works if PPSSPP is running in the background. 2024-05-13 15:34:02 +02:00
Henrik Rydgård 616ee81f84 Add another parameter to the internal "request" framework. 2024-04-06 12:04:45 +02:00
Henrik Rydgård 5a8140c301 Initialize RAIntegration support if available. Untested. 2024-04-05 18:15:10 +02:00
Henrik Rydgård 3bebd2101a Revert "OpenXR - One APK for Android and standalone VR" 2024-04-03 10:57:02 +02:00
Lubos 63307aec2e OpenXR - One APK for Android and standalone VR 2024-03-21 12:29:22 +01:00
Henrik Rydgård c5791764d8 Make the i18n T function use std::string_view
Buildfixes, crashfixes

One more

Android buildfix

Buildfix Qt
2024-02-12 18:44:39 +01:00
Henrik Rydgård da5e29f5dc app-android: Shave an unnecessary level from the callstack 2024-02-01 19:21:17 +01:00
Henrik Rydgård 9979372a97 Assorted paranoia, get rid of an allocation in the audio loop 2024-01-29 10:37:38 +01:00
Henrik Rydgård 0170e8f081 Logging updates 2024-01-29 00:54:24 +01:00
Henrik Rydgård 7b4d2453e3 Android buildfix 2024-01-28 16:37:59 +01:00
Henrik Rydgård 2d9afaa6df Android: Add code for "show folder", don't activate it since it's not reliable (need a query on startup) 2024-01-21 13:35:59 +01:00
Henrik Rydgård 8faba8426a AdrenoTools: Fix picking zip files from the Downloads folder. Add more validation. 2024-01-15 11:46:41 +01:00
Florin9doi cad232e60e sceSircs/Infrared support on Android 2024-01-12 20:29:53 +02:00
Henrik Rydgård 8810d95ab4 Add paranoid error check when listing cameras 2023-12-20 18:26:27 +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
Dzmitry Dubrova a461800973 Implement custom driver loading for ARM64 Android devices 2023-12-14 08:53:03 +03: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 a80f590714 Minor cleanup (no need for a string query here) 2023-12-12 10:15:54 +01:00
Henrik Rydgård 5763ec1b88 Move NativeQueryConfig into app-android.cpp 2023-12-12 09:56:33 +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 fe732f167c Android: Batch motion events. 2023-12-09 15:44:09 +01:00