Commit Graph

1706 Commits

Author SHA1 Message Date
Henrik Rydgård
416ba81d20 Remove the channel_layout stuff 2024-04-11 14:39:59 +02:00
Henrik Rydgård
8d89a7cfed Delete more unused stuff 2024-04-11 14:39:59 +02:00
Henrik Rydgård
ae87aa4537 Initial CMake/Android.mk support 2024-04-11 14:39:59 +02:00
Henrik Rydgård
ea1743a351 Allow picking mp3 files on Android too 2024-04-09 19:29:34 +02:00
Henrik Rydgård
862fb951f1 Add support for loading mp3 files as UI sound.
Fixes #18136
2024-04-09 19:15:49 +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
fc1d984b20 Update rcheevos, switch back to upstream. Avoid using rcheevos' hash.c, by computing game hashes ourselves. 2024-04-03 16:43:34 +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
Lubos Vonasek
0255de7d7d OpenXR - Android paths fixed 2024-03-20 19:07:06 +01:00
Lubos
76b015a4ab OpenXR - Migrate to official SDK 2024-03-20 12:23:54 +01:00
Henrik Rydgård
a5842792b8 Buildfix 2024-02-28 15:45:20 +07:00
Henrik Rydgård
32fbf5392d Andorid: Fix a bunch of lints, to make any important ones not drown in the long list 2024-02-25 15:54:06 +07: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
c7ed87b352 Assorted paranoia and improved checks 2024-01-31 10:22:03 +01:00
Henrik Rydgård
c5191cad4c Disable 16-bit textures on PowerVR.
Fixes #18780
2024-01-29 15:48:27 +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
a811cbac80 Add proper checks for file type when picking a background image
Should fix some confusion, and also issues picking files from the
Download folder on Android where the filenames we get don't always have
extensions.
2024-01-27 12:03:01 +01:00
Henrik Rydgård
1f129b6dca Replace "ReadFileToString" with a few semantically clearer wrappers. 2024-01-25 09:55:54 +01:00
Henrik Rydgård
22e91c98db More asserts 2024-01-24 11:36:25 +01:00
Henrik Rydgård
6ae9d42516 Preparations for reworking the memstick folder move functionality 2024-01-22 15:56:07 +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
7627de4846
Merge pull request #18718 from hrydgard/fix-running-prx-on-scoped-storage
Android: Fix running plain PRXs on scoped storage. Minor cleanup.
2024-01-18 01:06:52 +01:00
Henrik Rydgård
ffe64c2305 Sneak in catching an Android exception 2024-01-18 00:29:07 +01:00
Henrik Rydgård
9555563ad2 Update rcheevos yet again 2024-01-18 00:20:37 +01:00
Henrik Rydgård
01370ab099 Fix some gradle deprecation warnings 2024-01-17 23:43:00 +01:00
Henrik Rydgård
9253bf9cb5 Add a new screen for managing installed Adreno drivers 2024-01-17 10:51:08 +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
Henrik Rydgård
0caebbfaa6 Add a way to pass out error messages from VulkanLoad 2024-01-15 11:22:33 +01:00
Henrik Rydgård
096131db81 Update rcheevos 2024-01-14 13:47:44 +01:00
Florin9doi
cad232e60e sceSircs/Infrared support on Android 2024-01-12 20:29:53 +02:00
Florin9doi
b941a5a701 GPS: Add constant for GPGGA tokens 2024-01-07 02:17:54 +02:00
Florin9doi
bda9c99e79 GPS: Remove NmeaListener workaround for Android 29 SDK 2024-01-07 02:17:01 +02:00
Henrik Rydgård
8810d95ab4 Add paranoid error check when listing cameras 2023-12-20 18:26:27 +01:00
Henrik Rydgård
dd15a1573d Add setting to configure simulated key-up delay for mouse wheel events 2023-12-20 11:39:37 +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
a201d50566 Fix CI building 2023-12-14 08:53:03 +03: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
Henrik Rydgård
29b934a4d9 Android: When filtering bogus key events, return true so no further processing happens.
Bugfix for 902ee91a02
2023-12-09 00:15:27 +01:00
Henrik Rydgård
902ee91a02 Android: Ignore key events with keycode 0 from gamepads.
Trying a really narrow fix for problem with stadia pads converted to
bluetooth, reported by oldmario on Discord.
2023-12-08 22:50:34 +01:00
Henrik Rydgård
84d3bfc506 Add mouse wheel support for Android
Fixes #18471

