Monado OpenXR Runtime
u_debug_gui.h
Go to the documentation of this file.
1 // Copyright 2019-2023, Collabora, Ltd.
2 // SPDX-License-Identifier: BSL-1.0
3 /*!
4  * @file
5  * @brief SDL2 Debug UI implementation
6  * @author Jakob Bornecrantz <jakob@collabora.com>
7  * @author Moses Turner <moses@collabora.com>
8  */
9 
10 #pragma once
11 
12 #include "xrt/xrt_compiler.h"
13 
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 struct xrt_instance;
20 struct xrt_system_devices;
21 
22 struct u_debug_gui;
23 
24 int
25 u_debug_gui_create(struct u_debug_gui **out_debug_gui);
26 
27 void
28 u_debug_gui_start(struct u_debug_gui *debug_gui, struct xrt_instance *xinst, struct xrt_system_devices *xsysd);
29 
30 void
31 u_debug_gui_stop(struct u_debug_gui **debug_gui);
32 
33 
34 #ifdef __cplusplus
35 }
36 #endif
This interface acts as a root object for Monado.
Definition: xrt_instance.h:67
A collection of xrt_device, and an interface for identifying the roles they have been assigned.
Definition: xrt_system.h:218
Header holding common defines.