Commit Graph
275 Commits
Author SHA1 Message Date
Henrik Rydgård a43b62537a Buildfixes 2023-03-07 20:22:28 +01:00
Henrik Rydgård ac94d3febf VFS: Add support for opening zip files through a Content URI 2023-03-06 16:44:48 +01:00
Henrik Rydgård 53172eff63 Renaming and file splitting 2023-03-06 16:42:50 +01:00
Henrik Rydgård 3b39e9e068 Turn the VFS into a class, to be able to reuse it for other purposes. 2023-03-06 16:42:47 +01:00
Henrik Rydgård 31d796e769 Vulkan on Android: In non-debug mode, avoid devices that were rejected by VulkanMayBeAvailable.
Fixes #16931

Can still use these devices in debug builds by modifying the ini.
2023-02-28 18:18:19 +01:00
Henrik RydgårdandGitHub 8b431b39ba Wrap the display globals in a struct (#16998)
* Wrap the display globals in a struct

Makes it easier to search/replace these, for future refactorings.

* Some renaming

* Qt buildfix, also fix the Qt build on Mac (got broken with battery changes)

* Attempt at buildfixing ios

* UWP buildfix
2023-02-25 13:09:44 +01:00
Henrik Rydgård d43452f0ce Fix to shutdown sequence 2023-01-30 11:49:31 +01:00
Henrik Rydgård 2659fd6f66 Android work. Make the Android OpenGL exit prodecure make more sense 2023-01-30 11:49:31 +01:00
Henrik Rydgård ea0eaa31e6 Remove the Android display resolution selector
I think its benefit is absolutely tiny if any, and causes a lot more
problems than it's worth. Bye.

Note that this isn't the rendering resolution selector, that will of
course still be there, but it's the "hardware scaler" resolution.
2023-01-11 22:53:42 +01:00
Henrik Rydgård 07114c6aaf Remove return value from axis functions in API 2023-01-10 10:12:37 +01:00
Henrik Rydgård fdfc4cbe40 Android: Remove return value from touch event functions 2023-01-10 10:12:33 +01:00
Henrik Rydgård ab6fafb6eb Invert dependency to avoid compile issues 2023-01-05 08:38:53 +01:00
Henrik Rydgård 7e374c9324 Address feedback, more fixes 2023-01-05 08:38:53 +01:00
Henrik Rydgård b56eef487c Strict mode checking - no way to forget detaching now.
And if we forget to attach, boom. Hopefully I caught all of them.
2023-01-05 08:38:52 +01:00
Henrik Rydgård 916404f0e4 Try to get a bit better at detaching threads that have used JNI from the VM. 2023-01-05 08:38:49 +01:00
Henrik Rydgård fd5a27f985 Some more paranoia. Name the EmuThread on Android, just because. 2022-12-31 15:18:14 +01:00
Henrik Rydgård 10c0b3f2ae Comment improvements 2022-12-29 00:39:59 +01:00
Henrik Rydgård 463d703feb More assorted cleanup 2022-12-29 00:39:59 +01:00
Henrik Rydgård 6927c44fba Remove unused functions, log and comment fixes 2022-12-29 00:39:59 +01:00
Henrik Rydgård db98ed9b7a More simplification. 2022-12-22 10:46:09 +01:00
Henrik Rydgård fe0f19fa31 Fix JNI leak in Android_GetInputDeviceDebugString, affecting TouchScreenTest 2022-12-22 10:35:34 +01:00
Henrik Rydgård a3bbaeb31d Simplify some more code in app-android.cpp 2022-12-22 10:35:18 +01:00
Henrik Rydgård afbf732d7e Delete even more dead code in app-android.cpp 2022-12-22 10:17:52 +01:00
Henrik Rydgård f0c6510727 Remove redundant variables 2022-12-22 10:05:21 +01:00
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