The open source OpenXR runtime
0
fork

Configure Feed

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

xrt: Add new result codes

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

authored by

Jakob Bornecrantz and committed by
Marge Bot
62a0a874 6047cb25

+20
+3
src/xrt/auxiliary/util/u_pretty_print.c
··· 225 225 case XRT_ERROR_INPUT_UNSUPPORTED: DG("XRT_ERROR_INPUT_UNSUPPORTED"); return; 226 226 case XRT_ERROR_OUTPUT_UNSUPPORTED: DG("XRT_ERROR_OUTPUT_UNSUPPORTED"); return; 227 227 case XRT_ERROR_OUTPUT_REQUEST_FAILURE: DG("XRT_ERROR_OUTPUT_REQUEST_FAILURE"); return; 228 + case XRT_ERROR_SYNC_PRIMITIVE_CREATION_FAILED: DG("XRT_ERROR_SYNC_PRIMITIVE_CREATION_FAILED"); return; 229 + case XRT_ERROR_IPC_SERVICE_ALREADY_RUNNING: DG("XRT_ERROR_IPC_SERVICE_ALREADY_RUNNING"); return; 230 + case XRT_ERROR_IPC_MAINLOOP_FAILED_TO_INIT: DG("XRT_ERROR_IPC_MAINLOOP_FAILED_TO_INIT"); return; 228 231 } 229 232 // clang-format on 230 233
+17
src/xrt/include/xrt/xrt_results.h
··· 1 1 // Copyright 2020-2023, Collabora, Ltd. 2 + // Copyright 2024-2025, NVIDIA CORPORATION. 2 3 // SPDX-License-Identifier: BSL-1.0 3 4 /*! 4 5 * @file ··· 214 215 * The requested operation failed, verify the log to know more. 215 216 */ 216 217 XRT_ERROR_OUTPUT_REQUEST_FAILURE = -35, 218 + 219 + /*! 220 + * Failed to create a sync primitive like mutex. 221 + */ 222 + XRT_ERROR_SYNC_PRIMITIVE_CREATION_FAILED = -36, 223 + 224 + /*! 225 + * The IPC server detected that a service was already running and 226 + * couldn't start because of that. 227 + */ 228 + XRT_ERROR_IPC_SERVICE_ALREADY_RUNNING = -37, 229 + 230 + /*! 231 + * The IPC server couldn't starts it mainloop. 232 + */ 233 + XRT_ERROR_IPC_MAINLOOP_FAILED_TO_INIT = -38, 217 234 } xrt_result_t;