Monado OpenXR Runtime
|
Vulkan image allocator helper. More...
#include "xrt/xrt_limits.h"
#include "xrt/xrt_config_os.h"
#include "xrt/xrt_vulkan_includes.h"
#include "vk/vk_helpers.h"
Go to the source code of this file.
Data Structures | |
struct | vk_image |
struct | vk_image_collection |
Functions | |
VkResult | vk_ic_allocate (struct vk_bundle *vk, const struct xrt_swapchain_create_info *xscci, uint32_t image_count, struct vk_image_collection *out_vkic) |
Allocates image(s) using the information specified in the swapchain create info. More... | |
VkResult | vk_ic_from_natives (struct vk_bundle *vk, const struct xrt_swapchain_create_info *xscci, struct xrt_image_native *native_images, uint32_t image_count, struct vk_image_collection *out_vkic) |
Imports and set images from the given FDs. More... | |
void | vk_ic_destroy (struct vk_bundle *vk, struct vk_image_collection *vkic) |
Free all images created on this image collection, doesn't free the struct itself so the caller needs to ensure that. More... | |
VkResult | vk_ic_get_handles (struct vk_bundle *vk, struct vk_image_collection *vkic, uint32_t max_handles, xrt_graphics_buffer_handle_t *out_handles) |
Get the native handles (FDs on desktop Linux) for the images, this is a all or nothing function. More... | |
Vulkan image allocator helper.