Monado OpenXR Runtime
|
Main compositor written using Vulkan header. More...
#include "main/comp_settings.h"
#include "main/comp_window.h"
#include "main/comp_renderer.h"
#include "xrt/xrt_gfx_vk.h"
Go to the source code of this file.
Data Structures | |
struct | comp_swapchain_image |
A single swapchain image, holds the needed state for tracking image usage. More... | |
struct | comp_swapchain |
A swapchain that is almost a one to one mapping to a OpenXR swapchain. More... | |
struct | comp_compositor |
Main compositor struct tying everything in the compositor together. More... | |
Macros | |
#define | NUM_FRAME_TIMES 50 |
#define | COMP_SPEW(c, ...) |
Spew level logging. More... | |
#define | COMP_DEBUG(c, ...) |
Debug level logging. More... | |
#define | COMP_PRINT_MODE(c, ...) |
Mode printing. More... | |
#define | COMP_ERROR(c, ...) |
Error level logging. More... | |
Functions | |
struct xrt_swapchain * | comp_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_compositor_print (struct comp_compositor *c, const char *func, const char *fmt,...) XRT_PRINTF_FORMAT(3 |
Printer helper. More... | |
Main compositor written using Vulkan header.