Tested on a Poco F4 phone with a generic Bluetooth mouse.
2023-12-04 13:41:52 +01:00
Henrik Rydgård
04c6b1ac99
Merge pull request #18442 from hrydgard/time-tracking
Track time-played per game
2023-11-27 22:12:45 +01:00
Henrik Rydgård
31c85ae0a5 Add the basics of a played-time tracker. 2023-11-26 19:15:38 +01:00
Henrik Rydgård
7558544183 Android: Add *.chd and *.CHD to allowed path patterns for shortcut/intents 2023-11-26 19:08:09 +01:00
Henrik Rydgård
c5469c409a Add specific sysprop for accelerometer 2023-11-06 18:33:01 -06:00
Henrik Rydgård
87ddb3f3b1 Add easy way to verify games against the Redump database, supplied as CSV. 2023-10-23 19:11:01 -05:00
Henrik Rydgård
2c795e701f Update rcheevos again. This time there are some files moving around. 2023-10-14 23:23:48 +02:00
Henrik Rydgård
ac93419331 Merge the 1.16.6 branch into master
Also deletes some unused code.
2023-10-13 11:00:11 +02:00
Henrik Rydgård
028c7c3ea8 Android: Fix crashes on screen rotation 2023-10-11 16:44:30 +02:00
Henrik Rydgård
8d59e30b53 Gradle: Fix some deprecation warnings 2023-10-10 19:12:24 +02:00
Henrik Rydgård
8c821893f1 Android: Fix crashes on screen rotation 2023-10-09 18:24:43 +02:00
Henrik Rydgård
34fbbf2c2a Split out the descriptorset pool from VulkanMemory.cpp/h 2023-10-08 11:45:00 +02:00
Henrik Rydgård
42164b37d6 Gradle: Fix some deprecation warnings 2023-10-06 15:39:59 +02:00
Henrik Rydgård
19e4de5088 Change global UI messages to use an enum instead of strings.
Makes it easier to add new ones and delete outdated ones without missing
any uses.
2023-09-30 11:37:02 +02:00
Henrik Rydgård
1a19884769 Manage the Vulkan "EmuThread" from C++.
Preparation for a larger EmuThread refactoring.
2023-09-29 11:35:13 +02:00
Henrik Rydgård
2f5f9df620 Customize the cmake build. Android now builds that way too. Fixes.
Hack around build error

port the last fix to Android.mk

One more attempt

Warning fixes

Oops, forgot a slash
2023-09-29 10:16:47 +02:00
Henrik Rydgård
1f53d8a9a2 Hook up libchdr to CMakeLists.txt, Android.mk fix 2023-09-29 10:16:47 +02:00
Henrik Rydgård
c28dc9e4f2 Pass in accelerometer readings using NativeAccelerometer instead of NativeAxis 2023-09-27 11:34:31 +02:00
Henrik Rydgård
91119c7052 Remove useless wait loop since we join the thread anyway 2023-09-26 00:50:36 +02:00
Henrik Rydgård
0198f7c55d Java/GL: Add null check for surface 2023-09-26 00:38:29 +02:00
Henrik Rydgård
0fd22ea3bb Comment clarifications. Slightly extend renderlock use in shutdown. 2023-09-25 09:40:14 +02:00
Henrik Rydgård
8b9836afd3 SizeManager: Don't send notifySurface if paused. Cleaner exits / task switches in the log. 2023-09-25 00:32:37 +02:00
Henrik Rydgård
1b8b441cfd Tighten up some renderloop logic in app-android.cpp 2023-09-25 00:03:58 +02:00
Henrik Rydgård
0013c6fede Rename ensureRenderLoop -> startRenderLoopThread 2023-09-25 00:03:39 +02:00
Henrik Rydgård
2b0bbb1e0c Remove isFinishing check in onDestroy - not relevant. 2023-09-25 00:03:39 +02:00
Henrik Rydgård
2291855a1f Remove dead code path 2023-09-25 00:03:38 +02:00
Henrik Rydgård
3264209772 Add some missing locking in KeyMap.cpp.
Plus minor assert change and java null check.
2023-09-24 12:33:01 +02:00
Henrik Rydgård
f83fb2325e NativeActivity: null surface on exit, renderloopthread on exception 2023-09-21 16:42:00 +02:00
Henrik Rydgård
602407fcf2 Warning and comment fixes, logic precedence fixes in PPGeDraw 2023-09-21 16:41:42 +02:00
Henrik Rydgård
d9e9bde596 Vulkan: Fix disabling VSync on SDL platforms that support IMMEDIATE but not MAILBOX
Fixes #18084
2023-09-06 18:46:19 +02:00
Unknown W. Brackets
9dbfc1cc55 Android: Reduce JVM attach logspam. 2023-09-04 23:42:59 -07:00
Unknown W. Brackets
1b756ff8c1 arm64jit: Add initial base for IR jit.
This works, but very slowly at this point.
2023-09-03 12:14:28 -07:00
Henrik Rydgård
80a99a67d9 Control: Change internal interfaces to batch-process input axis updates
These naturally come in bunches on many platforms like Android, so lay
some groundwork to also handle them in bunches to minimize locking in
the future.

