Monado OpenXR Runtime
comp_window_peek.h File Reference

Displays the content of one or both eye onto a desktop window. More...

#include "xrt/xrt_config_have.h"
#include "os/os_threading.h"
Include dependency graph for comp_window_peek.h:

Go to the source code of this file.

Enumerations

enum  comp_window_peek_eye { COMP_WINDOW_PEEK_EYE_LEFT = 0 , COMP_WINDOW_PEEK_EYE_RIGHT = 1 , COMP_WINDOW_PEEK_EYE_BOTH = 2 }
 

Functions

struct comp_window_peekcomp_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...
 

Detailed Description

Displays the content of one or both eye onto a desktop window.

Author
Simon Zeni simon.nosp@m.@bl4.nosp@m.ckb0n.nosp@m.e.ca

Function Documentation

◆ comp_window_peek_get_eye()

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.

Parameters
[in]wThe peek window struct this compositor has.
Returns
The eye that the peek window wants to display.