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

Inspect generated OpenXR binding templates and runtime registries. More...

#include "xrt/xrt_instance.h"
#include "util/u_pretty_print.h"
#include "actions/oxr_binding_profile.h"
#include "actions/oxr_binding_registry.h"
#include "actions/oxr_rebinding_profile.h"
#include "common/oxr_defines.h"
#include "oxr_logger.h"
#include "path/oxr_path_store.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for binding_inspector.c:

Functions

static void file_sink (void *ptr, const char *str, size_t length)
 
static u_pp_delegate_t file_delegate (FILE *file)
 
xrt_result_t xrt_instance_create (struct xrt_instance_info *ii, struct xrt_instance **out_xinst)
 
static void path_to_string (struct oxr_path_store *store, XrPath path, const char **out_str)
 
static void dump_binding_point (u_pp_delegate_t dg, struct oxr_path_store *store, const struct oxr_binding_point *point)
 
static bool path_is_in_list (const XrPath *paths, size_t path_count, XrPath path)
 
static void dump_priority_groups (u_pp_delegate_t dg, struct oxr_path_store *store, const struct oxr_binding_profile *profile)
 
static void dump_profile (u_pp_delegate_t dg, struct oxr_path_store *store, const struct oxr_binding_profile *profile, bool only_upgrades)
 
static void dump_rebindings (u_pp_delegate_t dg, struct oxr_path_store *store, const struct oxr_binding_registry *registry)
 
static void usage (const char *name)
 
int main (int argc, char **argv)
 

Detailed Description

Inspect generated OpenXR binding templates and runtime registries.