Monado OpenXR Runtime
u_system.c File Reference

Helper to implement xrt_system. More...

#include "xrt/xrt_compositor.h"
#include "os/os_threading.h"
#include "util/u_system.h"
#include "util/u_session.h"
#include "util/u_misc.h"
#include "util/u_logging.h"
#include <stdio.h>
Include dependency graph for u_system.c:

Functions

static struct u_systemu_system (struct xrt_system *xsys)
 
static xrt_result_t push_event (struct xrt_session_event_sink *xses, const union xrt_session_event *xse)
 
static xrt_result_t create_session (struct xrt_system *xsys, const struct xrt_session_info *xsi, struct xrt_session **out_xs, struct xrt_compositor_native **out_xcn)
 
static void destroy (struct xrt_system *xsys)
 
struct u_systemu_system_create (void)
 
void u_system_add_session (struct u_system *usys, struct xrt_session *xs, struct xrt_session_event_sink *xses)
 
void u_system_remove_session (struct u_system *usys, struct xrt_session *xs, struct xrt_session_event_sink *xses)
 
void u_system_broadcast_event (struct u_system *usys, const union xrt_session_event *xse)
 
void u_system_set_system_compositor (struct u_system *usys, struct xrt_system_compositor *xsysc)
 
void u_system_fill_properties (struct u_system *usys, const char *name)
 

Detailed Description

Helper to implement xrt_system.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m