Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QKmsScreenConfig Class Reference

#include <qkmsdevice_p.h>

+ Collaboration diagram for QKmsScreenConfig:

Public Types

enum  VirtualDesktopLayout { VirtualDesktopLayoutHorizontal , VirtualDesktopLayoutVertical }
 

Public Member Functions

 QKmsScreenConfig ()
 
virtual ~QKmsScreenConfig ()
 
QString devicePath () const
 
bool headless () const
 
QSize headlessSize () const
 
bool hwCursor () const
 
bool separateScreens () const
 
bool supportsPBuffers () const
 
VirtualDesktopLayout virtualDesktopLayout () const
 
QMap< QString, QVariantMapoutputSettings () const
 
virtual void loadConfig ()
 

Protected Attributes

QString m_devicePath
 
bool m_headless
 
QSize m_headlessSize
 
bool m_hwCursor
 
bool m_separateScreens
 
bool m_pbuffers
 
VirtualDesktopLayout m_virtualDesktopLayout
 
QMap< QString, QVariantMapm_outputSettings
 

Detailed Description

Definition at line 69 of file qkmsdevice_p.h.

Member Enumeration Documentation

◆ VirtualDesktopLayout

Enumerator
VirtualDesktopLayoutHorizontal 
VirtualDesktopLayoutVertical 

Definition at line 72 of file qkmsdevice_p.h.

Constructor & Destructor Documentation

◆ QKmsScreenConfig()

QKmsScreenConfig::QKmsScreenConfig ( )

Definition at line 996 of file qkmsdevice.cpp.

◆ ~QKmsScreenConfig()

virtual QKmsScreenConfig::~QKmsScreenConfig ( )
inlinevirtual

Definition at line 78 of file qkmsdevice_p.h.

Member Function Documentation

◆ devicePath()

QString QKmsScreenConfig::devicePath ( ) const
inline

Definition at line 80 of file qkmsdevice_p.h.

References m_devicePath.

Referenced by QKmsDevice::QKmsDevice(), QEglFSKmsGbmIntegration::createDevice(), and QEglFSKmsVsp2Integration::createDevice().

+ Here is the caller graph for this function:

◆ headless()

bool QKmsScreenConfig::headless ( ) const
inline

Definition at line 82 of file qkmsdevice_p.h.

References m_headless.

Referenced by QKmsDevice::createScreens(), and loadConfig().

+ Here is the caller graph for this function:

◆ headlessSize()

QSize QKmsScreenConfig::headlessSize ( ) const
inline

Definition at line 83 of file qkmsdevice_p.h.

References m_headlessSize.

Referenced by loadConfig(), and QEglFSKmsScreen::rawGeometry().

+ Here is the caller graph for this function:

◆ hwCursor()

bool QKmsScreenConfig::hwCursor ( ) const
inline

Definition at line 84 of file qkmsdevice_p.h.

References m_hwCursor.

◆ loadConfig()

void QKmsScreenConfig::loadConfig ( )
virtual

Definition at line 1005 of file qkmsdevice.cpp.

References QJsonArray::at(), file, QJsonDocument::fromJson(), QString::fromUtf8(), headless(), headlessSize(), i, QByteArray::isEmpty(), QJsonDocument::isObject(), m_devicePath, m_headless, m_headlessSize, m_hwCursor, m_outputSettings, m_pbuffers, m_separateScreens, m_virtualDesktopLayout, QJsonDocument::object(), QFile::open(), outputSettings(), qCDebug, qCWarning, qgetenv(), QStringLiteral, QIODevice::readAll(), QIODeviceBase::ReadOnly, QSize::rheight(), QSize::rwidth(), QJsonArray::size(), QJsonValue::toObject(), QJsonObject::toVariantMap(), VirtualDesktopLayoutHorizontal, and VirtualDesktopLayoutVertical.

Referenced by QEglFSKmsIntegration::createScreenConfig(), and QLinuxFbDrmScreen::initialize().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ outputSettings()

QMap< QString, QVariantMap > QKmsScreenConfig::outputSettings ( ) const
inline

Definition at line 89 of file qkmsdevice_p.h.

References m_outputSettings.

Referenced by QKmsDevice::createScreenForConnector(), and loadConfig().

+ Here is the caller graph for this function:

◆ separateScreens()

bool QKmsScreenConfig::separateScreens ( ) const
inline

Definition at line 85 of file qkmsdevice_p.h.

References m_separateScreens.

Referenced by QKmsDevice::createScreens(), and QEglFSKmsEglDeviceScreen::cursor().

+ Here is the caller graph for this function:

◆ supportsPBuffers()

bool QKmsScreenConfig::supportsPBuffers ( ) const
inline

Definition at line 86 of file qkmsdevice_p.h.

References m_pbuffers.

Referenced by QEglFSKmsIntegration::supportsPBuffers().

+ Here is the caller graph for this function:

◆ virtualDesktopLayout()

VirtualDesktopLayout QKmsScreenConfig::virtualDesktopLayout ( ) const
inline

Definition at line 87 of file qkmsdevice_p.h.

References m_virtualDesktopLayout.

Referenced by QKmsDevice::createScreens().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_devicePath

QString QKmsScreenConfig::m_devicePath
protected

Definition at line 93 of file qkmsdevice_p.h.

Referenced by devicePath(), and loadConfig().

◆ m_headless

bool QKmsScreenConfig::m_headless
protected

Definition at line 94 of file qkmsdevice_p.h.

Referenced by headless(), and loadConfig().

◆ m_headlessSize

QSize QKmsScreenConfig::m_headlessSize
protected

Definition at line 95 of file qkmsdevice_p.h.

Referenced by headlessSize(), and loadConfig().

◆ m_hwCursor

bool QKmsScreenConfig::m_hwCursor
protected

Definition at line 96 of file qkmsdevice_p.h.

Referenced by hwCursor(), and loadConfig().

◆ m_outputSettings

QMap<QString, QVariantMap> QKmsScreenConfig::m_outputSettings
protected

Definition at line 100 of file qkmsdevice_p.h.

Referenced by loadConfig(), and outputSettings().

◆ m_pbuffers

bool QKmsScreenConfig::m_pbuffers
protected

Definition at line 98 of file qkmsdevice_p.h.

Referenced by loadConfig(), and supportsPBuffers().

◆ m_separateScreens

bool QKmsScreenConfig::m_separateScreens
protected

Definition at line 97 of file qkmsdevice_p.h.

Referenced by loadConfig(), and separateScreens().

◆ m_virtualDesktopLayout

VirtualDesktopLayout QKmsScreenConfig::m_virtualDesktopLayout
protected

Definition at line 99 of file qkmsdevice_p.h.

Referenced by loadConfig(), and virtualDesktopLayout().


The documentation for this class was generated from the following files: