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

#include <qeglfskmsdevice_p.h>

+ Inheritance diagram for QEglFSKmsDevice:
+ Collaboration diagram for QEglFSKmsDevice:

Public Member Functions

 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 ()
 
virtual bool open ()=0
 
virtual void close ()=0
 
virtual voidnativeDisplay () const =0
 
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 QPlatformScreencreateScreen (const QKmsOutput &output)=0
 
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 24 of file qeglfskmsdevice_p.h.

Constructor & Destructor Documentation

◆ QEglFSKmsDevice()

QT_BEGIN_NAMESPACE QEglFSKmsDevice::QEglFSKmsDevice ( QKmsScreenConfig * screenConfig,
const QString & path )

Definition at line 12 of file qeglfskmsdevice.cpp.

Member Function Documentation

◆ registerScreen()

void QEglFSKmsDevice::registerScreen ( QPlatformScreen * screen,
bool isPrimary,
const QPoint & virtualPos,
const QList< QPlatformScreen * > & virtualSiblings )
overridevirtual

Implements QKmsDevice.

Reimplemented in QEglFSKmsGbmDevice.

Definition at line 17 of file qeglfskmsdevice.cpp.

References QWindowSystemInterface::handleScreenAdded(), screen, and QEglFSKmsScreen::setVirtualPosition().

Referenced by QEglFSKmsGbmDevice::registerScreen().

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

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