Commit graph

7422 commits

Author SHA1 Message Date
Charlton Rodda d569c0d27c a/bindings: Include requirements of parent profile
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2364>
2024-12-05 22:22:42 +00:00
Charlton Rodda 823047e2db a/bindings: Fix extra tabs in generated code
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2364>
2024-12-05 22:22:42 +00:00
Christoph Haag 0ad8c7441d a/bindings: Add distinct device enums for touch variants
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2356>
2024-12-03 18:22:50 +00:00
Beyley Thomas aa2b0f9f1d st/oxr: Implement the EXT_active_action_set_priority extension
This is required for proper action set priority emulation in OpenComposite.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2370>
2024-11-29 18:12:32 -08:00
Korcan Hussein faf0aafbd4 doc: Document !2352
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2352>
2024-11-21 10:57:01 +00:00
Korcan Hussein 5fb1a02575 xrt: Fixes #411, KHR_vulkan_swapchain_format_list not enabled client-side
* Fixes VK_KHR_image_format_list not being added to
  extension lists or not enabling flags on
  client-side vk_bundle / vk client compositor.

* Fixes missing extension VK_KHR_image_format_list to
  the vulkan device extension list for XR_KHR_vulkan_enable

* Fixes format lists for KHR_vulkan_swapchain_format_list
  not be used/applied on client vk images.

* Fixes vulkan validation errors on client that attempt
  to use & chain format lists for image view creation
  outside of OpenXR / runtime

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2352>
2024-11-21 10:57:01 +00:00
Korcan Hussein b4fe9aaa56 aux/vk: Fixes #410, mutable format bit not set on client vk images
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2352>
2024-11-21 10:57:01 +00:00
Korcan Hussein affc6036bb doc: Document !2347
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2347>
2024-11-20 17:15:34 +00:00
Rylie Pavlik 32b695433d a/vk: Remove unneeded warning
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2347>
2024-11-20 17:15:34 +00:00
korejan 3d6b272ee0 aux/d3d,c/client: fix d3d12 "zero size" swapchain error
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2347>
2024-11-20 17:15:34 +00:00
Simon Zeni 6a26019aba xrt: adapt driver to new get_tracked_pose api change
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2271>
2024-11-19 15:39:57 -05:00
Simon Zeni d13a36beec u/logging: add U_LOG_XDEV_UNSUPPORTED_INPUT macro
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2271>
2024-11-19 15:39:57 -05:00
Simon Zeni e113b532b6 xrt: introduce XRT_ERROR_INPUT_UNSUPPORTED
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2271>
2024-11-19 15:39:57 -05:00
Simon Zeni 0caec59967 ipc: return get tracked pose result in server handle
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2271>
2024-11-19 15:33:49 -05:00
Simon Zeni 177f34c8f0 xrt: xrt_device_get_tracked_pose return xrt_result_t
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2271>
2024-11-19 15:33:47 -05:00
Simon Zeni 1473430eef xrt: remove function pointer check
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2271>
2024-11-19 15:32:17 -05:00
Rylie Pavlik 31fdb0bcd0 a/util: Add assert to catch this bug more conveniently.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2358>
2024-11-13 16:58:26 -06:00
Rylie Pavlik e052834399 t/sdl_test: Fix SDL service
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2358>
2024-11-13 11:19:11 -06:00
Rylie Pavlik 0ca2ddd914 st/oxr: Fix crash getting ref space bounds in headless mode
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2354>
2024-11-12 17:27:59 +00:00
Rylie Pavlik e8074ec333 ext: Update to OpenXR 1.1.42 headers
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2353>
2024-11-08 11:39:59 -06:00
Rylie Pavlik 3c7979d1d9 doc: Document !2342
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2342>
2024-11-08 11:32:18 -06:00
Rylie Pavlik a4406fbf04 st/oxr: Fix missing forward declarations/includes
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2342>
2024-11-08 11:22:58 -06:00
Rylie Pavlik ef93956c75 c/util: Clean up init
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2342>
2024-11-08 11:22:33 -06:00
Rylie Pavlik 97c7032850 t/sdl_test: Clean up init
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2342>
2024-11-08 11:22:33 -06:00
Rylie Pavlik d2890ad393 c/null: Clean up init
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2342>
2024-11-08 11:22:33 -06:00
Rylie Pavlik c9493d6757 c/main: Clean up init
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2342>
2024-11-08 11:22:33 -06:00
Rylie Pavlik 23038a9cad c/null: Small Cleanups
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2342>
2024-11-08 11:22:33 -06:00
Rylie Pavlik 91de043eb6 c/null: Show using get_view_poses
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2342>
2024-11-08 11:22:33 -06:00
Rylie Pavlik be66528d03 st/oxr: Re-generate code for extension support.
Looks like some manual editing was done.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2342>
2024-11-08 11:22:33 -06:00
Rylie Pavlik 3b74c520ed doc: Clean up changelog fragments
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2342>
2024-11-08 11:22:33 -06:00
Rylie Pavlik 15eee8070c doc: Document !2298
Changelog fragment accidentally never added to a commit,
just sitting here untracked this whole time.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2342>
2024-11-08 11:22:33 -06:00
Rylie Pavlik 549a81b4d7 xrt: Fix typo
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2342>
2024-11-08 11:22:33 -06:00
Rylie Pavlik 89725704ef doc: Fix typo
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2342>
2024-11-08 11:22:33 -06:00
Rylie Pavlik e66bd5daf8 scripts: Update codespell ignore regex
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2342>
2024-11-08 11:22:33 -06:00
Patrick Nicolas 8aea7b8691 u/space_overseer: allow single local space
u_space_overseer by default creates a local/local_floor pair for each
application and can't recenter them.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2351>
2024-11-08 14:59:49 +00:00
Rylie Pavlik ee2ddead2e st/oxr: Fix one place that was checking for session running in a weird way.
Techincally "session running" depends entirely on what calls
have been made, and not on the session state events that were
polled.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2344>
2024-11-07 21:12:58 +00:00
Yulou Liu 3b232b745f st/oxr: Add synchronization primitive that handles session-running-status and blocking of wait frame
rpavlik: Fixes, rename
rpavlik: Add is_session_running

