The open source OpenXR runtime

ipc: Add a way to get space id in client

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

authored by Jakob Bornecrantz and committed by Marge Bot 6630647a 23558880

Changed files
+12
src
+3
src/xrt/ipc/client/ipc_client.h
··· 145 145 struct xrt_space_overseer * 146 146 ipc_client_space_overseer_create(struct ipc_connection *ipc_c); 147 147 148 + uint32_t 149 + ipc_client_space_get_id(struct xrt_space *space); 150 + 148 151 struct ipc_client_system_devices * 149 152 ipc_client_system_devices_create(struct ipc_connection *ipc_c); 150 153
+9
src/xrt/ipc/client/ipc_client_space_overseer.c
··· 1 1 // Copyright 2023, Collabora, Ltd. 2 + // Copyright 2025, NVIDIA CORPORATION. 2 3 // SPDX-License-Identifier: BSL-1.0 3 4 /*! 4 5 * @file ··· 395 396 396 397 return &icspo->base; 397 398 } 399 + 400 + uint32_t 401 + ipc_client_space_get_id(struct xrt_space *space) 402 + { 403 + assert(space != NULL); 404 + 405 + return ipc_client_space(space)->id; 406 + }