MythTV  master
Macros | Enumerations | Variables
mythnvcontrol.cpp File Reference
#include "mythnvcontrol.h"
#include "libmythbase/mythlogging.h"
Include dependency graph for mythnvcontrol.cpp:

Go to the source code of this file.

Macros

#define LOC   QString("NVCtrl: ")
 

Enumerations

enum  NV_CTRL_DISPLAY_VRR_MODES : std::uint8_t { NV_CTRL_DISPLAY_VRR_MODE_NONE = 0, NV_CTRL_DISPLAY_VRR_MODE_GSYNC = 1, NV_CTRL_DISPLAY_VRR_MODE_GSYNC_COMPATIBLE = 2, NV_CTRL_DISPLAY_VRR_MODE_GSYNC_COMPATIBLE_UNVALIDATED = 3 }
 

Variables

static constexpr int NV_CTRL_TARGET_TYPE_X_SCREEN { 0 }
 
static constexpr int NV_CTRL_TARGET_TYPE_DISPLAY { 8 }
 
static constexpr uint NV_CTRL_BINARY_DATA_DISPLAYS_ENABLED_ON_XSCREEN { 17 }
 
static constexpr uint NV_CTRL_VRR_ALLOWED { 408 }
 
static constexpr uint NV_CTRL_DISPLAY_VRR_MODE { 429 }
 
static constexpr uint NV_CTRL_DISPLAY_VRR_ENABLED { 431 }
 
static constexpr uint NV_CTRL_DISPLAY_VRR_MIN_REFRESH_RATE { 430 }
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("NVCtrl: ")

Definition at line 5 of file mythnvcontrol.cpp.

Enumeration Type Documentation

◆ NV_CTRL_DISPLAY_VRR_MODES

enum NV_CTRL_DISPLAY_VRR_MODES : std::uint8_t
Enumerator
NV_CTRL_DISPLAY_VRR_MODE_NONE 
NV_CTRL_DISPLAY_VRR_MODE_GSYNC 
NV_CTRL_DISPLAY_VRR_MODE_GSYNC_COMPATIBLE 
NV_CTRL_DISPLAY_VRR_MODE_GSYNC_COMPATIBLE_UNVALIDATED 

Definition at line 12 of file mythnvcontrol.cpp.

Variable Documentation

◆ NV_CTRL_TARGET_TYPE_X_SCREEN

constexpr int NV_CTRL_TARGET_TYPE_X_SCREEN { 0 }
staticconstexpr

Definition at line 7 of file mythnvcontrol.cpp.

Referenced by MythNVControl::GetDisplayID().

◆ NV_CTRL_TARGET_TYPE_DISPLAY

constexpr int NV_CTRL_TARGET_TYPE_DISPLAY { 8 }
staticconstexpr

Definition at line 8 of file mythnvcontrol.cpp.

Referenced by MythGSync::CreateGSync().

◆ NV_CTRL_BINARY_DATA_DISPLAYS_ENABLED_ON_XSCREEN

constexpr uint NV_CTRL_BINARY_DATA_DISPLAYS_ENABLED_ON_XSCREEN { 17 }
staticconstexpr

Definition at line 9 of file mythnvcontrol.cpp.

Referenced by MythNVControl::GetDisplayID().

◆ NV_CTRL_VRR_ALLOWED

constexpr uint NV_CTRL_VRR_ALLOWED { 408 }
staticconstexpr

Definition at line 10 of file mythnvcontrol.cpp.

Referenced by MythGSync::CreateGSync(), and MythGSync::SetEnabled().

◆ NV_CTRL_DISPLAY_VRR_MODE

constexpr uint NV_CTRL_DISPLAY_VRR_MODE { 429 }
staticconstexpr

Definition at line 11 of file mythnvcontrol.cpp.

Referenced by MythGSync::CreateGSync().

◆ NV_CTRL_DISPLAY_VRR_ENABLED

constexpr uint NV_CTRL_DISPLAY_VRR_ENABLED { 431 }
staticconstexpr

Definition at line 18 of file mythnvcontrol.cpp.

Referenced by MythGSync::CreateGSync().

◆ NV_CTRL_DISPLAY_VRR_MIN_REFRESH_RATE

constexpr uint NV_CTRL_DISPLAY_VRR_MIN_REFRESH_RATE { 430 }
staticconstexpr

Definition at line 19 of file mythnvcontrol.cpp.

Referenced by MythGSync::CreateGSync().