Commit Graph
7963 Commits
Author SHA1 Message Date
Jakob Bornecrantz eeb2df586f st/oxr: Add small comment about inset [NFC]
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2612>
2025-11-11 16:50:36 +00:00
Jakob Bornecrantz 420cb44db7 st/oxr: Move form factor verify define to more logical place [NFC]
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2612>
2025-11-11 16:50:36 +00:00
Andrei Aristarkhov 803e8168e4 xrt: server can use xrt_instance::is_system_available to delay system creation
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2612>
2025-11-11 16:50:36 +00:00
Andrei Aristarkhov 6417c1818e st/oxr: delay ipc client system creation until xrGetSystem call
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2612>
2025-11-11 16:50:36 +00:00
Andrei Aristarkhov b8b4cfade7 ipc: relocate xtracks to ipc_client_system_devices
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2612>
2025-11-11 16:50:36 +00:00
Andrei Aristarkhov 2eefb0a3f6 ipc: fix teardown of a client w/o system
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2612>
2025-11-11 16:50:36 +00:00
Rafal Karp 857d7f0e8c ipc: Add exit_to_disconnect as property of ipc_server_main_info struct
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2612>
2025-11-11 16:50:36 +00:00
Jakob Bornecrantz 34acfc9123 st/oxr: Correctly validate view configurations
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2612>
2025-11-11 16:50:36 +00:00
Andrei Aristarkhov 5e19fa5782 st/oxr: fix OXR_CHECK_XRET macro
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2612>
2025-11-11 16:50:36 +00:00
Jakob Bornecrantz e3e1d338fe st/oxr: Add disable_vulkan_format_depth quirk
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2612>
2025-11-11 16:50:36 +00:00
Jakob Bornecrantz 31907313cb st/oxr: Refactor format skipping code
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2612>
2025-11-11 16:16:07 +00:00
lightofmysoulandkorejan 19335a8ade c/client: Improve creation of shared EGL context
To create a shared context we need to provide the same options (usually)
when the original context was created. But not all of those options can be
retrieved from an already created context.

This commit adds more ways to create a shared EGL context by trying multiple times.

Co-authored-by: korejan <korcan_h@hotmail.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2599>
2025-11-11 10:21:40 +00:00
Connor Smith 719bcd4bbe st/oxr: Use the vkGetInstanceProcAddr provided through OpenXR calls.
Use the vkGetInstanceProcAddr passed to xrCreateVulkanInstanceKHR to load
functions required by xrGetVulkanGraphicsDevice2KHR.

This fixes a crash when loading Vulkan into a process that has already Vulkan
loaded.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:48 +00:00
Jakob Bornecrantz 9a5907dc7c st/oxr: Improve Vulkan code
* Standardise argument names for VkInstance and PFN_vkGetInstanceProcAddr.
* Use helper define to load functions.
* Mark loaded functions very clearly.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:48 +00:00
Connor Smith 4329ac1dde st/oxr: Use argument vkGetInstanceProcAddr function
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:48 +00:00
Jakob Bornecrantz 74c11b62db st/oxr: Validate max sample count
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:47 +00:00
Jakob Bornecrantz 7da4d6571c st/oxr: Tidy Swapchain API file
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:47 +00:00
Jakob Bornecrantz cc88dcec71 st/oxr: Make it possible to build without DPAD support
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:47 +00:00
Rafal Karp b334f9d7fc c/multi: Add missing cases in clean up multi system state session
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:47 +00:00
Jakob Bornecrantz f0db380810 c/main: Fix conversion warning [NFC]
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:47 +00:00
Gareth Morgan 458b11972f c/client: Scale for non-power-of-two textures
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:47 +00:00
Jakob Bornecrantz c25d7c18a1 c/util: Log destroy and really_destroy as debug
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:47 +00:00
Jakob Bornecrantz 67dc35568a c/util: Improve layer squasher CS shader UBO
Don't use XRT_MAX_VIEWS as it's wrongly used here.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:47 +00:00
Jakob Bornecrantz c5ed968e95 c/util: Use a include for layer defines
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:47 +00:00
Jakob Bornecrantz b141595734 u/logging: Flush logging output on Windows
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:47 +00:00
Jakob Bornecrantz 3292394c68 u/logging: Add function to log to file
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:47 +00:00
Rafal Karp 44773f803c u/logging: Add filter callback in Monado logging system
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:46 +00:00
Jakob Bornecrantz 087d03501f t/sdl_test: Don't directly access the vk_bundle
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:46 +00:00
Jakob Bornecrantz e2092b5968 a/vk: Improve error printing in vk_create_device
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:46 +00:00
Jakob Bornecrantz 1b1a1f264e cmake: Add DEPENDS argument to spirv_shaders
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:46 +00:00
Andrei Aristarkhov 6d59798fc2 cmake: Group tests together in a folder for IDEs that support it
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:46 +00:00
Jakob Bornecrantz 4051edb092 st/gui: Implement gui sameline variable
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:46 +00:00
Jakob Bornecrantz 3b53000ef7 u/var: Add gui sameline variable
Used to make UI a little bit prettier by default.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:46 +00:00
Jakob Bornecrantz 3d57174ec1 u/var: Add replace format with raw text
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:46 +00:00
Andrei Aristarkhov 50645b36b1 u/var: Ignore button down when another item is active
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:44 +00:00
Jakob Bornecrantz 586af787c0 u/var: Make button downable
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:44 +00:00
Jakob Bornecrantz 325bcbe605 u/worker: Split tracking of waiting tasks and in progress tasks
Without this the code could deadlock on wait_all because the count
would get out of sync when pushing more tasks then threads without
waiting on the work.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:44 +00:00
Jakob Bornecrantz acd3d464f9 u/worker: Small improvements
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:44 +00:00
Jakob Bornecrantz 5266d0ac0a u/worker: Add direct group push in C++ interface
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:43 +00:00
Jakob Bornecrantz 9bd3555a0d u/worker: Set OS thread name as well
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:43 +00:00
Jakob Bornecrantz 413e188d7f u/worker: Allow setting the number of workers to the number of threads
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:43 +00:00
Wanhang LuandJakob Bornecrantz 2fbb6bce96 d/ht_ctrl_emu: Expose the device as XRT_DEVICE_HAND_CTRL_EMU
And bind to simple controller through rebindings.

Co-authored-by: Jakob Bornecrantz <tbornecrantz@nvidia.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:43 +00:00
Jakob Bornecrantz 79a472e69a d/ht_ctrl_emu: Tidy implementation
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:43 +00:00
Wanhang LuandJakob Bornecrantz 6663636f52 xrt: Add names for hand based controller emulation
Co-authored-by: Jakob Bornecrantz <tbornecrantz@nvidia.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:42 +00:00
Jakob Bornecrantz d9fe8e9a08 ipc: Ensure that app/client ID is not zero or already in use
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:42 +00:00
Jakob Bornecrantz a320964a02 ipc: Avoid printing non-errors
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:42 +00:00
Jakob Bornecrantz 80f8afd8d9 ipc: Fix error checking macro
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:42 +00:00
Jakob Bornecrantz c04a216def u/sink: Fix conversion warning
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:42 +00:00
Jakob Bornecrantz d62c7d7c1e d/vp2: Fix newline warning [NFC]
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
2025-11-10 15:29:42 +00:00
hare_ware 38bb378552 doc: Document !2620
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2620>
2025-11-07 16:47:54 -05:00