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

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

#include "xrt/xrt_compiler.h"
Include dependency graph for u_builder_search.h:

Go to the source code of this file.

Data Structures

struct  u_builder_search_filter
 A filter to match the against. More...
 
struct  u_builder_search_results
 Results of a search of devices. More...
 

Macros

#define U_BUILDER_SEARCH_MAX   (16)
 Max return of the number xrt_prober_device.
 

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