Simon Zeni
920949ecae
doc: document !2053
...
Co-authored-by: Jakob Bornecrantz <jakob@collabora.com>
2023-11-26 14:03:52 +00:00
Jakob Bornecrantz
9070894455
ipc: Verify length of received commands on Windows
...
Co-authored-by: Simon Zeni <simon.zeni@collabora.com>
2023-11-26 14:03:52 +00:00
Simon Zeni
81246de70a
ipc: Read only the exact size of the ipc_command in client_loop on Linux
2023-11-26 13:45:21 +00:00
Simon Zeni
9b6eeb0bba
ipc: Add ipc_command_size function to prototype generation
2023-11-26 13:45:21 +00:00
Jakob Bornecrantz
13b2c1aa55
doc: Document !2054
2023-11-24 15:28:15 +00:00
Christoph Haag
e5060d166b
st/oxr: Fix build with XR_FB_display_refresh_rate disabled
2023-11-24 16:03:09 +01:00
Christoph Haag
c58f06f94c
ipc: Fix type warning
2023-11-24 16:03:09 +01:00
Jakob Bornecrantz
731cca48d4
doc: Document !2048
2023-11-21 21:58:16 +00:00
Jakob Bornecrantz
c197ba999f
st/oxr: Add support for reference space usage
2023-11-21 21:37:06 +00:00
Jakob Bornecrantz
a0a0f7cfa6
ipc: Add support for reference space usage
2023-11-21 21:37:06 +00:00
Jakob Bornecrantz
5a789ff623
u/space_overseer: Add support for reference space usage
2023-11-21 21:37:06 +00:00
Jakob Bornecrantz
d80036fd0e
xrt: Add reference space usage information
2023-11-20 22:05:34 +00:00
Jakob Bornecrantz
4fe85a0acc
xrt: Add LOCAL_FLOOR and UNBOUNDED generic space poses
2023-11-20 22:05:34 +00:00
Jakob Bornecrantz
c8662e07c4
doc: Document !2047
2023-11-20 22:02:06 +00:00
Jakob Bornecrantz
fffdfa1c4b
xrt: Refactor reference functions to be clearer
2023-11-20 22:02:06 +00:00
Jakob Bornecrantz
11ae300946
xrt: Tidy and improve docs in xrt_defines.h [NFC]
2023-11-20 22:02:06 +00:00
Jakob Bornecrantz
cae7f290e6
doc: Document !2052
2023-11-20 21:55:11 +00:00
Jakob Bornecrantz
a6d840b0b1
c/util: Fix leaks of image views in swapchain
...
This fixes a regression I introduced in !1417 .
2023-11-20 21:55:11 +00:00
Jakob Bornecrantz
add64c1531
c/util: Improve error paths in swapchain creation
2023-11-20 21:55:11 +00:00
Jakob Bornecrantz
c6a4f62e6c
c/util: Tidy comp_swapchain.c [NFC]
2023-11-20 21:55:11 +00:00
Jakob Bornecrantz
08cfc47d4c
doc: Document !2046
2023-11-20 21:40:33 +00:00
Jakob Bornecrantz
9ac135edce
ipc: Share per client thread shutdown code [NFC]
...
The two paths was already identical, so just make it one.
2023-11-20 21:40:14 +00:00
Jakob Bornecrantz
ef7d800e6f
doc: Document !2050
2023-11-20 18:10:04 +00:00
Jakob Bornecrantz
adc3fe879d
c/main: Guard VkQueue access when calling vkQueuePresentKHR
...
The VkQueue in vkQueuePresentKHR is externally synchronized, so we need
to take the queue_mutex when we call that function.
Found this with the [latest validation layers][1] and the OpenXR CTS test
Swapchains. This has probably been a longstanding bug in Monado as that
particular code is fairly old.
[1]: https://github.com/KhronosGroup/Vulkan-ValidationLayers/pull/6631
2023-11-20 18:09:53 +00:00
Jakob Bornecrantz
c3157335ef
c/main: A few more uses of VK_CHK helpers [NFC]
2023-11-20 18:03:10 +00:00
Jakob Bornecrantz
c7ec85cfd2
a/vk: Improve vk_print_result
2023-11-20 18:03:10 +00:00
Jakob Bornecrantz
75c0868f01
doc: Document !2051
2023-11-20 16:58:31 +00:00
Zhongwang Zhang
ccb9f957bf
st/oxr: Complete implementation of extension [XR_FB_display_refresh_rate]
2023-11-20 16:58:31 +00:00
Zhongwang Zhang
74df016dbf
ipc: Implement display refresh rate functions
2023-11-20 16:58:31 +00:00
Zhongwang Zhang
df07128590
c/multi: Implement display refresh rate functions
2023-11-20 16:58:31 +00:00
Zhongwang Zhang
a9017c8501
c/main: Implement display refresh rates function stubs
2023-11-20 16:58:31 +00:00
Zhongwang Zhang
195efff9ba
xrt: Add new API in xrt_compositor and xrt_multi_compositor_control interfaces
2023-11-20 16:58:31 +00:00
Zhongwang Zhang
f84bef916f
xrt: Add hz suffix, follow code style and add limit to refresh rate array
2023-11-20 16:58:23 +00:00
Jakob Bornecrantz
dbfc322e41
doc: Document !2049
2023-11-20 09:40:20 -05:00
Simon Zeni
8f6603d019
st/oxr: Implement XR_KHR_vulkan_swapchain_format_list
2023-11-20 09:40:20 -05:00
Jakob Bornecrantz
24ecd455ea
st/oxr: Track graphics extension used to create session
2023-11-20 09:40:20 -05:00
Simon Zeni
fb023e001a
a/vk: Use formats list from xrt_swapchain_create_info in create_image
2023-11-20 09:40:20 -05:00
Simon Zeni
2571ef8d57
xrt: Add formats list to xrt_swapchain_create_info
2023-11-18 12:30:58 +00:00
Simon Zeni
b727aa9df7
xrt: Use uint32_t instead of int64_t for swapchain format
2023-11-18 12:30:58 +00:00
Simon Zeni
afb12a4c5d
xrt: Fix graphics includes in xrt_openxr_includes
2023-11-18 12:30:54 +00:00
Jakob Bornecrantz
843cf98aeb
doc: Document !1417
2023-11-17 11:19:37 -06:00
Rylie Pavlik
8f380925b8
c/main: Handle return value
2023-11-17 11:19:37 -06:00
Rylie Pavlik
3ebac955a6
c/main: More propagate errors
2023-11-17 11:19:37 -06:00
Rylie Pavlik
a23cefd968
c/main: Fix duplicate include [NFC]
2023-11-17 11:19:37 -06:00
Rylie Pavlik
b3d4ee2186
c/util: Propagate some Vulkan errors
2023-11-17 11:19:37 -06:00
Rylie Pavlik
9e5c0d72e1
c/util: Make sure to zero array_size
...
Co-authored-by: Jakob Bornecrantz <jakob@collabora.com>
2023-11-17 11:19:37 -06:00
Jakob Bornecrantz
580ff4ceb8
c/util: Re-order functions in comp_swapchain.c [NFC]
2023-11-17 11:19:37 -06:00
Jakob Bornecrantz
ab3c7e99ff
c/util: Use vk_mini_helpers for image destruction
2023-11-17 11:19:37 -06:00
Rylie Pavlik
bafdd8ddbc
a/vk: Improve documentation for vulkan error handlers
2023-11-17 11:19:37 -06:00
Jakob Bornecrantz
5cea2bea2f
doc: Document !2044
2023-11-17 16:39:55 +00:00