74 return xinst->
select(xinst, xdevs, num_xdevs);
81 xrt_instance_create_fd_compositor(
struct xrt_instance *xinst,
Main compositor.
Definition: xrt_compositor.h:527
int(* create_fd_compositor)(struct xrt_instance *xinst, struct xrt_device *xdev, bool flip_y, struct xrt_compositor_fd **out_xcfd)
Creates a xrt_compositor_fd, should only be called once.
Definition: xrt_instance.h:47
The main prober that probes and manages found but not opened HMD devices that are connected to the sy...
Definition: xrt_prober.h:153
int(* select)(struct xrt_instance *xinst, struct xrt_device **xdevs, size_t num_xdevs)
Returns the devices of the system represented as xrt_device, see xrt_prober::select, should only be called once.
Definition: xrt_instance.h:40
int xrt_instance_create(struct xrt_instance **out_xinst)
Creating more then one xrt_instance is probably never the right thing to do, so avoid it...
Definition: target_instance.c:101
void(* destroy)(struct xrt_instance *xinst)
Use helper xrt_instance_destroy.
Definition: xrt_instance.h:63
Header holding common defines.
This object acts as a root object for Monado, it either wraps a xrt_prober or forms a connection to a...
Definition: xrt_instance.h:34
A single HMD or input device.
Definition: xrt_device.h:202
int(* get_prober)(struct xrt_instance *xinst, struct xrt_prober **out_xp)
Get the instance xrt_prober, the instance might not be using a xrt_prober and may return null...
Definition: xrt_instance.h:57