Linux buildfix
2023-08-31 11:55:53 +02:00
Henrik Rydgård
b501abf576 Add more display information to system info. 2023-08-30 17:38:22 +02:00
Henrik Rydgård
1025bbcf89 Log level/type: Use enum class instead of the awkward namespace trick.
Just a small cleanup I've wanted to do for a long time.
2023-08-25 11:48:59 +02:00
Henrik Rydgård
dfe187df1e Allow disabling HTTPS through the config file
Simply set:

```ini
[General]
DisableHTTPS = True
```

Added to help debug issue #17969
2023-08-24 21:28:30 +02:00
Henrik Rydgård
60492ae579 Make System_ShowFileInFolder a "request"
Also makes support queryable.

Lets us remove the dummy implementations.
2023-08-24 14:22:35 +02:00
Unknown W. Brackets
4e3f3860f9 x86jit: Stub out op categories to files. 2023-08-20 22:28:54 -07:00
Unknown W. Brackets
622c69dbb9 x86jit: Expose option to select new IR based jit. 2023-08-20 22:28:54 -07:00
Henrik Rydgård
ef28920179 Android: Remove support for 32-bit x86 builds 2023-08-14 13:47:55 +02:00
Henrik Rydgård
aadb700505 Fix turning off VSync on Android, logic fix 2023-08-14 11:02:29 +02:00
Henrik Rydgård
ff6e118fff Get rid of a lot of ifdefs around presentation mode. Instead, set things dynamically. 2023-08-14 11:02:29 +02:00
Henrik Rydgård
a84cb357dc Comment fixes, adjust a couple of sleeps 2023-08-13 17:57:46 +02:00
Henrik Rydgård
7bb1914fd3 Add FrameTiming.cpp/h (with no real contents) 2023-08-13 17:57:43 +02:00
Henrik Rydgård
1ea11c233c Remove "SwapBuffers" from the GraphicsContext interface.
Buildfixes

More buildfix

headless buildfix

One more buildfix
2023-08-11 01:57:02 +02:00
Henrik Rydgård
0477ba8c78 Core.cpp: Some slight simplifications 2023-08-10 17:15:56 +02:00
Henrik Rydgård
c6179c67e4 Remove from cmakelists and android.mk. 2023-08-10 12:02:10 +02:00
Henrik Rydgård
96506544b7 Just some random driveby code cleanup 2023-08-10 10:28:25 +02:00
Henrik Rydgård
bcae36d8cb Merge NativeUpdate and NativeRender, we always call them together. 2023-08-07 22:50:57 +02:00
Henrik Rydgård
63cfe28f61 Implement color emoji support on Android 2023-08-06 15:14:29 +02:00
Henrik Rydgård
ea659319b2
Merge pull request #17852 from unknownbrackets/riscv-centralize
IR: centralize common parts of native backend
2023-08-06 10:54:53 +02:00