Go to the documentation of this file. 1 #ifndef MYTHNVCONTROL_H
2 #define MYTHNVCONTROL_H
17 using NVControl = std::shared_ptr<class MythNVControl>;
21 using SetAttribute = void(*)(Display*,int,
unsigned int,
unsigned int,int);
bool(*)(Display *, int, int, unsigned int, unsigned int, unsigned char **, int *) QueryTargetBinary
A simple wrapper around libXNVCtrl - which is dynamically loaded on demand.
std::shared_ptr< class MythNVControl > NVControl
A device containing images (ie. USB stick, CD, storage group etc)
QueryTargetAttrib m_queryTarget
MythNVControl(const QString &Path, MythXDisplay *MDisplay)
bool(*)(Display *, int, unsigned int, unsigned int, int *) QueryScreenAttrib
static MythVRRPtr CreateGSync(const NVControl &Device, MythVRRRange Range)
bool(*)(Display *, int, int, unsigned int, unsigned int, int *) QueryTargetAttrib
static bool s_gsyncDefaultValue
std::tuple< int, int, bool > MythVRRRange
QueryTargetBinary m_queryBinary
static NVControl Create()
Create a valid instance of MythNVControl.
A wrapper around NVidia GSync support (when using X11 and a Display Port connection).
MythGSync(NVControl Device, VRRType Type, bool Enabled, MythVRRRange Range)
QueryScreenAttrib m_queryScreen
void(*)(Display *, int, unsigned int, unsigned int, int) SetAttribute
static bool s_gsyncResetOnExit
void SetEnabled(bool Enable=true) override
static void ForceGSync(bool Enable)
Enable or disable GSync before the main window is created.
std::shared_ptr< class MythVRR > MythVRRPtr