Monado OpenXR Runtime
|
Settings for the compositor. More...
#include <main/comp_settings.h>
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... | |
Settings for the compositor.
xrt_luid_t comp_settings::client_gpu_deviceLUID |
The Windows LUID for the GPU device suggested for D3D clients, never changes.
bool comp_settings::client_gpu_deviceLUID_valid |
Whether client_gpu_deviceLUID is valid.
xrt_uuid_t comp_settings::client_gpu_deviceUUID |
Vulkan device UUID to suggest to clients.
int comp_settings::client_gpu_index |
Vulkan physical device index for clients to use, forced by user.
int comp_settings::desired_mode |
Try to choose the mode with this index for direct mode.
bool comp_settings::fullscreen |
Not used with direct mode.
enum u_logging_level comp_settings::log_level |
Logging level.
int64_t comp_settings::nominal_frame_interval_ns |
Nominal frame interval.
Referenced by comp_mirror_to_debug_gui::comp_mirror_fixup_ui_state().
const char* comp_settings::nvidia_display |
display string forced by user or NULL
bool comp_settings::print_modes |
Print information about available modes for direct mode.
xrt_uuid_t comp_settings::selected_gpu_deviceUUID |
Vulkan device UUID selected by comp_settings_check_vulkan_caps, valid across Vulkan instances.
int comp_settings::selected_gpu_index |
Vulkan physical device selected by comp_settings_check_vulkan_caps may be forced by user.
const char* comp_settings::target_identifier |
Preferred window type to use, not actual used.
double comp_settings::viewport_scale |
Percentage to scale the viewport by.
int comp_settings::vk_display |
vk display number to use when forcing vk_display