32 "HTC Corporation HTC-VIVE",
33 "HTC Corporation VIVE Pro",
34 "Oculus VR Inc. Rift",
35 "Valve Corporation Index HMD",
36 "Seiko/Epson SEC144A",
53 uint32_t format_count;
55 VkColorSpaceKHR color_space;
56 VkPresentModeKHR present_mode;
static XRT_MAYBE_UNUSED const char * NV_DIRECT_ALLOWLIST[]
Since NVidia direct mode lets us 'acquire' any display, we need to be careful about which displays we...
Definition: comp_settings.h:30
u_logging_level
Logging level enum.
Definition: u_logging.h:43
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:58
#define XRT_MAX_SWAPCHAIN_FORMATS
Max formats supported by a compositor, artificial limit.
Definition: xrt_limits.h:39
Settings for the compositor.
Definition: comp_settings.h:47
int client_gpu_index
Vulkan physical device index for clients to use, forced by user.
Definition: comp_settings.h:93
int vk_display
vk display number to use when forcing vk_display
Definition: comp_settings.h:65
const char * target_identifier
Preferred window type to use, not actual used.
Definition: comp_settings.h:59
bool print_modes
Print information about available modes for direct mode.
Definition: comp_settings.h:83
xrt_uuid_t selected_gpu_deviceUUID
Vulkan device UUID selected by comp_settings_check_vulkan_caps, valid across Vulkan instances.
Definition: comp_settings.h:97
xrt_luid_t client_gpu_deviceLUID
The Windows LUID for the GPU device suggested for D3D clients, never changes.
Definition: comp_settings.h:103
int selected_gpu_index
Vulkan physical device selected by comp_settings_check_vulkan_caps may be forced by user.
Definition: comp_settings.h:90
int desired_mode
Try to choose the mode with this index for direct mode.
Definition: comp_settings.h:109
const char * nvidia_display
display string forced by user or NULL
Definition: comp_settings.h:62
bool client_gpu_deviceLUID_valid
Whether client_gpu_deviceLUID is valid.
Definition: comp_settings.h:106
bool fullscreen
Not used with direct mode.
Definition: comp_settings.h:77
enum u_logging_level log_level
Logging level.
Definition: comp_settings.h:80
xrt_uuid_t client_gpu_deviceUUID
Vulkan device UUID to suggest to clients.
Definition: comp_settings.h:100
double viewport_scale
Percentage to scale the viewport by.
Definition: comp_settings.h:74
int64_t nominal_frame_interval_ns
Nominal frame interval.
Definition: comp_settings.h:86
A single HMD or input device.
Definition: xrt_device.h:241
To transport LUIDs between different APIs.
Definition: xrt_defines.h:60
To transport UUIDs between different APIs.
Definition: xrt_defines.h:36
Basic logging functionality.
Header declaring XRT graphics interfaces.
Header defining an xrt display or controller device.
Include all of the Vulkan headers in one place, and cope with any "messy" includes implied by it.