Monado OpenXR Runtime
Loading...
Searching...
No Matches
u_frameserver.h
Go to the documentation of this file.
1// Copyright 2026, Beyley Cardellio
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief Misc helpers for @ref xrt_fs implementations.
6 * @author Beyley Cardellio <ep1cm1n10n123@gmail.com>
7 * @ingroup aux_util
8 */
9
10#pragma once
11
12#include "xrt/xrt_frameserver.h"
13
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19
20/*!
21 * Populate the frameserver's function pointers with default implementations.
22 *
23 * Fills in all frameserver function pointers with not-implemented versions,
24 * allowing implementations to override only the functions they implement.
25 *
26 * @param[in,out] xfs Pointer to the frameserver to populate.
27 * @ingroup aux_util
28 */
29void
31
32
33#ifdef __cplusplus
34}
35#endif
void u_frameserver_populate_function_pointers(struct xrt_fs *xfs)
Populate the frameserver's function pointers with default implementations.
Definition u_frameserver.c:17
Frameserver that generates frames.
Definition xrt_frameserver.h:72
Frameserver interface for video drivers.