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

Auxiliary allocation collection helpers. More...

Include dependency graph for a_allocator.c:

Functions

xrt_result_t a_allocator_allocate (struct vk_bundle *vk, const struct xrt_swapchain_create_info *xscci, uint32_t image_count, struct xrt_allocation_collection **out_xac)
 Allocates a new allocation collection for the given swapchain create info.
 
xrt_result_t a_allocator_import_from_native_images (struct vk_bundle *vk, const struct xrt_swapchain_create_info *xscci, struct xrt_image_native *native_images, uint32_t image_count, struct xrt_allocation_collection **out_xac)
 Imports native images into a new allocation collection.
 
xrt_result_t a_allocator_ensure_vk_images (struct vk_bundle *vk, struct xrt_allocation_collection *xac, struct xrt_allocation_collection **out_xac)
 Ensures the allocation collection supports retrieving VkImages.
 

Detailed Description

Auxiliary allocation collection helpers.

Author
Jakob Bornecrantz tborn.nosp@m.ecra.nosp@m.ntz@n.nosp@m.vidi.nosp@m.a.com