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

Helpers for xrt_tracking_origin. More...

#include "util/u_tracking_origin.h"
#include "xrt/xrt_device.h"
#include "util/u_logging.h"
#include "util/u_misc.h"
#include "util/u_pretty_print.h"
#include "util/u_tracking_origin_id.h"
#include <assert.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stdio.h>
Include dependency graph for u_tracking_origin.c:

Functions

static bool is_missing_id (const struct xrt_device *xdev)
 
void u_tracking_origin_init (struct xrt_tracking_origin *xto, enum xrt_tracking_type type, const char *fmt,...)
 
void u_tracking_origin_check_xdev (const struct xrt_device *xdev)
 Check that the tracking origin of the given device has an ID, logs an error and asserts if it doesn't.
 
void u_tracking_origin_check_xdevs (struct xrt_device *const *xdevs, size_t xdev_count)
 Check that the tracking origins of all of the given devices have an ID, logs a list of all of the devices that don't and then asserts.
 

Detailed Description