Monado OpenXR Runtime
Loading...
Searching...
No Matches
b_system.c File Reference

Helper to implement xrt_system. More...

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

Functions

static struct b_systemb_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 b_systemb_system_create (void)
 
bool b_system_init (struct b_system *bsys, void(*destroy_fn)(struct xrt_system *))
 
void b_system_fini (struct b_system *bsys)
 
void b_system_add_session (struct b_system *bsys, struct xrt_session *xs, struct xrt_session_event_sink *xses)
 
void b_system_remove_session (struct b_system *bsys, struct xrt_session *xs, struct xrt_session_event_sink *xses)
 
void b_system_broadcast_event (struct b_system *bsys, const union xrt_session_event *xse)
 
void b_system_set_system_compositor (struct b_system *bsys, struct xrt_system_compositor *xsysc)
 
void b_system_fill_properties (struct b_system *bsys, 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