Commit graph

6065 commits

Author SHA1 Message Date
sdegrande e87708d345 doc: Document !1945 2023-09-01 14:51:41 +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
sdegrande 95b8a3b783 doc: Document !1944 2023-09-01 11:47:53 +02:00
sdegrande e17dd0a494 cmake: Fix GetGitRevisionDescription cmake module for MSys
When running in an msys environment and in a git worktree directory,
the git revision is not found.

This patch converts the git_worktree_dir variable to the windows format,
by adding the windows prefix of the msys root dir, so that the HEAD file
of the worktree can be found and used by the module.
2023-09-01 11:46:28 +02:00
Jakob Bornecrantz 5791c8135d doc: Document !1924 2023-08-22 18:54:26 +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
Jakob Bornecrantz 4cc68f07c0 doc: Document !1933 2023-08-22 19:05:53 +01:00
Jakob Bornecrantz b699d0a2b3 os/threading: Document os_cond 2023-08-22 18:49:11 +01:00
Weijie Wang 7d8ca2c162 os/threading: Add mutex recursive wrapper 2023-08-22 18:42:00 +01:00
Jakob Bornecrantz 72be3e95fe doc: Document !1931 2023-08-16 22:51:57 +01:00
Ryan Pavlik ef7b1133c6 a/util: Fix missing include for generic callback structure.
Also extend the tests to actually include invocation of callbacks,
and rename a template parameter for clearer usage.
2023-08-16 16:03:58 -05:00
Jakob Bornecrantz 8b700b0063 doc: Document !1919 2023-08-16 16:48:20 +01:00
Russ Taylor c0f97e598d doc: Clarify Vulkan SDK requirement on Windows in README.md file. 2023-08-16 16:47:44 +01:00
Jakob Bornecrantz da286d5962 doc: Document !1930 2023-08-16 15:56:32 +01:00
Alex Badics 83976d7d2c d/rokid: add Rokid Air and Max driver 2023-08-16 15:40:09 +02:00
Jakob Bornecrantz 9ac90bfa0d doc: Document !1927 2023-08-16 13:05:21 +01:00
Jakob Bornecrantz 0fb5025997 d/steamvr_lh: Only use the relation history buffer for poses
Also enables prediction to be toggled on.
2023-08-16 13:05:20 +01:00
BabbleBones 577a9aa420 d/steamvr_lh: Basic controller log info
Co-Authored-By: Gabriele Musco <gabmus@disroot.org>
2023-08-16 13:04:23 +01:00
BabbleBones 0ee05e9c38 d/steamvr_lh: Vive tracker input hookup
Co-Authored-By: Gabriele Musco <gabmus@disroot.org>
2023-08-16 13:04:23 +01:00
BabbleBones c139925e83 d/steamvr_lh: Add Valve Knuckles support and emulated hands
Co-Authored-By: Gabriele Musco <gabmus@disroot.org>
2023-08-16 13:04:23 +01:00
BabbleBones 938dd9c74f d/steamvr_lh: Lighthouse info print
Co-Authored-By: Gabriele Musco <gabmus@disroot.org>
2023-08-16 13:04:23 +01:00
BabbleBones 81e827b4bf d/steamvr_lh: Configure canted eyes & IPD
Co-Authored-By: Gabriele Musco <gabmus@disroot.org>
2023-08-16 13:04:20 +01:00
BabbleBones 6d8463823b d/steamvr_lh: Add support for Vive Pro & Index
Co-Authored-By: Gabriele Musco <gabmus@disroot.org>
2023-08-14 19:36:37 +01:00
Jakob Bornecrantz 3a75d66c69 doc: Document !1929 2023-08-14 19:35:44 +01:00
BabbleBones 8f9dd99df5 d/steamvr_lh: Set driver ipd & brightness on HMD
Co-Authored-By: Gabriele Musco <gabmus@disroot.org>
2023-08-14 19:35:00 +01:00
BabbleBones 8795268c86 d/steamvr_lh: Fix warnings
Co-Authored-By: Gabriele Musco <gabmus@disroot.org>
2023-08-14 17:41:15 +01:00
BabbleBones 841a459a7b a/vive: Support c++ pose info
Co-Authored-By: Gabriele Musco <gabmus@disroot.org>
2023-08-14 17:41:15 +01:00
Jakob Bornecrantz 46109c6d0c doc: Document !1921 2023-08-14 17:29:18 +01:00
Lubosz Sarnecki f0cb6c1d6d st/prober: Define functions only when PSVR or PSMV are enabled.
Fixes GCC 13 warning [-Wunused-function].

