The open source OpenXR runtime
0
fork

Configure Feed

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

d/remote: Take broadcast event sink to create devices

+11 -4
+4 -1
src/xrt/drivers/remote/r_hub.c
··· 401 401 */ 402 402 403 403 xrt_result_t 404 - r_create_devices(uint16_t port, struct xrt_system_devices **out_xsysd, struct xrt_space_overseer **out_xso) 404 + r_create_devices(uint16_t port, 405 + struct xrt_session_event_sink *broadcast, 406 + struct xrt_system_devices **out_xsysd, 407 + struct xrt_space_overseer **out_xso) 405 408 { 406 409 struct r_hub *r = U_TYPED_CALLOC(struct r_hub); 407 410 int ret;
+6 -2
src/xrt/drivers/remote/r_interface.h
··· 1 - // Copyright 2020-2022, Collabora, Ltd. 1 + // Copyright 2020-2023, Collabora, Ltd. 2 2 // SPDX-License-Identifier: BSL-1.0 3 3 /*! 4 4 * @file ··· 20 20 21 21 struct xrt_system_devices; 22 22 struct xrt_space_overseer; 23 + struct xrt_session_event_sink; 23 24 24 25 /*! 25 26 * @defgroup drv_remote Remote debugging driver ··· 137 138 * @ingroup drv_remote 138 139 */ 139 140 xrt_result_t 140 - r_create_devices(uint16_t port, struct xrt_system_devices **out_xsysd, struct xrt_space_overseer **out_xso); 141 + r_create_devices(uint16_t port, 142 + struct xrt_session_event_sink *broadcast, 143 + struct xrt_system_devices **out_xsysd, 144 + struct xrt_space_overseer **out_xso); 141 145 142 146 /*! 143 147 * Initializes and connects the connection.
+1 -1
src/xrt/targets/common/target_builder_remote.c
··· 88 88 port = 4242; 89 89 } 90 90 91 - return r_create_devices(port, out_xsysd, out_xso); 91 + return r_create_devices(port, broadcast, out_xsysd, out_xso); 92 92 } 93 93 94 94 static void