|
Monado OpenXR Runtime
|
Resolve suggested profiles for a device. More...
#include "util/u_misc.h"#include "util/u_pretty_print.h"#include "oxr_binding_registry.h"#include "oxr_binding_profile.h"#include "oxr_rebinding_profile.h"#include "oxr_resolver_for_profiles.h"#include "oxr_suggested_profile.h"#include "../oxr_logger.h"#include "../oxr_objects.h"
Functions | |
| static void | log_resolver_info (struct oxr_sink_logger *slog, const struct oxr_profile_resolver_info *info) |
| static void | fill_binding_profiles (struct oxr_sink_logger *slog, const struct oxr_binding_registry *registry, const struct oxr_suggested_profile *profile, const struct oxr_rebinding_profile *rebinding_profile, const struct xrt_binding_profile *xbp, struct oxr_profile_resolver_info *info) |
| static bool | try_resolve_with_device_name (struct oxr_sink_logger *slog, const struct oxr_binding_registry *registry, const struct oxr_suggested_profile_array *suggested_profiles, struct xrt_device *xdev, enum xrt_device_name device_name, struct oxr_profile_resolver_info *info) |
| static bool | try_resolve_with_xdev (struct oxr_sink_logger *slog, const struct oxr_binding_registry *registry, const struct oxr_suggested_profile_array *suggested_profiles, struct xrt_device *xdev, struct oxr_profile_resolver_info *info) |
| void | oxr_resolver_populate_profile (struct oxr_logger *log, struct oxr_sink_logger *slog, const struct oxr_binding_registry *registry, const struct oxr_suggested_profile_array *suggested_profiles, struct xrt_device *xdev, enum xrt_device_name override_device_name, struct oxr_profile_resolver_info *info) |
| Resolve the binding information for a given device. | |
Resolve suggested profiles for a device.
| void oxr_resolver_populate_profile | ( | struct oxr_logger * | log, |
| struct oxr_sink_logger * | slog, | ||
| const struct oxr_binding_registry * | registry, | ||
| const struct oxr_suggested_profile_array * | suggested_profiles, | ||
| struct xrt_device * | xdev, | ||
| enum xrt_device_name | override_device_name, | ||
| struct oxr_profile_resolver_info * | info | ||
| ) |
Resolve the binding information for a given device.
| log | Logger, must not be NULL. |
| slog | Sink logger, must not be NULL. |
| registry | Binding registry, must not be NULL. |
| suggested_profiles | Suggested profiles, must not be NULL. |
| xdev | Device, must not be NULL. |
| override_device_name | Profile name to prefer before xdev->name, can be XRT_DEVICE_INVALID. |
| info | Binding information, must not be NULL. |
References xrt_device::name, and U_ZERO.