Commit graph

7389 commits

Author SHA1 Message Date
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
Rylie Pavlik 4bf07bf515 c/main: a->an
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2322>
2024-10-02 12:30:48 -05:00
Rylie Pavlik 78ce8b8f0e c/null: a->an
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2322>
2024-10-02 12:30:48 -05:00
Rylie Pavlik e91a6d7d6f c/util: a->an
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2322>
2024-10-02 12:30:48 -05:00
Rylie Pavlik a886c47c30 d/ulv2: a->an
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2322>
2024-10-02 12:30:48 -05:00
Rylie Pavlik e3d206f495 xrt: a -> an
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2322>
2024-10-02 12:30:48 -05:00
Rylie Pavlik 573493bcb3 st/oxr: a->an
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2322>
2024-10-02 12:30:48 -05:00
Rylie Pavlik 7d061ca7ca c/util: Improve docs for renderers substantially
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2322>
2024-10-02 12:30:48 -05:00
Rylie Pavlik 59b8b2dbae c/util: comp_base doc improvement
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2322>
2024-10-02 12:30:48 -05:00
Rylie Pavlik e585d7aa55 a/util: Fix doxygen warning
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2322>
2024-10-02 12:30:48 -05:00
Rylie Pavlik 3057eac229 xrt: Rename args to fix doxygen warning
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2322>
2024-10-02 12:30:48 -05:00
Rylie Pavlik 5b94723a7d a/util: Doxygen warning
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2322>
2024-10-02 12:30:48 -05:00
Rylie Pavlik db844a430e st/gui: Improve doxygen
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2322>
2024-10-02 12:30:48 -05:00
Rylie Pavlik 0628bb5b3b xrt: Minor doc fix
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2322>
2024-10-02 12:30:48 -05:00
Rylie Pavlik 3dc17a4801 st/gui: Fix doxygen warning
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2322>
2024-10-02 12:30:48 -05:00
Rylie Pavlik eeb20ee9eb c/util: Fix typo
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2322>
2024-10-02 12:30:47 -05:00
Simon Zeni 8520f9612e xrt: adapt drivers to new update_input api change
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2246>
2024-09-30 09:32:08 -04:00
Simon Zeni f51f37bb9f st/oxr: handle device update inputs result
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2246>
2024-09-30 09:32:07 -04:00