6#include <QGuiApplication>
7#include <QLoggingCategory>
21 const int remainingScreenCount =
qGuiApp->screens().size();
22 qCDebug(qLcEglfsKmsDebug,
"Screen dtor. Remaining screens: %d", remainingScreenCount);
23 if (!remainingScreenCount && !
device()->screenConfig()->separateScreens())
58 qCDebug(qLcEglfsKmsDebug,
"Mode already set");
63 qCDebug(qLcEglfsKmsDebug,
"Setting mode");
IOBluetoothDevice * device
QPlatformCursor * cursor() const override
Reimplement this function in subclass to return the cursor of the screen.
void waitForFlip() override
~QEglFSKmsEglDeviceScreen()
int currentMode() const override
Reimplement this function in subclass to return the index of the current mode from the modes list.
QEglFSKmsDevice * device() const
QPlatformCursor * cursor() const override
Reimplement this function in subclass to return the cursor of the screen.
QKmsScreenConfig * screenConfig() const
bool separateScreens() const
constexpr int height() const noexcept
Returns the height.
constexpr int width() const noexcept
Returns the width.
void qErrnoWarning(const char *msg,...)
Combined button and popup list for selecting options.
#define qCDebug(category,...)
#define Q_DECLARE_LOGGING_CATEGORY(name)
GLfloat GLfloat GLfloat w
[0]
GLfloat GLfloat GLfloat GLfloat h
Q_CORE_EXPORT int qEnvironmentVariableIntValue(const char *varName, bool *ok=nullptr) noexcept
QT_BEGIN_NAMESPACE typedef uchar * output
QList< drmModeModeInfo > modes