static bool u_allocation_collection_supports_property(const struct xrt_allocation_collection *xac, enum xrt_allocation_property prop)
Is prop in the supported properties of xac.
Definition u_allocation_collection.h:24
static bool u_allocation_collection_supports_type(const struct xrt_allocation_collection *xac, enum xrt_allocation_type type)
Is type in the supported allocation types of xac.
Definition u_allocation_collection.h:41
xrt_allocation_property
Allocation collection property, the properties that can be queried with the xrt_allocation_collection...
Definition xrt_allocation_collection.h:40
xrt_allocation_type
Allocation type, the types that the allocation collection can return from the xrt_allocation_collecti...
Definition xrt_allocation_collection.h:121
A collection of allocations, these can be images, buffers or general memory.
Definition xrt_allocation_collection.h:224
uint32_t supported_types_count
Number of supported allocation types.
Definition xrt_allocation_collection.h:267
struct xrt_allocation_collection::@241 supported_types[XRT_MAX_ALLOCATION_TYPE_COUNT]
Supported allocation types that can be queried from the get_all function.
uint32_t supported_properties_count
Number of supported properties.
Definition xrt_allocation_collection.h:251
struct xrt_allocation_collection::@240 supported_properties[XRT_MAX_ALLOCATION_PROPERTY_COUNT]
Supported properties that can be queried from the get_property function.