Monado OpenXR Runtime
target_builder_legacy.c File Reference

Fallback builder the old method of probing devices. More...

#include "xrt/xrt_config_drivers.h"
#include "xrt/xrt_prober.h"
#include "util/u_misc.h"
#include "util/u_device.h"
#include "util/u_builders.h"
#include "util/u_system_helpers.h"
#include "target_builder_interface.h"
#include <assert.h>
Include dependency graph for target_builder_legacy.c:

Functions

static xrt_result_t legacy_estimate_system (struct xrt_builder *xb, cJSON *config, struct xrt_prober *xp, struct xrt_builder_estimate *estimate)
 
static xrt_result_t legacy_open_system_impl (struct xrt_builder *xb, cJSON *config, struct xrt_prober *xp, struct xrt_tracking_origin *origin, struct xrt_system_devices *xsysd, struct xrt_frame_context *xfctx, struct u_builder_roles_helper *ubrh)
 
static void legacy_destroy (struct xrt_builder *xb)
 
struct xrt_buildert_builder_legacy_create (void)
 Builder used as a fallback for drivers not converted to builders yet. More...
 

Variables

static const char * driver_list []
 

Detailed Description

Fallback builder the old method of probing devices.

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

Function Documentation

◆ t_builder_legacy_create()

struct xrt_builder * t_builder_legacy_create ( void  )

Builder used as a fallback for drivers not converted to builders yet.

References u_builder::base, xrt_builder::estimate_system, and U_TYPED_CALLOC.