Define on_video_device and p_factory_ensure_frameserver only when PSMV
or PSVR are enabled. Drop redundant check for XRT_HAVE_OPENCV, since we
already do it above.
2023-08-14 16:57:28 +01:00
Lubosz Sarnecki a2d3621058 st/prober: Move rgb struct declaration.
Fixes GCC 13 warning [-Wunused-variable].

Only declare rgb struct when PSVR is enabled, where it's only used.
2023-08-14 16:57:28 +01:00
Lubosz Sarnecki 634fa71fda h/mercury: Don't write over allocated string size.
Fixes GCC 13 warning [-Wstringop-truncation].
2023-08-14 16:55:33 +01:00
Lubosz Sarnecki 68faf2bc89 t/psvr: Initialize Eigen vector with zeros.
Fixes very verbose GCC 13 warning [-Wmaybe-uninitialized].
2023-08-14 16:55:33 +01:00
Lubosz Sarnecki b0d47951f6 c/main: Pass wm_capabilities to xdg_toplevel_listener.
Fixes GCC 13 and clang 15 warning [-Wmissing-field-initializers].

For recent Wayland versions, correctly initialize the
xdg_toplevel_listener struct.
2023-08-14 16:55:33 +01:00
Lubosz Sarnecki eb438b2381 c/client: Actually use modified xrt_swapchain_create_info.
Fixes GCC 13 warning [-Wunused-but-set-variable].

Use the modified copy of xrt_swapchain_create_info instead of the
const pointer parameter.
2023-08-14 16:55:33 +01: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 6956042fb4 d/remote: Use same return type as in interface.
Fixes GCC 13 warning [-Wenum-int-mismatch].

Use same return type in for r_create_devices definition in r_hub.c as in
the declaration in r_interface.h.

The function was already returning correct xrt_result_t.
2023-08-14 16:55:33 +01:00
Jakob Bornecrantz a13ff394a5 doc: Document !1928 2023-08-14 15:40:54 +01:00
Jakob Bornecrantz 41927e802c st/gui: Fix warning by using safe casts 2023-08-14 15:38:36 +01:00
Jakob Bornecrantz 6fc9bef385 m/vec3: Add float array helper 2023-08-14 15:38:36 +01:00
Jakob Bornecrantz 66d8e8066a m/vec2: Add float array helper 2023-08-14 15:38:36 +01:00
Jakob Bornecrantz 4a10bc7028 doc: Document !1926 2023-08-14 13:53:03 +01:00
Charlton Rodda 3b0af8d184 d/qwerty: Make controller support press-and-hold 2023-08-14 13:53:03 +01:00
Jakob Bornecrantz 469cc0516f doc: Document !1923 2023-08-14 13:19:27 +01:00
0y8w1x e6bbfe7b4b u/truncate_printf: Fix spelling [NFC] 2023-08-14 13:19:27 +01:00
0y8w1x b2906fbc17 doc: Add some Debian/Ubuntu packages to the README 2023-08-14 13:19:27 +01:00
Jakob Bornecrantz aac6a47b09 doc: Document !1922 2023-08-14 12:59:40 +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
Jakob Bornecrantz 5b9bdefe96 doc: Document !1882 2023-08-01 23:07:41 +01:00
Ryan Pavlik d32c733ff3 cmake: Handle multiple include of compiler flags 2023-08-01 10:43:55 -05:00
Jakob Bornecrantz 85c99649ba doc: Document !1916 2023-08-01 00:24:05 +01:00