Monado OpenXR Runtime
comp_settings Struct Reference

Settings for the compositor. More...

#include <main/comp_settings.h>

Collaboration diagram for comp_settings:

Data Fields

int display
 
bool use_compute
 
VkFormat formats [XRT_MAX_SWAPCHAIN_FORMATS]
 
uint32_t format_count
 
VkColorSpaceKHR color_space
 
VkPresentModeKHR present_mode
 
const char * target_identifier
 Preferred window type to use, not actual used. More...
 
const char * nvidia_display
 display string forced by user or NULL More...
 
int vk_display
 vk display number to use when forcing vk_display More...
 
struct {
   uint32_t   width
 
   uint32_t   height
 
preferred
 
double viewport_scale
 Percentage to scale the viewport by. More...
 
bool fullscreen
 Not used with direct mode. More...
 
enum u_logging_level log_level
 Logging level. More...
 
bool print_modes
 Print information about available modes for direct mode. More...
 
int64_t nominal_frame_interval_ns
 Nominal frame interval. More...
 
int selected_gpu_index
 Vulkan physical device selected by comp_settings_check_vulkan_caps may be forced by user. More...
 
int client_gpu_index
 Vulkan physical device index for clients to use, forced by user. More...
 
xrt_uuid_t selected_gpu_deviceUUID
 Vulkan device UUID selected by comp_settings_check_vulkan_caps, valid across Vulkan instances. More...
 
xrt_uuid_t client_gpu_deviceUUID
 Vulkan device UUID to suggest to clients. More...
 
xrt_luid_t client_gpu_deviceLUID
 The Windows LUID for the GPU device suggested for D3D clients, never changes. More...
 
bool client_gpu_deviceLUID_valid
 Whether client_gpu_deviceLUID is valid. More...
 
int desired_mode
 Try to choose the mode with this index for direct mode. More...
 

Detailed Description

Settings for the compositor.

Field Documentation

◆ client_gpu_deviceLUID

xrt_luid_t comp_settings::client_gpu_deviceLUID

The Windows LUID for the GPU device suggested for D3D clients, never changes.

◆ client_gpu_deviceLUID_valid

bool comp_settings::client_gpu_deviceLUID_valid

Whether client_gpu_deviceLUID is valid.

◆ client_gpu_deviceUUID

xrt_uuid_t comp_settings::client_gpu_deviceUUID

Vulkan device UUID to suggest to clients.

◆ client_gpu_index

int comp_settings::client_gpu_index

Vulkan physical device index for clients to use, forced by user.

◆ desired_mode

int comp_settings::desired_mode

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

◆ fullscreen

bool comp_settings::fullscreen

Not used with direct mode.

◆ log_level

enum u_logging_level comp_settings::log_level

Logging level.

◆ nominal_frame_interval_ns

int64_t comp_settings::nominal_frame_interval_ns

Nominal frame interval.

Referenced by comp_mirror_to_debug_gui::comp_mirror_fixup_ui_state().

◆ nvidia_display

const char* comp_settings::nvidia_display

display string forced by user or NULL

◆ print_modes

bool comp_settings::print_modes

Print information about available modes for direct mode.

◆ selected_gpu_deviceUUID

xrt_uuid_t comp_settings::selected_gpu_deviceUUID

Vulkan device UUID selected by comp_settings_check_vulkan_caps, valid across Vulkan instances.

◆ selected_gpu_index

int comp_settings::selected_gpu_index

Vulkan physical device selected by comp_settings_check_vulkan_caps may be forced by user.

◆ target_identifier

const char* comp_settings::target_identifier

Preferred window type to use, not actual used.

◆ viewport_scale

double comp_settings::viewport_scale

Percentage to scale the viewport by.

◆ vk_display

int comp_settings::vk_display

vk display number to use when forcing vk_display


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