26 Q_ASSERT(m_gbm_device ==
nullptr);
28 int fd = qt_safe_open(devicePath().toLocal8Bit().constData(), O_RDWR | O_CLOEXEC);
30 qErrnoWarning(
"Could not open DRM device %s", qPrintable(devicePath()));
34 qCDebug(qLcEglfsKmsDebug) <<
"Creating GBM device for file descriptor" << fd
35 <<
"obtained from" << devicePath();
36 m_gbm_device = gbm_create_device(fd);
38 qErrnoWarning(
"Could not create GBM device");
88 QPlatformScreen *screenThisScreenClones,
89 const QList<QPlatformScreen *> &screensCloningThisScreen)
92 qWarning() << Q_FUNC_INFO <<
"Not implemented yet";
93 if (!screenThisScreenClones && screensCloningThisScreen.isEmpty())