![]() |
Qt 6.x
The Qt SDK
|
Inheritance diagram for QLinuxFbDevice:
Collaboration diagram for QLinuxFbDevice:Classes | |
| struct | Framebuffer |
| struct | Output |
Public Member Functions | |
| QLinuxFbDevice (QKmsScreenConfig *screenConfig) | |
| bool | open () override |
| void | close () override |
| void | createFramebuffers () |
| void | destroyFramebuffers () |
| void | setMode () |
| void | swapBuffers (Output *output) |
| int | outputCount () const |
| Output * | output (int idx) |
Public Member Functions inherited from QKmsDevice | |
| QKmsDevice (QKmsScreenConfig *screenConfig, const QString &path=QString()) | |
| virtual | ~QKmsDevice () |
| virtual bool | open ()=0 |
| virtual void | close ()=0 |
| virtual void * | nativeDisplay () const =0 |
| bool | hasAtomicSupport () |
| void | createScreens () |
| int | fd () const |
| QString | devicePath () const |
| QKmsScreenConfig * | screenConfig () const |
Private Member Functions | |
| void * | nativeDisplay () const override |
| QPlatformScreen * | createScreen (const QKmsOutput &output) override |
| void | registerScreen (QPlatformScreen *screen, bool isPrimary, const QPoint &virtualPos, const QList< QPlatformScreen * > &virtualSiblings) override |
Additional Inherited Members | |
Protected Types inherited from QKmsDevice | |
| typedef std::function< void(drmModePropertyPtr, quint64)> | PropCallback |
Protected Member Functions inherited from QKmsDevice | |
| virtual QPlatformScreen * | createScreen (const QKmsOutput &output)=0 |
| virtual QPlatformScreen * | createHeadlessScreen () |
| virtual void | registerScreenCloning (QPlatformScreen *screen, QPlatformScreen *screenThisScreenClones, const QList< QPlatformScreen * > &screensCloningThisScreen) |
| virtual void | registerScreen (QPlatformScreen *screen, bool isPrimary, const QPoint &virtualPos, const QList< QPlatformScreen * > &virtualSiblings)=0 |
| void | setFd (int fd) |
| int | crtcForConnector (drmModeResPtr resources, drmModeConnectorPtr connector) |
| QPlatformScreen * | createScreenForConnector (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 | |
| QKmsScreenConfig * | m_screenConfig |
| QString | m_path |
| int | m_dri_fd |
| bool | m_has_atomic_support |
| quint32 | m_crtc_allocator |
| QList< QKmsPlane > | m_planes |
Definition at line 28 of file qlinuxfbdrmscreen.cpp.
| QLinuxFbDevice::QLinuxFbDevice | ( | QKmsScreenConfig * | screenConfig | ) |
Definition at line 85 of file qlinuxfbdrmscreen.cpp.
|
overridevirtual |
Implements QKmsDevice.
Definition at line 112 of file qlinuxfbdrmscreen.cpp.
References QKmsDevice::fd(), output, qCDebug, qt_safe_close(), and QKmsDevice::setFd().
Referenced by QLinuxFbDrmScreen::~QLinuxFbDrmScreen().
Here is the call graph for this function:
Here is the caller graph for this function:| void QLinuxFbDevice::createFramebuffers | ( | ) |
Definition at line 259 of file qlinuxfbdrmscreen.cpp.
References BUFFER_COUNT, i, and output.
Referenced by QLinuxFbDrmScreen::initialize().
Here is the caller graph for this function:
|
overrideprivatevirtual |
Implements QKmsDevice.
Definition at line 131 of file qlinuxfbdrmscreen.cpp.
References o, output, qCDebug, and qPrintable.
| void QLinuxFbDevice::destroyFramebuffers | ( | ) |
Definition at line 288 of file qlinuxfbdrmscreen.cpp.
References BUFFER_COUNT, i, and output.
Referenced by QLinuxFbDrmScreen::~QLinuxFbDrmScreen().
Here is the caller graph for this function:
|
overrideprivatevirtual |
Implements QKmsDevice.
Definition at line 126 of file qlinuxfbdrmscreen.cpp.
|
overridevirtual |
Implements QKmsDevice.
Definition at line 90 of file qlinuxfbdrmscreen.cpp.
References QKmsDevice::devicePath(), qCDebug, qErrnoWarning(), qPrintable, qt_safe_close(), qt_safe_open(), qWarning, QKmsDevice::setFd(), and toLocal8Bit().
Referenced by QLinuxFbDrmScreen::initialize().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 66 of file qlinuxfbdrmscreen.cpp.
Referenced by QLinuxFbDrmScreen::doRedraw(), and QLinuxFbDrmScreen::initialize().
Here is the caller graph for this function:
|
inline |
Definition at line 65 of file qlinuxfbdrmscreen.cpp.
|
overrideprivatevirtual |
Implements QKmsDevice.
Definition at line 140 of file qlinuxfbdrmscreen.cpp.
| void QLinuxFbDevice::setMode | ( | ) |
Definition at line 296 of file qlinuxfbdrmscreen.cpp.
References QKmsDevice::fd(), output, QPlatformScreen::PowerStateOn, and qErrnoWarning().
Referenced by QLinuxFbDrmScreen::initialize().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 324 of file qlinuxfbdrmscreen.cpp.
References QLinuxFbDevice::Framebuffer::fb, QKmsDevice::fd(), output, and qErrnoWarning().
Referenced by QLinuxFbDrmScreen::doRedraw().
Here is the call graph for this function:
Here is the caller graph for this function: