|
Monado OpenXR Runtime
|
Auxiliary allocation collection helpers. More...
#include "xrt/xrt_allocation_collection_native.h"#include "xrt/xrt_allocation_collection_vk.h"#include "util/u_handles.h"#include "vk/vk_helpers.h"#include "vk/vk_image_collection.h"#include "a_allocator.h"
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. | |
Auxiliary allocation collection helpers.