29 "HTC Corporation HTC-VIVE",
30 "HTC Corporation VIVE Pro",
31 "Oculus VR Inc. Rift",
32 "Valve Corporation Index HMD",
VkColorSpaceKHR color_space
Definition: comp_settings.h:61
Include all of the Vulkan headers in one place.
VkPresentModeKHR present_mode
Definition: comp_settings.h:62
Settings for the compositor.
Definition: comp_settings.h:56
Definition: comp_settings.h:42
#define XRT_MAYBE_UNUSED
Definition: xrt_compiler.h:50
xrt_distortion_model
Which distortion model does the device expose, used both as a bitfield and value. ...
Definition: xrt_defines.h:48
Definition: comp_settings.h:43
Definition: comp_settings.h:45
bool validate_vulkan
Enable vulkan validation for compositor.
Definition: comp_settings.h:98
Header defining a xrt HMD device.
bool fullscreen
Not used with direct mode.
Definition: comp_settings.h:80
VkFormat color_format
Definition: comp_settings.h:60
int gpu_index
Run the compositor on this Vulkan physical device.
Definition: comp_settings.h:101
void comp_settings_init(struct comp_settings *s, struct xrt_device *xdev)
Initialize the settings struct with either defaults or loaded setting.
Definition: comp_settings.c:28
bool print_debug
Should we debug print.
Definition: comp_settings.h:86
Header defining a XRT graphics provider.
uint32_t height
Definition: comp_settings.h:71
bool flip_y
Should we flip y axis for compositor buffers (for GL)
Definition: comp_settings.h:92
bool print_modes
Print information about available modes for direct mode.
Definition: comp_settings.h:89
Definition: comp_settings.h:46
uint32_t width
Definition: comp_settings.h:70
Definition: comp_settings.h:44
struct comp_settings::@26 debug
enum window_type window_type
Window type to use.
Definition: comp_settings.h:65
int desired_mode
Try to choose the mode with this index for direct mode.
Definition: comp_settings.h:104
uint64_t nominal_frame_interval_ns
Nominal frame interval.
Definition: comp_settings.h:95
window_type
Window type to use.
Definition: comp_settings.h:40
A single HMD or input device.
Definition: xrt_device.h:202
Definition: comp_settings.h:47
int display
Definition: comp_settings.h:58
bool wireframe
Display wireframe instead of solid triangles.
Definition: comp_settings.h:76
enum xrt_distortion_model distortion_model
Distortion type to use.
Definition: comp_settings.h:68
bool print_spew
Should we debug print a lot!
Definition: comp_settings.h:83