Monado OpenXR Runtime
Data Fields
comp_settings Struct Reference

Settings for the compositor. More...

#include <main/comp_settings.h>

Data Fields

int display
 
VkFormat color_format
 
VkColorSpaceKHR color_space
 
VkPresentModeKHR present_mode
 
enum window_type window_type
 Window type to use. More...
 
enum xrt_distortion_model distortion_model
 Distortion type to use. More...
 
uint32_t width
 
uint32_t height
 
struct {
   bool   wireframe
 Display wireframe instead of solid triangles. More...
 
debug
 
bool fullscreen
 Not used with direct mode. More...
 
bool print_spew
 Should we debug print a lot! More...
 
bool print_debug
 Should we debug print. More...
 
bool print_modes
 Print information about available modes for direct mode. More...
 
bool flip_y
 Should we flip y axis for compositor buffers (for GL) More...
 
uint64_t nominal_frame_interval_ns
 Nominal frame interval. More...
 
bool validate_vulkan
 Enable vulkan validation for compositor. More...
 
int gpu_index
 Run the compositor on this Vulkan physical device. More...
 
int desired_mode
 Try to choose the mode with this index for direct mode. More...
 

Detailed Description

Settings for the compositor.

Field Documentation

◆ color_format

VkFormat comp_settings::color_format

◆ color_space

VkColorSpaceKHR comp_settings::color_space

◆ debug

struct { ... } comp_settings::debug

Referenced by comp_distortion_init().

◆ desired_mode

int comp_settings::desired_mode

Try to choose the mode with this index for direct mode.

◆ display

int comp_settings::display

◆ distortion_model

enum xrt_distortion_model comp_settings::distortion_model

Distortion type to use.

◆ flip_y

bool comp_settings::flip_y

Should we flip y axis for compositor buffers (for GL)

◆ fullscreen

bool comp_settings::fullscreen

Not used with direct mode.

◆ gpu_index

int comp_settings::gpu_index

Run the compositor on this Vulkan physical device.

◆ height

uint32_t comp_settings::height

◆ nominal_frame_interval_ns

uint64_t comp_settings::nominal_frame_interval_ns

Nominal frame interval.

◆ present_mode

VkPresentModeKHR comp_settings::present_mode

◆ print_debug

bool comp_settings::print_debug

Should we debug print.

◆ print_modes

bool comp_settings::print_modes

Print information about available modes for direct mode.

◆ print_spew

bool comp_settings::print_spew

Should we debug print a lot!

◆ validate_vulkan

bool comp_settings::validate_vulkan

Enable vulkan validation for compositor.

◆ width

uint32_t comp_settings::width

◆ window_type

enum window_type comp_settings::window_type

Window type to use.

◆ wireframe

bool comp_settings::wireframe

Display wireframe instead of solid triangles.

Referenced by comp_distortion_init().


The documentation for this struct was generated from the following file: