Commit Graph

409 Commits

Author SHA1 Message Date
Henrik Rydgård 3c4adc3e66 Fix a number of Android Studio lint warnings, a bad jni return type and an memory leak 2026-01-21 18:43:47 +01:00
Henrik Rydgård 70f1488416 Implement a unicode-char keyboard event on Android.
This fixes the ImDebugger when trying to use it with a bluetooth
keyboard, and also fixes other types of text input from bluetooth
keybaords on Android.

However, the ImDebugger is currently very crash-prone on Android since
it crashes on layout changes. This will be fixed separately.
2026-01-07 19:12:15 +01:00
Henrik Rydgård 77ec5c7c50 Buildfixes 2025-12-19 16:20:30 +01:00
Henrik Rydgård 18a67b82d2 Do the same with KeyInputFlags. Fix minor UI misalignments 2025-12-19 13:41:58 +01:00
Henrik Rydgård 481d0fd18c Switch TouchInputFlags to enum class, fix some minor UI issues
Scroll views now only wheel-scroll if the mouse is hovering over them.
2025-12-19 11:38:56 +01:00
Henrik Rydgård c2d8752876 Bump the ffmpeg submodule. 2025-12-15 17:28:36 +01:00
Henrik Rydgård 5b7b1f76eb Add an in-app crash history viewer to Developer Tool on Android (v30+) 2025-12-15 17:16:47 +01:00
Henrik Rydgård bf9493910a Rework some IAP/Gold UI. Minor title screen tweak 2025-11-23 21:55:25 +01:00
Henrik Rydgård defd21cc90 Android: Rework UI insets handling (#21007)
* During game load, place the loading screen where the game will appear

* Android: Merge NativeActivity into PpssppActivity

* Rework window insets handling on Android

* Main screen: Display the path on its own line in portrait mode

* Make the "Fullscreen" setting on Android separate between portrait and landscape
2025-11-16 10:43:58 +01:00
Henrik Rydgård 6d1973edfb Add banners on the top of settings pages, if editing game-specific settings show the icon. 2025-11-09 08:51:41 +01:00
Henrik Rydgård 9ed3fc0eaa Some work on the credits screen, main screen 2025-10-28 11:27:31 +01:00
Henrik Rydgård 073ef61643 Merge the two functions, fix JNI lifetime issues
Fixes the last part of #10885 finally.
2025-09-05 10:31:51 +02:00
Henrik Rydgård 2a7dad43c6 WIP: Turn the methods into static methods. 2025-09-05 10:31:27 +02:00
Henrik Rydgård 44902bffdd Make logging work in these callbacks, and clarify the future solution 2025-09-05 10:31:27 +02:00
Henrik Rydgård 6f76c579fc Delete dead code, more std::string_view 2025-09-01 00:15:23 +02:00
Henrik Rydgård 8e4ae1c067 LogManager: Fix bug where we accidentally opened a log file even if not enabled. 2025-09-01 00:15:04 +02:00
Henrik Rydgård 3056e977cc Misc 2025-08-31 13:37:59 +02:00
Henrik Rydgård 9218fe9b59 Rework the shutdown logic in the OpenGL backend. Eliminated race conditions. 2025-08-31 10:57:06 +02:00
Henrik Rydgård b813a6c30f Logging improvements 2025-08-31 00:59:51 +02:00
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