Monado OpenXR Runtime
Data Structures | Functions
target_instance.c File Reference

Shared default implementation of the instance. More...

#include "xrt/xrt_prober.h"
#include "xrt/xrt_instance.h"
#include "xrt/xrt_gfx_fd.h"
#include "util/u_misc.h"
Include dependency graph for target_instance.c:

Data Structures

struct  t_instance
 

Functions

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. More...
 

Detailed Description

Shared default implementation of the instance.

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

Function Documentation

◆ xrt_instance_create()

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.

References t_instance::base, xrt_instance::select, U_TYPED_CALLOC, t_instance::xp, and xrt_prober_create().