Commit graph

251 commits

Author SHA1 Message Date
Henrik Rydgård
f17f2f5bb5 Remove more dead code in app-android.cpp 2022-12-22 10:03:28 +01:00
Henrik Rydgård
e209227be1 Delete dead code path (initialize EGL from C++ on Android) 2022-12-20 23:17:51 +01:00
Henrik Rydgård
d8cf7ce30c Add stub symbol for 'utimensat', making it work on Android 2.3 again 2022-12-14 16:10:21 +01:00
Lubos
3cc979859c OpenXR - Release keys on activation of camera adjust 2022-12-10 21:31:39 +01:00
Lubos
db8b159d9e OpenXR - Force PSP menu aspect ratio 2022-11-17 17:30:29 +01:00
Lubos
ddad6b3760 OpenXR - Support axis 2022-11-17 10:52:12 +01:00
Henrik Rydgård
dd0409d68c OpenGL ES: Crash as early as possible if things are bad
There's a huge variety of crash report in the Play Console of various
opengl failures. Try to concentrate them to early points in
initialization
2022-11-08 10:43:38 +01:00
Henrik Rydgård
ecd62e7eb2 Lift length limit on Android logging 2022-11-08 00:21:37 +01:00
Henrik Rydgård
b4507cd5cc Make a lot more code VR build for all platforms 2022-11-06 14:36:51 +01:00
Lubos
aacbe4f4a3 OpenXR - Get platform flags in runtime 2022-11-04 14:53:07 +01:00
Lubos
7c6cff5ae9 Merge branch 'master' into feature_openxr_vulkan 2022-10-09 17:48:23 +02:00
Lubos
bf14ca84d3 OpenXR - Revision of VR rendering 2022-10-08 14:38:49 +02:00
Lubos
d8fbc7ce56 OpenXR - Vulkan support in progress 2022-09-14 19:53:55 +02:00
Lubos
044d9a416b OpenXR - Emulate mouse cursor 2022-09-01 18:08:08 +02:00
Lubos
c2c0561be2 OpenXR - OPENXR ifdef removal 2022-08-27 17:33:37 +02:00
Lubos
4603ccdd92 OpenXR - Initialization errors fixed 2022-08-19 15:17:42 +02:00
Lubos
2887671e6f OpenXR - Refactor display framerate 2022-08-17 16:55:19 +02:00
Lubos
92d631966f OpenXR - Resuming renderer fixed, haptics support added 2022-08-16 16:47:31 +02:00
Lubos
ab9a48d750 OpenXR - Static added to global variables 2022-07-26 17:44:38 +02:00
Lubos
b2509ad4dd OpenXR - Version info refactor 2022-07-26 17:40:10 +02:00
Lubos
19ebbb6a30 OpenXR - Integrate SYSPROP_HAS_FILE_BROWSER 2022-07-26 17:32:03 +02:00
Lubos
b1e3d8beb3 OpenXR - Code formatting fixed 2022-07-24 16:44:16 +02:00
Lubos
8f2904ecac OpenXR - Default device config added 2022-07-24 15:38:30 +02:00
Lubos
28d598b9ba OpenXR - Button repeating implemented 2022-07-22 22:19:49 +02:00
Lubos
67821ca942 OpenXR - Controller mapping better 2022-07-22 18:47:37 +02:00
Lubos
cc833faa13 OpenXR - Hacky mapping to make the games playable 2022-07-17 20:03:37 +02:00
Lubos
29ff6af7da OpenXR - UI controls integrated 2022-07-17 19:09:18 +02:00
Lubos
a08325e52f OpenXR - UI scale/resolution fixed 2022-07-17 14:55:20 +02:00
Lubos
0d41691413 OpenXR - Input class added 2022-07-17 14:45:02 +02:00
Lubos
553363a5b5 OpenXR - Rendering into VR framebuffer works 2022-07-15 15:41:21 +02:00
Lubos
08e01c9a2a OpenXR - Dummy rendering working 2022-07-15 13:52:15 +02:00
Lubos
d109e7c1d7 Merge branch 'master' into feature_openxr_quest 2022-07-12 18:54:47 +02:00
Lubos
f693850d94 OpenXR - Initial version of VR renderer added 2022-07-12 18:53:46 +02:00
Henrik Rydgård
a831cab14c
Remove unmotivated check preventing texture ini creation on mobile. (#15647)
* Remove unmotivated check preventing  texture ini creation on mobile.

Fixes #15644

* Show a "toast" message on platforms that don't support opening a text editor, when you try to create/open a texture ini file.

* Avoid the need to ifdef around calls to SystemToast

* UWP buildfix (and some warning fixes).

And possibly libretro fix

* Rename for a bit more consistency
2022-07-10 22:34:44 +02:00
Lubos
9893e5c4ab OpenXR - VR mode initialization added 2022-07-08 14:44:20 +02:00
Unknown W. Brackets
8e15f755e6 UI: Add a sysprop for if the device has a keyboard.
Still left some ifdefs because of System_InputBoxGetString(), but
hopefully we can move away from them.  Some devices (like SDL) may only
optionally have a keyboard, so it's a runtime check.
2021-10-19 10:01:52 -07:00
Henrik Rydgård
e6857388c7 Add input device debug info to touchscreen test screen
(yeah maybe there's a better place but it's fine).

Also make a slight tweak to the detection order which I don't think
matters much.
2021-10-10 11:50:20 +02:00
Henrik Rydgård
1d08317766 Valiant attempt to fix queryGameName 2021-09-08 23:25:39 +02:00
Henrik Rydgård
81b4c3b376 Auto-pause on app switch. Will be made conditional in the next commit. 2021-08-11 23:31:51 +02:00
Henrik Rydgård
a0a5f7a67a Minor improvements on Android 9/10. Let the user reset to root of storage.
This includes handling weird "raw:/" content URIs. These I haven't seen
on newer versions.
2021-08-04 23:22:43 +02:00
Henrik Rydgård
93673cb565 Correct the cutoff for scoped storage. Android 9,10 (API 28,29) shouldn't use it. 2021-08-04 23:22:43 +02:00
Henrik Rydgård
793e79945f Enable scoped storage enforcement on Android 11+.
This has a number of UX issues and bugs we need to work through, but at least
games are playable, things mostly work. Upgrades are handled smoothly by
keeping existing storage access until you uninstall. After a reinstall, you'll
need to re-select your old PSP directory manually in settings :(
2021-08-04 23:22:43 +02:00
Yifan Gu
633a6f612b Refactor and unify analog input settings 2021-07-05 12:38:46 +02:00
Henrik Rydgård
90cb284837 Remove asserts from OpenSL init. Expose error inside audio settings 2021-06-15 23:13:07 +02:00
Henrik Rydgård
27dbcd3b34 Revert "Turn on scoped storage, for the purposes of testing on this branch."
This reverts commit 4b337303a4b2aa49aac6296609331e7c87e61085.
2021-06-07 00:26:26 +02:00
Henrik Rydgård
9b32ea2f55 Split out AndroidStorage.cpp from android/jni/app-android.cpp, move to Common 2021-06-07 00:26:24 +02:00
Henrik Rydgård
1aed8ce7b1 Add content URI support to LocalFileLoader, remove ContentUriFileLoader 2021-06-07 00:24:52 +02:00
Henrik Rydgård
2f31cb12fb Add support for writing to file. Basics work now (having memstick on a content path) 2021-06-07 00:24:52 +02:00
Henrik Rydgård
b397e5c455 Assorted plumbing.
wip

Buildfix
2021-06-07 00:24:51 +02:00
Henrik Rydgård
beb0b4e9f3 More work on AndroidStorageFileSystem.cpp. Fix current directory getting reset. 2021-06-07 00:24:51 +02:00