Monado OpenXR Runtime
|
Helper implementation for native compositors. More...
#include "util/u_native_images_debug.h"
#include "vk/vk_helpers.h"
#include "render/render_interface.h"
Go to the source code of this file.
Data Structures | |
struct | comp_scratch_indices |
Small helper struct to deal with indices. More... | |
struct | comp_scratch_single_images |
Holds scratch images for a single view, designed to work with render code. More... | |
struct | comp_scratch_stereo_images |
Holds scartch images for a stereo views, designed to work with render code. More... | |
Macros | |
#define | COMP_SCRATCH_NUM_IMAGES (4) |
The number of images for each view, works like a swapchain. More... | |
Functions | |
void | comp_scratch_stereo_images_init (struct comp_scratch_stereo_images *cssi) |
bool | comp_scratch_stereo_images_ensure (struct comp_scratch_stereo_images *cssi, struct vk_bundle *vk, VkExtent2D extent) |
void | comp_scratch_stereo_images_free (struct comp_scratch_stereo_images *cssi, struct vk_bundle *vk) |
void | comp_scratch_stereo_images_get (struct comp_scratch_stereo_images *cssi, uint32_t *out_index) |
void | comp_scratch_stereo_images_done (struct comp_scratch_stereo_images *cssi) |
void | comp_scratch_stereo_images_discard (struct comp_scratch_stereo_images *cssi) |
void | comp_scratch_stereo_images_clear_debug (struct comp_scratch_stereo_images *cssi) |
void | comp_scratch_stereo_images_destroy (struct comp_scratch_stereo_images *cssi) |
Helper implementation for native compositors.
#define COMP_SCRATCH_NUM_IMAGES (4) |
The number of images for each view, works like a swapchain.