Lubosz Sarnecki
373a3096a9
c/window_android: Use cached surface from IPC.
...
Create window if activity is cached for in process.
2020-12-01 18:05:32 +01:00
Lubosz Sarnecki
92dab7b75b
android/Client: Create Android surface for OoP.
2020-12-01 18:05:32 +01:00
Lubosz Sarnecki
37e87d1942
android/MonadoView: Make native pointer optional.
2020-12-01 18:05:32 +01:00
Lubosz Sarnecki
0a6bfe6d96
aux/android_globals: Provide API to store a native window globally.
2020-12-01 18:05:32 +01:00
Lubosz Sarnecki
020df327fa
MonadoView: Don't be a Hilt view. Resolve exception.
...
Resolves:
java.lang.IllegalStateException: class org.freedesktop.monado.auxiliary.MonadoView, Hilt view must be attached to an @AndroidEntryPoint Fragment or Activity.
2020-12-01 18:05:32 +01:00
Ryan Pavlik
4101b3d92d
android: IPC/service-related cleanups.
2020-12-01 18:05:32 +01:00
Ryan Pavlik
974e7bd1d5
ipc/android: Be a foreground service
2020-12-01 18:05:32 +01:00
Ryan Pavlik
b92646c778
t/oxr_android: Bind ServiceNotificationImpl
2020-12-01 18:05:32 +01:00
Ryan Pavlik
fe6507d64e
t/android_common: Implement IServiceNotification
2020-12-01 18:05:32 +01:00
Ryan Pavlik
94d747cac9
aux/android: Create an interface for handling foreground service notification
2020-12-01 18:05:32 +01:00
Ryan Pavlik
a2a61cb5cf
ipc/android: Improve Client
2020-12-01 18:05:32 +01:00
Ryan Pavlik
70542fbb3b
t/oxr_android: Split android UI that is not target-specific to a separate common target.
2020-12-01 18:05:32 +01:00
Ryan Pavlik
2fe699d7c1
xrt/android: Actually start using dependency injection in Java/Kotlin code.
2020-12-01 18:05:32 +01:00
Ryan Pavlik
3c3d628f0c
t/oxr_android: Add resources and build code to grab the CDDL license for display.
...
Used by a dependency of Hilt.
2020-12-01 18:05:32 +01:00
Ryan Pavlik
885dd1d4d5
gradle: Handle kotlin in multiple parts of the build
2020-12-01 18:05:32 +01:00
Ryan Pavlik
fa840e1cd8
ipc/android: Initial port of parts to Kotlin.
2020-12-01 18:05:32 +01:00
Ryan Pavlik
b2f751ae99
aux/android: More null checks
2020-12-01 18:05:31 +01:00
Ryan Pavlik
f6aff9196a
t/oxr_android: Mention out-of-proc in app name resource
2020-12-01 18:05:31 +01:00
Ryan Pavlik
9a92b8f76c
st/oxr_android: Provide a shutdown runtime button in activity.
2020-12-01 18:05:31 +01:00
Ryan Pavlik
e4a346ad0b
ipc/android: Clean ups and debug messages
2020-12-01 18:05:31 +01:00
Ryan Pavlik
d9053e0dc5
ipc/android: Single point of truth for action name.
2020-12-01 18:05:31 +01:00
Ryan Pavlik
aa222ebba1
ipc/android: Clean up, adjust action name, adjust manifest.
2020-12-01 18:05:31 +01:00
Ryan Pavlik
2c3e0a2bac
gradle: Start using a plugin to use SVG files as vector drawables sources.
2020-12-01 18:05:31 +01:00
Ryan Pavlik
d9453c708e
ipc/android: Bump minSdkVersion
2020-12-01 18:05:31 +01:00
Ryan Pavlik
6ae4bc6960
gradle: Update Android plugin
2020-12-01 18:05:31 +01:00
Ryan Pavlik
d53e2dd7e2
st/oxr_android: Add icon to VR Listener service
2020-12-01 18:05:31 +01:00
Ryan Pavlik
7b5aad0be2
st/oxr_android: Declare sensor usage in manifest
2020-12-01 18:05:31 +01:00
Ryan Pavlik
635542f905
gradle: Break release build on a // STOPSHIP comment
2020-12-01 18:05:31 +01:00
Ryan Pavlik
23e01fc656
gradle: Factor out the dependency versions to a build-wide variable
2020-12-01 18:05:31 +01:00
Lubosz Sarnecki
4d45bfeb1b
cmake: Fix Android linking error
2020-12-01 18:05:31 +01:00
Lubosz Sarnecki
144a5751f6
android/ipc/Client.java: call connectSync.notify().
2020-12-01 18:05:31 +01:00
Ryan Pavlik
da68bf502b
ipc/client: Start using Android-specific code if needed.
2020-12-01 18:05:31 +01:00
Ryan Pavlik
9c7cfa0229
ipc/android: Add Android-specific native code library.
2020-12-01 18:05:31 +01:00
Ryan Pavlik
3011e3c9f6
ipc/android: Add a blocking connect Java method, and small clean-ups.
2020-12-01 18:05:31 +01:00
Ryan Pavlik
04318b4104
meson: Generate a mock Android config header.
2020-12-01 18:05:31 +01:00
Lubosz Sarnecki
aa308609af
doc: Document MR 611.
2020-12-01 17:36:15 +01:00
Lubosz Sarnecki
d493044e55
d/android: Use display metrics instead of hardcoded Pixel 3 values.
2020-12-01 17:36:15 +01:00
Lubosz Sarnecki
c0ab34a355
aux/android: Implement display metrics acquisition.
2020-12-01 17:36:15 +01:00
Lubosz Sarnecki
ae76b5037d
c/renderer: Fix right eye viewport when not pre-rotating.
...
Scale X / Y were swapped incorrectly.
2020-12-01 15:46:21 +01:00
Jakob Bornecrantz
6fc0e1cda5
u/sink_converter: Silence warning
2020-11-30 17:52:58 +00:00
Jakob Bornecrantz
242faf9b60
u/sink_converter: Refactor allocation function a bit more
2020-11-30 17:52:58 +00:00
Christoph Haag
3b992a4508
u/sink_converter: Remove u_sink_converter::frame
2020-11-30 15:38:21 +00:00
Christoph Haag
5a4df61885
u/sink_converter: Clarify dst frame of format conversions
2020-11-30 15:38:19 +00:00
Christoph Haag
49587412bd
u/sink_converter: clarify ensure_data()
2020-11-30 15:38:15 +00:00
Christoph Haag
9873588d08
sdl2hack: Don't call SDL_Quit()
...
It crashes client applications that use SDL2 on their own.
2020-11-30 15:38:13 +00:00
Christoph Haag
3d3361706c
os/threading: Fix typo in comment
2020-11-30 15:38:07 +00:00
Christoph Haag
3168eb750d
d/remote: Only define __USE_MISC if not defined
2020-11-30 15:38:06 +00:00
Lubosz Sarnecki
c4683bb059
c/renderer: Pre-rotate display for transformed surfaces.
...
This resolves VK_SUBOPTIMAL_KHR warnings when preseting the swap chain
on systems likes Android.
https://android-developers.googleblog.com/2020/02/handling-device-orientation-efficiently.html
2020-11-27 16:50:55 +01:00
Lubosz Sarnecki
bd68c0e5f5
aux/math: Implement math_matrix_2x2_multiply.
2020-11-27 16:50:55 +01:00
Christoph Haag
f6839ee4bf
st/oxr: Add view space case to hand tracking data
2020-11-23 20:42:54 +00:00