Commit graph

6100 commits

Author SHA1 Message Date
Mateo de Mayo c6ca7d2339 d/vive: Reduce relation history lock contention
Relation history was being accessed guarded by an external lock in a couple of
places. This is redundant since its implementation already defines an internal
lock.
2023-09-08 12:56:18 +01:00
Mateo de Mayo 3bf927f03f d/na: Reduce relation history lock contention
Relation history was being accessed guarded by an external lock in a couple of
places. This is redundant since its implementation already defines an internal
lock.
2023-09-08 12:56:02 +01:00
Mateo de Mayo 2e55c54b8f d/na: Destroy relation history 2023-09-08 12:53:10 +01:00
Mateo de Mayo ce929e804c a/math: Add lock for relation history get_size 2023-09-08 12:53:10 +01:00
Jakob Bornecrantz f0ce16288f doc: Document !1940 2023-09-08 10:47:58 +01:00
Jakob Bornecrantz 1f49e43724 c/main: Always use the mode's extents when creating the surface
This fixes a bug on NVIDIA Jetson. Note this isn't so much the NVIDIA Jetson
fault, while the code was working on desktop, Monado did something wrong.
What happned was that Monado would select a mode with one size, while then
creating a VkSurface/VkSwapchain of a different size. This would work on
hardware with scalers/panning modes. The NVIDIA Jetson apparently doesn't have
support for that so failed when presenting. This patch makes sure that the
VkSurface/VkSwapchain extents match the mode for all direct mode targets.
2023-09-08 10:47:58 +01:00
Jakob Bornecrantz 9bac7ed30e c/main: Print creation info for direct mode objects 2023-09-08 10:47:58 +01:00
Jakob Bornecrantz 67c24ebe92 c/main: Free plane_properties earlier 2023-09-08 10:31:42 +01:00
Jakob Bornecrantz e95b6932eb c/main: Use more enumeration helpers 2023-09-08 10:31:42 +01:00
Jakob Bornecrantz e37041cc61 a/vk: Add printing functions for create info structs 2023-09-08 10:31:42 +01:00
Jakob Bornecrantz 113f747742 a/vk: Print more VkSurface info 2023-09-08 10:31:42 +01:00
Jakob Bornecrantz 648a168219 a/vk: Even more flag bits string functions 2023-09-08 10:31:42 +01:00
Jakob Bornecrantz d905f79025 a/vk: Improve old flag bits string functions
Make old flag bits string functions like the new ones.
2023-09-08 10:31:42 +01:00
Jakob Bornecrantz ef7aeef971 a/vk: Add flag bits string functions 2023-09-08 10:31:42 +01:00
Jakob Bornecrantz 217874507b a/vk: Re-order functions [NFC] 2023-09-08 10:31:42 +01:00
Jakob Bornecrantz f08a4abb3f a/vk: Add string function for VkSharingMode 2023-09-08 10:31:42 +01:00
Jakob Bornecrantz e732265e64 a/vk: Add more enumeration helpers 2023-09-08 10:31:42 +01:00
Jakob Bornecrantz 20183cc3a8 doc: Document !1798 2023-09-07 16:43:37 +01:00
Tobias Frisch 75cab73f70 d/na: Add driver for the Nreal Air glasses 2023-09-07 14:07:10 +00:00
Jakob Bornecrantz 4548e17385 doc: Document !1935 2023-09-04 22:26:08 +00:00
Jakob Bornecrantz 843e98e853 c/client: Make sure to not double CloseHandle semaphore HANDLE 2023-09-04 22:26:08 +00:00
Jakob Bornecrantz dff3be7b10 doc: Document !1943 2023-09-02 20:00:36 +01:00
BabbleBones 80745f32b3 d/steamvr_lh: Fix zero IPD read 2023-09-02 13:50:01 +01:00
BabbleBones a67aae104b d/steamvr_lh: Fix prediction jitter and remove LH_PREDICTION 2023-09-02 13:50:01 +01:00
Gabriele Musco edaa9320db d/steamvr_lh: Log generic tracker 2023-09-02 13:49:57 +01:00
BabbleBones 5d35ae6dc3 d/steamvr_lh: Wands as any hand controllers 2023-09-02 13:49:54 +01:00
BabbleBones e49be97a3e d/steamvr_lh: Mark init controller state unknown 2023-09-02 13:49:49 +01:00
BabbleBones 466398dc5a d/steamvr_lh: Enable vive tracker pucks 2023-09-02 13:49:45 +01:00
Jakob Bornecrantz 96ea303623 doc: Document !1946 2023-09-01 20:00:57 +01:00
Jakob Bornecrantz 6b815eba51 ipc: Removed unused define [NFC] 2023-09-01 19:50:46 +01:00
Jakob Bornecrantz a0fd61ec1e st/steamvr_drv: Use undef instead of comment for debug define [NFC] 2023-09-01 19:50:34 +01:00
Jakob Bornecrantz 87ec56ca17 d/vive: Use undef instead of comment for debug define [NFC] 2023-09-01 19:50:18 +01:00
Jakob Bornecrantz 74fed516e3 t/psvr: Use undef instead of comment for debug define [NFC] 2023-09-01 19:50:07 +01:00
Jakob Bornecrantz 517b8726fd doc: Document !1940 2023-09-01 15:42:06 +00:00
Jakob Bornecrantz c49a2a5f4d st/gui: Add optional curated debug GUI
Setting XRT_CURATED_GUI to true makes the curated the default.

You can switch between the two UIs during runtime.
2023-09-01 15:42:06 +00:00
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