The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

xrt: Mark support for fovMutable

This is supported and works in all cases except for when ATW is disabled.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2553>

+6 -1
+2
src/xrt/compositor/main/comp_compositor.c
··· 1106 1106 sys_info->client_vk_deviceUUID = c->settings.client_gpu_deviceUUID; 1107 1107 sys_info->client_d3d_deviceLUID = c->settings.client_gpu_deviceLUID; 1108 1108 sys_info->client_d3d_deviceLUID_valid = c->settings.client_gpu_deviceLUID_valid; 1109 + // @note If timewarp is disabled this is not supported. 1110 + sys_info->supports_fov_mutable = true; 1109 1111 1110 1112 // clang-format off 1111 1113 uint32_t view_count = xdev->hmd->view_count;
+3
src/xrt/include/xrt/xrt_compositor.h
··· 2348 2348 2349 2349 //! Whether @ref client_d3d_deviceLUID is valid 2350 2350 bool client_d3d_deviceLUID_valid; 2351 + 2352 + //! Whether submitting projection layers of a differing FOV from the target FOV is supported. 2353 + bool supports_fov_mutable; 2351 2354 }; 2352 2355 2353 2356 struct xrt_system_compositor;
+1 -1
src/xrt/state_trackers/oxr/oxr_system.c
··· 597 597 } 598 598 599 599 configurationProperties->viewConfigurationType = sys->view_config_type; 600 - configurationProperties->fovMutable = XR_FALSE; 600 + configurationProperties->fovMutable = sys->xsysc->info.supports_fov_mutable; 601 601 602 602 return XR_SUCCESS; 603 603 }