Monado OpenXR Runtime
|
Hacky SDL integration. More...
#include "xrt/xrt_instance.h"
#include "xrt/xrt_config_have.h"
#include "util/u_var.h"
#include "util/u_misc.h"
#include "util/u_debug.h"
#include "os/os_threading.h"
Functions | |
int | oxr_sdl2_hack_create (void **out_hack) |
void | oxr_sdl2_hack_start (void *hack, struct xrt_instance *xinst) |
void | oxr_sdl2_hack_stop (void **hack) |
Hacky SDL integration.
int oxr_sdl2_hack_create | ( | void ** | out_hack | ) |
Referenced by oxr_sdl2_hack_stop().
void oxr_sdl2_hack_start | ( | void * | hack, |
struct xrt_instance * | xinst | ||
) |
Referenced by oxr_sdl2_hack_stop().
void oxr_sdl2_hack_stop | ( | void ** | hack | ) |
References xrt_colour_rgb_f32::b, sdl2_program::base, gui_imgui::clear, sdl2_program::ctx, DEBUG_GET_ONCE_BOOL_OPTION(), xrt_colour_rgb_f32::g, gui_prober_update(), gui_scene_debug(), gui_scene_manager_destroy(), gui_scene_manager_init(), gui_scene_manager_render(), oxr_sdl2_hack_create(), oxr_sdl2_hack_start(), xrt_colour_rgb_f32::r, sdl2_program::sdl_initialized, gui_imgui::show_demo_window, gui_program::stopped, U_TYPED_CALLOC, u_var_add_root(), u_var_force_on(), u_var_remove_root(), and sdl2_program::win.