Commit Graph
6312 Commits
Author SHA1 Message Date
Beyley Cardellio f4c29b8047 st/oxr: Add hydra pose to "suitable pose name" list
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2469>
2025-05-21 19:21:25 -07:00
Jakob Bornecrantz a4794055fb c/util: Ask for storage buffer 8bit access
If a compositor doesn't ask for VK_KHR_8bit_storage this feature bit
will not be set so it is safe to always ask for it.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2397>
2025-05-21 16:03:25 +00:00
Jakob Bornecrantz d085979924 a/vk: Expose storage_buffer_8bit_access device feature
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2397>
2025-05-21 16:03:25 +00:00
Jakob Bornecrantz 76055f649b a/vk: Track VK_KHR_8bit_storage
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2397>
2025-05-21 16:03:25 +00:00
Jakob Bornecrantz e689bd43c7 a/vk: Add missing features in print and sort
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2397>
2025-05-21 16:03:25 +00:00
Jakob Bornecrantz 3a99973a63 u/system: Rafactor u_system to be usable as a base class
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2398>
2025-05-20 14:26:17 +01:00
Jakob Bornecrantz e62c6a0a23 u/system: Add pragma once guard
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2398>
2025-05-20 14:26:17 +01:00
Beyley Cardellio 2a6932d46d a/vk: Fix compilation on latest Vulkan headers
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2464>
2025-05-14 03:16:44 -07:00
Jakob Bornecrantz 88588213b4 ipc: Add arguments to main function
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2400>
2025-05-08 09:29:32 -04:00
Jakob Bornecrantz 0f7c0399f4 u/debug_gui: Add options to create call
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2400>
2025-05-08 09:29:32 -04:00
Bones 9455eec8a6 ipc: Debounce the no client disconnection
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2462>
2025-05-07 14:06:32 +00:00
Bones fd228f1e77 ipc: allow runtime exit on no client connections
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2462>
2025-05-07 14:06:32 +00:00
Jakob Bornecrantz 67545a9a87 st/gui: Refactor out GUI state tracker into a re-usable base
Split the GUI state tracker into a base and the rest of the GUI that was used
to make the monado-gui project. This greatly reduces the number of dependancies
brought into a minimal gui target and as such makes it easier to re-use.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2399>
2025-05-06 17:03:44 +01:00
Jakob Bornecrantz 56d1abab71 st/gui: Do not call gui_prober_select in debug scene
Call it in the monado-gui thread, this was the only place it was used.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2399>
2025-05-06 17:02:23 +01:00
Jakob Bornecrantz 58be631353 u/debug_gui: Do not call gui_prober_update in runtime debug gui
The calling of this function is only needed for the debug gui used in
monado-gui target, not the one built into the runtime. This better simulates
drivers not getting called while no apps are connected.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2399>
2025-05-06 17:02:23 +01:00
Beyley Cardellio a7a63e61f1 ipc/server: Properly return ERROR_ALLOCATION in space_locate_spaces
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2463>
2025-05-06 07:20:47 -07:00
Beyley Cardellio 529e8d4f60 st/oxr: Implement FB_haptic_pcm
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2463>
2025-05-06 07:19:59 -07:00
Beyley Cardellio 791cb3778a a/util: Add audio resampler
Basic nearest neighbour audio resampling.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2463>
2025-04-30 18:08:53 -07:00
Beyley Cardellio 2ee5443835 st/gui: Support BC4 recording
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2457>
2025-04-25 19:23:53 +00:00
Beyley Cardellio b2836371b1 a/util: Support yuyv422 images in u_sink_combiner
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2457>
2025-04-25 19:23:53 +00:00
Beyley Cardellio 4b38d313d8 a/util: Add half scale frame sink
Useful for when you're dealing with a camera that's too high res you're trying to calibrate

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2457>
2025-04-25 19:23:53 +00:00
Beyley Cardellio aadd2eb875 a/util + xrt: Add BC4 image support
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2457>
2025-04-25 19:23:53 +00:00
Beyley Cardellio a56078e743 external: Add bcdec for BC4 decoding
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2457>
2025-04-25 19:23:53 +00:00
Beyley Cardellio 83f4422d8d a/util: Add optional file size output for u_file_read_content*
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2459>
2025-04-24 19:20:21 -07:00
Simon ZeniandChristoph Haag df047b54cc st/oxr: implement XR_EXT_plane_detection
Co-Authored-By: Christoph Haag <christoph.haag@collabora.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2439>
2025-04-22 11:39:45 +01:00
f4c1b6716a ipc: implement plane detection device functions
Co-Authored-By: Christoph Haag <christoph.haag@collabora.com>
Co-Authored-By: Korcan Hussein <korcan.hussein@collabora.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2439>
2025-04-22 11:39:12 +01:00
Simon ZeniandChristoph Haag 0eb9fd5db8 xrt: add plane detection functions to xrt_device
Co-Authored-By: Christoph Haag <christoph.haag@collabora.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2439>
2025-04-22 11:34:16 +01:00
Rylie Pavlik bcc60fb2a7 monado: Fix trailing whitespace.
Remove whitespace at end of line, make sure every file ends with a newline, etc.
2025-04-18 14:15:54 -05:00
Jakob Bornecrantz 9e91d17f30 a/ogl: Fix warning in ogl_import_from_native on Windows
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2454>
2025-04-18 09:41:06 -05:00
Jakob Bornecrantz 435648a475 c/util: Add C++ guards in render helpers
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2454>
2025-04-18 09:39:22 -05:00
Jakob Bornecrantz a4c55cbff4 st/prober: Fix warnings on Windows
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2454>
2025-04-18 09:39:22 -05:00
Jakob Bornecrantz 5d9697011b c/main: Improve warning print for VkSurfaceFormat mismatch
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2454>
2025-04-18 09:38:50 -05:00
Rylie Pavlik 90334cc40f external/openxr_includes: Update OpenXR headers from upstream release-1.1.47
OPENXR_REV_ID: 858912260ca616f4c23f7fb61c89228c353eb124
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2453>
2025-04-16 17:01:52 -05:00
Rylie Pavlik c80de9e7ca external/cjson: Update cJSON from upstream v1.7.15-33-gacc7623
CJSON_REV_ID: acc76239bee01d8e9c858ae2cab296704e52d916
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2448>
2025-04-10 15:13:34 -05:00
Rylie Pavlik fd7295e7d8 xrt: Appease newer codespell (in comment)
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2446>
2025-04-10 18:43:05 +00:00
Sapphire 6974924ca4 d/wmr: add Acer AH100 product definitions
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2445>
2025-04-10 10:49:33 -05:00
Korcan Hussein a9fd5e00ed st/oxr: fix vulkan validation error
Fixes validation about using 1.1 core spec
fn/types in a 1.0 instance where they are exts
for 1.0

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2443>
2025-04-09 11:01:13 +01:00
Simon Zeni e926230f34 a/util: rework sessions handling in u_system
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2440>
2025-04-06 20:46:48 -05:00
Simon Zeni b51ddbacf3 st/oxr: destroy system when destroying instance
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2423>
2025-04-03 17:13:24 -05:00
Simon Zeni 6af7ad9944 st/oxr: destroy dpad when destroying profiles
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2423>
2025-04-03 17:13:24 -05:00
Simon Zeni fdf4986a38 c/main: destroy all resources in comp_window_wayland
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2423>
2025-04-03 17:13:24 -05:00
Simon Zeni 9cde471182 a/util: free events at destroy in u_session
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2423>
2025-04-03 09:57:03 -04:00
Rylie Pavlik 0c2992ea79 Update jnipp from upstream v1.0.0-13-gcdd6293
JNIPP_REV_ID: cdd6293fca985993129f5ef5441709fc49ee507f
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2437>
2025-03-31 16:49:49 +00:00
Korcan Hussein ac248ea05c xrt: fix compiler warning messages in android builds
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2438>
2025-03-31 15:35:15 +01:00
Meng JiaoandKorcan Hussein 988d5c6932 d/android: Replace ALooper_pollAll with ALooper_pollOnce
Co-authored-by: Korcan Hussein <korcan.hussein@collabora.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2260>
2025-03-31 14:43:44 +01:00
Meng Jiao fe8ecf0a4a d/android: Reduce CPU usage
1. "ALooper_pollAll" sets the timeout to "max_wait_milliseconds".
2. Destroy the event queue when the thread exits.
3. Handle sensor sleep situation.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2260>
2025-03-31 14:42:46 +01:00
Rylie Pavlik d98fda64a8 c/multi: Comment cleanup
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2433>
2025-03-25 10:32:34 -05:00
Rylie Pavlik b5eccdf174 c/client: Comments in the EGL insert fence function
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2433>
2025-03-25 10:32:34 -05:00
Rylie Pavlik 5159759a5b c/null: Comment in layer commit about the sync handle
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2433>
2025-03-25 10:32:34 -05:00
Patrick Nicolas 4e22c990fd ipc: Initialize hmd data from static role
Make sure the xdev used to read the hmd part is the one from head static
role. This fixes issues in case more than one hmd is available.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2427>
2025-03-03 14:45:53 +00:00