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

Prober device search helpers for xrt_builder implementations. More...

#include "xrt/xrt_compiler.h"
#include "xrt/xrt_prober.h"
#include "util/u_builder_search.h"
#include "util/u_misc.h"
Include dependency graph for u_builder_search.c:

Functions

struct xrt_prober_deviceu_builder_find_prober_device (struct xrt_prober_device *const *xpdevs, size_t xpdev_count, uint16_t vendor_id, uint16_t product_id, enum xrt_bus_type bus_type)
 Find the first xrt_prober_device in the prober list.
 
void u_builder_search (struct xrt_prober *xp, struct xrt_prober_device *const *xpdevs, size_t xpdev_count, const struct u_builder_search_filter *filters, size_t filter_count, struct u_builder_search_results *results)
 Find all of the xrt_prober_device that matches any in the given list of u_builder_search_filter filters.
 

Detailed Description

Prober device search helpers for xrt_builder implementations.

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