Monado OpenXR Runtime
|
Displays the content of one or both eye onto a desktop window. More...
#include "main/comp_compositor.h"
#include "main/comp_target_swapchain.h"
#include "main/comp_window_peek.h"
#include "util/u_debug.h"
#include <SDL2/SDL_vulkan.h>
Data Structures | |
struct | comp_window_peek |
Macros | |
#define | PEEK_IMAGE_USAGE (VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT) |
Functions | |
static struct vk_bundle * | get_vk (struct comp_window_peek *w) |
static void | create_images (struct comp_window_peek *w) |
static void * | window_peek_run_thread (void *ptr) |
struct comp_window_peek * | comp_window_peek_create (struct comp_compositor *c) |
void | comp_window_peek_destroy (struct comp_window_peek **w_ptr) |
void | comp_window_peek_blit (struct comp_window_peek *w, VkImage src, int32_t width, int32_t height) |
enum comp_window_peek_eye | comp_window_peek_get_eye (struct comp_window_peek *w) |
Getter for the peek window's eye enum. More... | |
Displays the content of one or both eye onto a desktop window.
enum comp_window_peek_eye comp_window_peek_get_eye | ( | struct comp_window_peek * | w | ) |
Getter for the peek window's eye enum.
This is a getter function so that struct comp_window_peek can be private.
[in] | w | The peek window struct this compositor has. |