Commit graph

1017 commits

Author SHA1 Message Date
Henrik Rydgård
d3955b42bb Rename some system functions, merge the Launch* ones.
android launchurl buildfix
2023-03-21 12:22:59 +01:00
Henrik Rydgård
a9eaa4fdc8 Get rid of an ifdef 2023-03-21 10:24:36 +01:00
Henrik Rydgård
32e8ab3b5d Import all of basisu_transcoder, set up build 2023-03-13 12:37:43 +01:00
Henrik Rydgård
f936a6e9ce Structs and enums and build files 2023-03-11 11:19:33 +01:00
Henrik Rydgård
cb10862510 Move texture replacer to GPU/Common.
Add new files ReplacedTexture.cpp/h too.
2023-03-09 21:11:53 +01:00
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ård
18999c3687 Create the GPUCommonHW class. 2023-02-25 14:42:10 +01:00
Henrik Rydgård
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
Lubos
abf76bd212 OpenXR - One APK for both Pico and Quest 2023-02-08 17:26:36 +01:00
Henrik Rydgård
d502198aa3 Move GLFrameData out of GLRenderManager.
Small refactor to prepare for adding delayed readback support to the
OpenGL backend.
2023-02-07 12:12:00 +01:00
Henrik Rydgård
fb8aff5a8c Split out the depth stuff from the file, move to GPU/Common 2023-02-03 21:06:43 +01:00
Henrik Rydgård
3b36a1bb66 TiltEventProcessor belongs in Core, not UI. 2023-02-01 15:04:32 +01:00
Henrik Rydgård
a88bafff4d Break out the JoystickHistoryView 2023-02-01 14:58:16 +01:00
Henrik Rydgård
c8dce81ff0
Merge pull request #16156 from hrydgard/opengl-thread-refactor
OpenGL threading refactor
2023-01-31 11:14:01 +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
Unknown W. Brackets
489411359e Common: Add cpu_features library. 2023-01-29 14:35:58 -08: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
c27689910e Break out ScrollView from ViewGroup.h, and PopupScreens from UIScreen.h 2023-01-11 10:56:31 +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
a3e5e475cd Revert "buildfix attempt"
This reverts commit 97328620f16efdad7733994a0c825963675186c0.
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
d352340f77 buildfix attempt 2023-01-05 08:38:52 +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
Unknown W. Brackets
77849d3eed riscv: Add disassembler.
From https://github.com/anthony-coulter/riscv-disassembler.
Modified slightly to pull in less headers in the h, prefix funcs.
2023-01-01 10:28:53 -08: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
31d5881c90 Enable support for Android Vulkan validation. Fix a minor validation error. 2022-12-22 11:13:52 +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
Henrik Rydgård
31af24a230 Break out VKRFramebuffer/VKRRenderpass from VulkanRenderManager 2022-11-27 10:22:37 +01:00
Henrik Rydgård
d38019ee6a Add basic CI support for build-testing the Android-based VR build.
Note: Doesn't do APK generation, to keep things simple, instead using
the old NDK build.

Later should run gradle on github CI too, I guess.

Fixes #15981
2022-11-25 10:49:59 +01:00
Henrik Rydgård
57864f62ce Rework the display layout editor to ditch the preview thing.
We lose the snapping in the refactor because I ended up rewriting the
whole dragging mechanism, might reintroduce later.
2022-11-22 20:10:20 +01:00
Henrik Rydgård
ec6d330ae4 Move AsyncImageFileView to Common, which required some more shuffling around of stuff. 2022-11-21 20:38:20 +01:00