Commit graph

7406 commits

Author SHA1 Message Date
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
Rylie Pavlik 6e0a5355a3 c/util: improve includes
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2323>
2024-10-15 18:45:31 +00:00
Rylie Pavlik 75827a25bc c/render,c/main: Rename the render cleanup function for consistency
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2323>
2024-10-15 18:45:31 +00:00
Rylie Pavlik df2a05ce32 c/util: Share most add_view code.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2323>
2024-10-15 18:45:31 +00:00
Rylie Pavlik 6c73d381cc c/util: CS renderer improve consistency/similarity to GFX
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2323>
2024-10-15 18:45:31 +00:00
korejan 7ec043eef0 doc: Document !2337
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2337>
2024-10-13 18:52:13 +01:00
korejan 2c1a44d885 c/util: fixes android crash with slow/multi-layer graphics based pipeline
* Fixes crashes/vk validation errors when apps submit
  multiple layers or fast-path is explicitly disabled
  when using graphics based compositor pipeline
* Switches the default compositor pipeline with android builds
  from compute back to graphics
* Closes #381
* Does NOT fix #428

Thanks to @quic_yli25 for finding the issue.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2337>
2024-10-13 18:32:55 +01:00
korejan 545aced3f4 gradle: Fixes kotlin jvm version compile errors
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2337>
2024-10-13 18:30:04 +01:00
Bailey Morgan 8992376e6a cmake: Altered improper usage of MSVC to WIN32 to unblock building with clang on windows
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2335>
2024-10-10 16:33:03 -04:00
Rylie Pavlik d7089f182b c/client: Remove dead code.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2333>
2024-10-03 20:27:52 +00:00
Rylie Pavlik 11ddac8857 xrt: Clarify a comment regarding DXGI handles.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2333>
2024-10-03 20:27:52 +00:00
Rylie Pavlik 6cf15018dc c/util: Fix typo and clarify comment
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2333>
2024-10-03 20:27:52 +00:00
Rylie Pavlik 706f804677 a/vk: Fix typo and clarify comment
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2333>
2024-10-03 20:27:52 +00:00
Rylie Pavlik c26901f803 doc: Document !2322
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2322>
2024-10-02 12:30:48 -05:00
Rylie Pavlik 9248103efb c/render: add cross-refs
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2322>
2024-10-02 12:30:48 -05:00
Rylie Pavlik a39896fe2d doc: a->an
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2322>
2024-10-02 12:30:48 -05:00
Rylie Pavlik f00925ceee a/util: a->an
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2322>
2024-10-02 12:30:48 -05:00