7#include "private/qeglfsintegration_p.h"
8#include "private/qeglfscursor_p.h"
10#include <QtCore/private/qcore_unix_p.h>
32 qFatal(
"Could not open DRM (NV) device");
43 if (drmClose(
fd()) == -1)
58 if (!m_globalCursor && !
screenConfig()->separateScreens()) {
59 qCDebug(qLcEglfsKmsDebug,
"Creating new global mouse cursor");
60 m_globalCursor =
new QEglFSCursor(
screen);
69 qCDebug(qLcEglfsKmsDebug,
"Destroying global mouse cursor");
70 delete m_globalCursor;
71 m_globalCursor =
nullptr;
EGLDeviceEXT eglDevice() const
QPlatformScreen * createScreen(const QKmsOutput &output) override
void destroyGlobalCursor()
void * nativeDisplay() const override
QEglFSKmsEglDevice(QEglFSKmsEglDeviceIntegration *devInt, QKmsScreenConfig *screenConfig, const QString &path)
QKmsScreenConfig * screenConfig() const
QString devicePath() const
\macro QT_RESTRICTED_CAST_FROM_ASCII
void qErrnoWarning(const char *msg,...)
Combined button and popup list for selecting options.
static int qt_safe_open(const char *pathname, int flags, mode_t mode=0777)
#define qCDebug(category,...)
GLsizei const GLchar *const * path
static char * toLocal8Bit(char *out, QStringView in, QStringConverter::State *state)
static int compare(quint64 a, quint64 b)
QT_BEGIN_NAMESPACE typedef uchar * output