Monado OpenXR Runtime
comp_settings.h File Reference

Settings struct for compositor header. More...

Include dependency graph for comp_settings.h:

Go to the source code of this file.

Data Structures

struct  comp_settings
 Settings for the compositor. More...
 

Functions

void comp_settings_init (struct comp_settings *s, struct xrt_device *xdev)
 Initialize the settings struct with either defaults or loaded setting. More...
 

Variables

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 attempt to acquire. More...
 

Detailed Description

Variable Documentation

◆ NV_DIRECT_ALLOWLIST

XRT_MAYBE_UNUSED const char* NV_DIRECT_ALLOWLIST[]
static
Initial value:
= {
"Sony SIE HMD *08",
"HTC Corporation HTC-VIVE",
"HTC Corporation VIVE Pro",
"Oculus VR Inc. Rift",
"Valve Corporation Index HMD",
"Seiko/Epson SEC144A",
"HPN",
"HP Inc.",
"PNP",
}

Since NVidia direct mode lets us 'acquire' any display, we need to be careful about which displays we attempt to acquire.

We may wish to allow user configuration to extend this list.