Monado OpenXR Runtime
Functions
comp_swapchain.c File Reference

Swapchain code for the main compositor. More...

#include <stdio.h>
#include <stdlib.h>
#include "util/u_misc.h"
#include "main/comp_compositor.h"
Include dependency graph for comp_swapchain.c:

Functions

struct xrt_swapchaincomp_swapchain_create (struct xrt_compositor *xc, enum xrt_swapchain_create_flags create, enum xrt_swapchain_usage_bits bits, int64_t format, uint32_t sample_count, uint32_t width, uint32_t height, uint32_t face_count, uint32_t array_size, uint32_t mip_count)
 A compositor function that is implemented in the swapchain code. More...
 
void comp_swapchain_image_cleanup (struct vk_bundle *vk, uint32_t array_size, struct comp_swapchain_image *image)
 Free and destroy any initialized fields on the given image, safe to pass in images that has one or all fields set to NULL. More...
 
void comp_swapchain_really_destroy (struct comp_swapchain *sc)
 Swapchain destruct is delayed until it is safe to destroy them, this function does the actual destruction and is called from comp_compositor_garbage_collect. More...
 

Detailed Description

Swapchain code for the main compositor.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m