Monado OpenXR Runtime
target_builder_wmr.c File Reference

Windows Mixed Reality driver driver builder. More...

#include "xrt/xrt_config_drivers.h"
#include "xrt/xrt_prober.h"
#include "util/u_misc.h"
#include "util/u_debug.h"
#include "util/u_logging.h"
#include "util/u_builders.h"
#include "util/u_config_json.h"
#include "util/u_pretty_print.h"
#include "util/u_space_overseer.h"
#include "util/u_system_helpers.h"
#include "target_builder_interface.h"
#include "wmr/wmr_common.h"
#include "wmr/wmr_interface.h"
#include <assert.h>
Include dependency graph for target_builder_wmr.c:

Functions

static void print_hmd (u_pp_delegate_t dg, const char *prefix, enum wmr_headset_type type, struct xrt_prober_device *xpdev_holo, struct xrt_prober_device *xpdev_companion)
 
static void print_ctrl (u_pp_delegate_t dg, const char *prefix, struct xrt_prober_device *xpdev)
 
static xrt_result_t wmr_estimate_system (struct xrt_builder *xb, cJSON *config, struct xrt_prober *xp, struct xrt_builder_estimate *out_estimate)
 
static xrt_result_t wmr_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 wmr_destroy (struct xrt_builder *xb)
 
struct xrt_buildert_builder_wmr_create (void)
 Builder for Windows Mixed Reality headsets. More...
 

Variables

static const char * driver_list []
 

Detailed Description

Function Documentation

◆ t_builder_wmr_create()

struct xrt_builder * t_builder_wmr_create ( void  )

Builder for Windows Mixed Reality headsets.

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

Variable Documentation

◆ driver_list

const char* driver_list[]
static
Initial value:
= {
"wmr",
}