xrt_result_t vk_xac_create(struct vk_bundle *vk, struct vk_image_collection *vkic, struct xrt_allocation_collection **out_xac)
Creates a new xrt_allocation_collection that wraps a vk_image_collection.
Definition vk_image_collection.c:293
xrt_result_t vk_xac_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 xrt_allocation_collection backed by Vulkan images.
Definition vk_image_collection.c:207
xrt_result_t vk_xac_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)
Creates a new xrt_allocation_collection by importing native image handles.
Definition vk_image_collection.c:249
enum xrt_result xrt_result_t
Result type used across Monado.
A bundle of Vulkan functions and objects, used by both Compositor and Compositor client code.
Definition vk_helpers.h:82
Definition vk_image_allocator.h:36
A collection of allocations, these can be images, buffers or general memory.
Definition xrt_allocation_collection.h:224
A single image of a swapchain based on native buffer handles.
Definition xrt_compositor.h:2103
Swapchain creation info.
Definition xrt_compositor.h:883