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
Jan Schmidt
9966c16cdd
d/wmr: Publish Reverb G2 tunnelled controllers
...
If there are HMD-tunnelled controllers present,
publish them in the prober and builder so they
can be used.
2023-06-08 16:12:18 +00:00
Korcan Hussein
17d8e010c8
xrt: App enabled extension state
...
Adds support for passing through which extensions an OpenXR client
has enabled to server for drivers/compositors to be able to query.
2023-05-25 23:20:38 +01:00
Ryan Pavlik
e3ce528703
cmake: Adjust build so that CPack makes a better deb file.
...
Not as good as the native one, but better.
2023-05-22 14:24:03 -05:00
Jakob Bornecrantz
d984950be1
a/vive: Make imu config return be a out variable [NFC]
2023-05-16 23:34:33 +01:00
Jakob Bornecrantz
67dd88ec4a
a/vive: Refactor out calibration getters into own file [NFC]
2023-05-16 23:34:32 +01:00
Jakob Bornecrantz
3487923eab
d/qwerty: Remove old prober code
2023-05-16 22:25:05 +00:00
Jakob Bornecrantz
fb30f5e077
t/common: Put simulated, remote and qwerty higher up in list
2023-05-16 22:25:05 +00:00
Jakob Bornecrantz
be58024ffb
t/common: Add Qwerty builder
2023-05-16 22:25:05 +00:00
Ryan Pavlik
ae6b0ad445
st/p,t/common: Protect tracker-creation calls
2023-05-16 22:04:53 +00:00
Ryan Pavlik
173b36c3a2
t/sdl_test: Fix macro collision on Windows
2023-05-16 22:04:53 +00:00
samuel degrande
ea7ec1bda8
xrt: Fail to build with Clang 16
2023-05-16 14:25:36 +00:00
Christoph Haag
2f4a926184
t/legacy: Ensure all legacy drivers can be disabled [NFC]
2023-05-16 08:53:55 +00:00
samuel degrande
1ad168cfc5
cmake: Fix build failure on msys2/mingw64
...
This is due to the use of `${SDL2_LIBRARIES}` over `SDL2::SDL2`.
On some 'old' OSes such as Ubuntu 20.04, the SDL2 CMake config does
not set an SDL2:SDL2 target but rather defines SDL2_LIBRARIES and
SDL2_INCLUDE_DIRS variables.
This patch creates an SDL2::SDL2 target, if not already set, based on
those 2 variables.
2023-05-15 16:41:34 +00:00
Jakob Bornecrantz
adc609d7c9
t/sdl_test: Compile as UTF-8 to fix MSVC warning
...
Fix the following warning:
sdl_program.cpp(25): warning C4566: character represented by universal-character-name '\u2603' cannot be represented in the current code page (1252)
2023-05-14 15:57:08 +01:00
Jakob Bornecrantz
1f2d444ffc
t/common: Fix typo
2023-05-02 23:27:57 +01:00
Ryan Pavlik
887b79f577
t/common: Add a missing result and null check in North Star builder
2023-05-02 21:19:40 +00:00
Christoph Haag
aa052046a8
cmake: Delete active_runtime.json if it already exists
2023-04-24 13:57:00 +00:00
Jarvis Huang
0d31791092
comp/android: Refine surface creation flow
...
Reuse MonadoView when "Display over other apps" is enabled. Move surface
creation logic to compositor for consistency. With this approach, compositor
implementer controls the way surface is created.
2023-04-18 16:24:35 -05:00
utzcoz
b5b0c30936
t/android: Run spotlessApply to format Java and Kotlin code
...
Signed-off-by: utzcoz <utzcoz@outlook.com>
2023-04-17 10:58:38 -05:00
utzcoz
8e93bbde4b
gradle: Integrate spotless to format Java and Kotlin code
...
See https://github.com/diffplug/spotless .
Signed-off-by: utzcoz <utzcoz@outlook.com>
2023-04-17 10:58:38 -05:00