utzcoz
30ebd2fe1b
xrt/android: Apply Java code format by latest google-java-format
...
Signed-off-by: utzcoz <utzcoz@outlook.com>
2023-11-15 10:06:20 -06:00
utzcoz
7d61a6f892
xrt/android: Bump google-java-format to 1.18.1
...
Use the latest google-java-format to support JDK17 for AGP 8.x.
Signed-off-by: utzcoz <utzcoz@outlook.com>
2023-11-15 10:06:20 -06:00
Jakob Bornecrantz
f1d275708d
libmonado: Fix dynamic roles
2023-11-07 22:57:44 +00:00
Jakob Bornecrantz
14d94d8d9a
t/common: Fix North Star builder
...
Closes #296
2023-11-07 22:51:27 +00:00
Weijie Wang
fdfe2fc459
ipc: Increase the duration of the starting timeout
2023-11-06 15:40:23 +00:00
Jakob Bornecrantz
70548ee0e9
t/common: Refactor lighthouse builder to use vive_builder helper
2023-11-03 19:14:43 +00:00
Jakob Bornecrantz
2f586030be
t/common: Fix Rift-S builder
2023-10-25 14:34:55 +01:00
Jakob Bornecrantz
c5f4f0ab7a
xrt: Remove old roles
...
Also remove all fallbacks helpers now.
2023-10-24 09:24:49 +00:00
Jakob Bornecrantz
f6b1cc140d
t/cli: Add support for new dynamic device roles
2023-10-24 09:24:49 +00:00
Jakob Bornecrantz
9331c8bb0a
t/common: Add support for new dynamic device roles
2023-10-24 09:24:49 +00:00
Jakob Bornecrantz
2c49c0f9a7
t/sdl_test: Add support for new dynamic device roles
2023-10-24 09:24:49 +00:00
Jakob Bornecrantz
dcdf270d13
d/remote: Add support for new dynamic device roles
...
Currently static.
2023-10-24 09:24:49 +00:00
Nico Marniok
2718f0506e
xrt: Add dynamic roles to xrt_system_devices
...
Doesn't fully remove the old way yet.
Co-authored-by: Korcan Hussein <korcan.hussein@collabora.com>
Co-authored-by: Jakob Bornecrantz <jakob@collabora.com>
2023-10-24 09:24:49 +00:00
Gabriele Boccone
ce90c0a1c7
t/common: Fix creation on no driver available
...
Only say we can create a system if we have a driver in legacy builder.
2023-10-23 19:52:19 +01:00
Jakob Bornecrantz
eee17ee2ff
u/builders: Refactor space overseer creation helper
2023-10-19 11:28:22 +01:00
Jakob Bornecrantz
e805209fcd
d/opengloves: Refactor creation
2023-10-19 11:28:22 +01:00
Jakob Bornecrantz
8b30819b35
t/common: Refactor WinMR builder [NFC]
2023-10-19 11:28:22 +01:00
Jakob Bornecrantz
0a8fa312d6
t/common: Refactor SimulaVR builder [NFC]
2023-10-19 11:28:22 +01:00
Jakob Bornecrantz
201ea799ac
t/common: Refactor Simulated builder [NFC]
2023-10-19 11:28:22 +01:00
Jakob Bornecrantz
fb8c941257
t/common: Refactor Rift-S builder [NFC]
2023-10-19 11:28:22 +01:00
Jakob Bornecrantz
09c75b6aaf
t/common: Refactor RGB builder [NFC]
2023-10-19 11:28:22 +01:00
Jakob Bornecrantz
841fc7c644
t/common: Refactor QWERTY builder [NFC]
2023-10-19 11:28:22 +01:00
Jakob Bornecrantz
d9329d1c7c
t/common: Refactor Nreal Air builder [NFC]
2023-10-19 11:28:22 +01:00
Jakob Bornecrantz
9a27a32b9c
t/common: Refactor North Star builder [NFC]
2023-10-19 11:28:22 +01:00
Jakob Bornecrantz
1d8bfc7532
t/common: Refactor Lighthouse builder [NFC]
2023-10-19 11:28:22 +01:00
Jakob Bornecrantz
d2ceb81070
t/common: Refactor Legacy builder [NFC]
2023-10-19 11:28:22 +01:00
Jakob Bornecrantz
e58926662f
t/common: Don't destroy frame context on failure
...
This is handled later in the builder.
2023-10-19 11:28:22 +01:00
Jakob Bornecrantz
0b9a8ea860
t/common: Return error message proper failure in legacy builder
2023-10-19 11:28:22 +01:00
Jakob Bornecrantz
08ec4e0259
u/system_helpers: Refactor hand-tracker helper getters
2023-10-19 11:28:22 +01:00
Jakob Bornecrantz
fe8c4116ec
t/sdl_test: Use helper to import images
2023-09-20 16:50:58 +01:00
Ryan Pavlik
2398dc6ca4
t/common: Fix doxygen warnings
2023-09-13 20:21:57 +01:00
Jakob Bornecrantz
3de99b63d9
ipc: Add a interface header for ipc_server_main[_android]
2023-09-13 17:33:55 +00:00
Jakob Bornecrantz
5be0767aa9
ipc: Add a interface header for ipc_instance_create
2023-09-13 17:33:55 +00:00
Lubosz Sarnecki
040ad33188
t/libmonado: Add libmonado implementation
...
Work done by lots of different authors that did various pieces of the library.
Co-authored-by: Korcan Hussein <korcan.hussein@collabora.com>
Co-authored-by: Jakob Bornecrantz <jakob@collabora.com>
Co-authored-by: Ryan Pavlik <ryan.pavlik@collabora.com>
2023-09-12 15:38:31 +01:00
dengkail
a809635fe6
t/android_common: Specify mutability flag for PendingIntent object.
...
Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or
FLAG_MUTABLE to be specified when creating a PendingIntent, according to
https://developer.android.com/guide/components/intents-filters#DeclareMutabilityPendingIntent .
2023-09-08 13:43:40 +01:00
Tobias Frisch
75cab73f70
d/na: Add driver for the Nreal Air glasses
2023-09-07 14:07:10 +00:00
sdegrande
f290b6418d
t/sdl_test: sdl-test needs OpenGL4.5
...
sdl-test uses some OpenGL4.5 features, such as Texture Objects.
Currently, sdl-test is initialized with an OpenGL3.3 context, and with
a NVidia driver (version 535.98, on Linux), the call to those features
(glCreateTextures() being the first of them) segfaults.
2023-09-01 14:51:41 +00:00
Hui Xu
d5b9ae137e
ipc/android: Dup the fd from JVM and maintain it in native
...
- dup the fd in native part to avoid fd_san error
2023-08-22 18:54:26 +00:00
Alex Badics
83976d7d2c
d/rokid: add Rokid Air and Max driver
2023-08-16 15:40:09 +02:00
Lubosz Sarnecki
1761d98a2e
t/common: Use same return type as in interface.
...
Fixes GCC 13 warning [-Wenum-int-mismatch].
Return xrt_result_t in the implementation of xrt_instance_create in
target_instance_no_comp.c, as declared in xrt_instance.h and already
done in target_instance.c.
Return proper xrt_result_t instead of plain ints.
2023-08-14 16:55:33 +01:00
Lubosz Sarnecki
60c57792d9
t/common: Fix build with XRT_BUILD_DRIVER_VIVE=OFF.
...
vive_source.h always needs to be included for
vive_source_hook_into_sinks. vive_device.h always needs to be included
for vive_tracking_status struct.
2023-08-09 16:50:36 +02:00
0y8w1x
318f25f1f1
build: Add define to only build with PSVR driver support
2023-07-31 23:47:24 +02:00
Pedro Santos
2a3ac52eb8
d/vive: Add Vive Pro 2 support
2023-07-24 15:23:19 +01:00
Jakob Bornecrantz
7dae8d1ddd
ipc: Add a stable ID for clients
...
Co-authored-by: Lubosz Sarnecki <lubosz.sarnecki@collabora.com>
2023-07-18 17:33:52 +02:00
Lubosz Sarnecki
0195e22341
t/ctl: Use correct ipc call for toggling client I/O.
2023-07-18 17:33:52 +02:00
Jakob Bornecrantz
f5eaecc690
t/ctl: Use common IPC connection code
2023-06-17 22:25:16 +01:00
Ryan Pavlik
12eaebfa6a
t/common: Warning fix
2023-06-17 11:46:14 +01:00
Shawn Wallace
a3c2b89067
t/common: Integrate SteamVR Lighthouse driver into builder
...
Replaced VIVE_OVER_SURVIVE env var with LH_DRIVER, which takes a string and
allows choosing one of the three lighthouse tracking implementations.
2023-06-14 15:43:00 +01:00
Jakob Bornecrantz
315861501c
a/vive: Move VIDs and PIDs to helper library [NFC]
2023-06-14 00:23:26 +01:00
utzcoz
287102d256
t/android: Declare INTERNET permission for remote driver
...
Signed-off-by: utzcoz <utzcoz@outlook.com>
2023-06-13 21:08:01 +00:00