Monado OpenXR Runtime
u_debug_gui.h File Reference

SDL2 Debug UI implementation. More...

#include "xrt/xrt_compiler.h"
Include dependency graph for u_debug_gui.h:

Go to the source code of this file.

Data Structures

struct  u_debug_gui_create_info
 Argument to the function u_debug_gui_create. More...
 

Macros

#define U_DEBUG_GUI_WINDOW_TITLE_MAX   (256)
 

Enumerations

enum  u_debug_gui_open { U_DEBUG_GUI_OPEN_AUTO , U_DEBUG_GUI_OPEN_ALWAYS , U_DEBUG_GUI_OPEN_NEVER }
 Controls if the debug gui window is opened, allowing code to always call create and progmatically or external control if the window is opened. More...
 

Functions

int u_debug_gui_create (const struct u_debug_gui_create_info *info, struct u_debug_gui **out_debug_gui)
 Creates the debug gui, may not create it. More...
 
void u_debug_gui_start (struct u_debug_gui *debug_gui, struct xrt_instance *xinst, struct xrt_system_devices *xsysd)
 Starts the debug gui, also passes in some structs that might be needed. More...
 
void u_debug_gui_stop (struct u_debug_gui **debug_gui)
 Stops the debug gui, closing the window and freeing resources. More...
 

Detailed Description