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
Jakob Bornecrantz
d28e647744
st/oxr: Make debug utils forcible
...
And don't always turn it on for XR_KHR_vulkan_enable, as it would
result in crashes on old Vulkan drivers (like those on Pixel 3).
2023-11-17 16:39:55 +00:00
Simon Zeni
e292e9941f
doc: Document !2045
2023-11-16 15:37:15 +00:00
Simon Zeni
0144a0ad76
cmake: fix library path in openxr json manifest
2023-11-16 10:22:27 -05:00
Jakob Bornecrantz
8835859e57
doc: Document !2031
2023-11-16 14:09:07 +00:00
Rylie Pavlik
ced3978e48
ci: Add Alpine Linux build
...
Co-authored-by: Simon Zeni <simon.zeni@collabora.com>
2023-11-16 14:07:03 +00:00
Simon Zeni
0fe8737ec5
cmake: Fix build with SDL2 on Alpine Linux
...
Co-authored-by: Jakob Bornecrantz <jakob@collabora.com>
Co-authored-by: Rylie Pavlik <rylie.pavlik@collabora.com>
2023-11-16 14:06:54 +00:00
Rylie Pavlik
a349b757a7
doc: Document !2040
2023-11-16 13:34:52 +00:00
Rylie Pavlik
c4e81d3b7c
cmake: Update cmake modules from upstream collection.
...
Upstream is https://github.com/rpavlik/cmake-modules
2023-11-16 13:34:52 +00:00
Jakob Bornecrantz
e6d54689f9
doc: Document !2038
2023-11-16 00:17:39 +00:00
Jakob Bornecrantz
7e8d35a1a8
st/oxr: Use function helper [NFC]
2023-11-16 00:17:39 +00:00
Jakob Bornecrantz
3060690cbe
d/ohmd: Tidy includes [NFC]
2023-11-16 00:17:39 +00:00
Jakob Bornecrantz
37e46a9083
d/ohmd: Fix warnings [NFC]
2023-11-16 00:17:39 +00:00
Jakob Bornecrantz
28315ecdc4
d/vive: Follow common naming of update_inputs [NFC]
2023-11-16 00:17:39 +00:00
Jakob Bornecrantz
b02645980b
d/wmr: Follow common naming of update_inputs [NFC]
2023-11-16 00:17:39 +00:00
Jakob Bornecrantz
c8bb2009f2
xrt: Tidy xrt_device [NFC]
2023-11-16 00:17:39 +00:00