Co-authored-by: Rylie Pavlik <rylie.pavlik@collabora.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2344>
2024-11-07 21:12:58 +00:00
Charlton Rodda ce3a05851d Go back to using COMMON as fallback state
RENDER_TARGET requires a bit to be set, but COMMON doesn't
(this also matches hardcoded before states elsewhere)

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2349>
2024-11-06 23:25:41 +00:00
Rylie Pavlik 7a4ba078d9 a/vk: Add/update comments
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2332>
2024-11-05 12:59:08 -06:00
Simon Zeni 869054403f aux/vk: respect VUID-VkMemoryAllocateInfo-pNext-01874 in create_image
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2332>
2024-11-05 12:59:08 -06:00
Simon Zeni 241b4c6a80 aux/vk: skip image size check for d3d11 and d3d12 in vk_create_image_from_native
Co-authored-by: Rylie Pavlik <rylie.pavlik@collabora.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2332>
2024-11-04 13:15:38 -06:00
Simon Zeni cf9fe1716e aux/vk: check image size not 0, when appropriate, in vk_create_image_from_native
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2332>
2024-11-04 13:15:15 -06:00
Simon Zeni 22313d4c9a aux/vk: skip image size check for android in vk_create_image_from_native
Co-authored-by: Rylie Pavlik <rylie.pavlik@collabora.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2332>
2024-11-04 13:15:04 -06:00
Simon Zeni c6c7a0047c c/main: pick composite alpha from surface caps in swapchain creation
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2332>
2024-11-04 13:08:25 -06:00
Simon Zeni a944cfdcf4 aux/vk: check EXT_debug_utils loaded function before enabling support
Co-authored-by: Rylie Pavlik <rylie.pavlik@collabora.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2332>
2024-11-04 13:08:18 -06:00
Aleksander cef70d03ca xrt: Bump overlay limit from 16 to 128
Based on my tests, there's virtually no difference in CPU and GPU
performance even when increasing RENDER_MAX_LAYERS to 1024.
For now, a value of 128 should be sufficient for everyone.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2341>
2024-10-30 18:26:41 +01:00
Bones 24ccb5cdc8 doc: Document !2340
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2340>
2024-10-29 16:10:54 -05:00
othello7 12c51b7075 a/util: increase thumb openness state of sim hand
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2340>
2024-10-29 16:10:50 -05:00
rcelyte 97733c019a d/steamvr_lh: fix laggy simulated hand tracking
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2340>
2024-10-29 16:10:11 -05:00
Sefa Eyeoglu d2fbd3ce8d a/bindings: improve reproducibility of bindings generation
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2338>
2024-10-21 17:28:47 +02:00