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
QEglFSKmsEglDevice Class Reference

#include <qeglfskmsegldevice.h>

+ Inheritance diagram for QEglFSKmsEglDevice:
+ Collaboration diagram for QEglFSKmsEglDevice:

Public Member Functions

 QEglFSKmsEglDevice (QEglFSKmsEglDeviceIntegration *devInt, QKmsScreenConfig *screenConfig, const QString &path)
 
bool open () override
 
void close () override
 
voidnativeDisplay () const override
 
QPlatformScreencreateScreen (const QKmsOutput &output) override
 
QPlatformCursorglobalCursor ()
 
void destroyGlobalCursor ()
 
- Public Member Functions inherited from QEglFSKmsDevice
 QEglFSKmsDevice (QKmsScreenConfig *screenConfig, const QString &path)
 
void registerScreen (QPlatformScreen *screen, bool isPrimary, const QPoint &virtualPos, const QList< QPlatformScreen * > &virtualSiblings) override
 
- Public Member Functions inherited from QKmsDevice
 QKmsDevice (QKmsScreenConfig *screenConfig, const QString &path=QString())
 
virtual ~QKmsDevice ()
 
bool hasAtomicSupport ()
 
void createScreens ()
 
int fd () const
 
QString devicePath () const
 
QKmsScreenConfigscreenConfig () const
 

Additional Inherited Members

- Protected Types inherited from QKmsDevice
typedef std::function< void(drmModePropertyPtr, quint64)> PropCallback
 
- Protected Member Functions inherited from QKmsDevice
virtual QPlatformScreencreateHeadlessScreen ()
 
virtual void registerScreenCloning (QPlatformScreen *screen, QPlatformScreen *screenThisScreenClones, const QList< QPlatformScreen * > &screensCloningThisScreen)
 
void setFd (int fd)
 
int crtcForConnector (drmModeResPtr resources, drmModeConnectorPtr connector)
 
QPlatformScreencreateScreenForConnector (drmModeResPtr resources, drmModeConnectorPtr connector, ScreenInfo *vinfo)
 
drmModePropertyPtr connectorProperty (drmModeConnectorPtr connector, const QByteArray &name)
 
drmModePropertyBlobPtr connectorPropertyBlob (drmModeConnectorPtr connector, const QByteArray &name)
 
void enumerateProperties (drmModeObjectPropertiesPtr objProps, PropCallback callback)
 
void discoverPlanes ()
 
void parseConnectorProperties (uint32_t connectorId, QKmsOutput *output)
 
void parseCrtcProperties (uint32_t crtcId, QKmsOutput *output)
 
- Protected Attributes inherited from QKmsDevice
QKmsScreenConfigm_screenConfig
 
QString m_path
 
int m_dri_fd
 
bool m_has_atomic_support
 
quint32 m_crtc_allocator
 
QList< QKmsPlanem_planes
 

Detailed Description

Definition at line 14 of file qeglfskmsegldevice.h.

Constructor & Destructor Documentation

◆ QEglFSKmsEglDevice()

QT_BEGIN_NAMESPACE QEglFSKmsEglDevice::QEglFSKmsEglDevice ( QEglFSKmsEglDeviceIntegration * devInt,
QKmsScreenConfig * screenConfig,
const QString & path )

Definition at line 14 of file qeglfskmsegldevice.cpp.

Member Function Documentation

◆ close()

void QEglFSKmsEglDevice::close ( )
overridevirtual

Implements QKmsDevice.

Definition at line 39 of file qeglfskmsegldevice.cpp.

References QKmsDevice::fd(), qErrnoWarning(), and QKmsDevice::setFd().

+ Here is the call graph for this function:

◆ createScreen()

QPlatformScreen * QEglFSKmsEglDevice::createScreen ( const QKmsOutput & output)
overridevirtual

Implements QKmsDevice.

Definition at line 54 of file qeglfskmsegldevice.cpp.

References output, qCDebug, screen, and QKmsDevice::screenConfig().

+ Here is the call graph for this function:

◆ destroyGlobalCursor()

void QEglFSKmsEglDevice::destroyGlobalCursor ( )

Definition at line 66 of file qeglfskmsegldevice.cpp.

References qCDebug.

◆ globalCursor()

QPlatformCursor * QEglFSKmsEglDevice::globalCursor ( )
inline

Definition at line 26 of file qeglfskmsegldevice.h.

◆ nativeDisplay()

void * QEglFSKmsEglDevice::nativeDisplay ( ) const
overridevirtual

Implements QKmsDevice.

Definition at line 49 of file qeglfskmsegldevice.cpp.

References QEglFSKmsEglDeviceIntegration::eglDevice().

+ Here is the call graph for this function:

◆ open()

bool QEglFSKmsEglDevice::open ( )
overridevirtual

Implements QKmsDevice.

Definition at line 21 of file qeglfskmsegldevice.cpp.

References compare(), QKmsDevice::devicePath(), QKmsDevice::fd(), Q_ASSERT, Q_UNLIKELY, qFatal, qt_safe_open(), QKmsDevice::setFd(), and toLocal8Bit().

+ Here is the call graph for this function:

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