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>.
|
#include "qkmsdevice_p.h"
#include <QtCore/QJsonDocument>
#include <QtCore/QJsonObject>
#include <QtCore/QJsonArray>
#include <QtCore/QFile>
#include <QtCore/QLoggingCategory>
#include <errno.h>
Go to the source code of this file.
Classes | |
struct | OrderedScreen |
Macros | |
#define | ARRAY_LENGTH(a) (sizeof (a) / sizeof (a)[0]) |
Enumerations | |
enum | OutputConfiguration { OutputConfigOff , OutputConfigPreferred , OutputConfigCurrent , OutputConfigSkip , OutputConfigMode , OutputConfigModeline } |
Functions | |
static QByteArray | nameForConnector (const drmModeConnectorPtr connector) |
static bool | parseModeline (const QByteArray &text, drmModeModeInfoPtr mode) |
static void | assignPlane (QKmsOutput *output, QKmsPlane *plane) |
QDebug | operator<< (QDebug dbg, const OrderedScreen &s) |
static bool | orderedScreenLessThan (const OrderedScreen &a, const OrderedScreen &b) |
static bool | propTypeIs (drmModePropertyPtr prop, uint32_t type) |
Variables | |
static const char *const | connector_type_names [] |
Definition at line 16 of file qkmsdevice.cpp.
Referenced by nameForConnector().
enum OutputConfiguration |
Enumerator | |
---|---|
OutputConfigOff | |
OutputConfigPreferred | |
OutputConfigCurrent | |
OutputConfigSkip | |
OutputConfigMode | |
OutputConfigModeline |
Definition at line 24 of file qkmsdevice.cpp.
|
inlinestatic |
Definition at line 145 of file qkmsdevice.cpp.
References QKmsPlane::activeCrtcId, and output.
Referenced by QKmsDevice::createScreenForConnector().
|
static |
Definition at line 90 of file qkmsdevice.cpp.
References ARRAY_LENGTH, connector_type_names, and QByteArray::number().
Referenced by QKmsDevice::createScreenForConnector().
QDebug operator<< | ( | QDebug | dbg, |
const OrderedScreen & | s ) |
Definition at line 578 of file qkmsdevice.cpp.
|
static |
Definition at line 589 of file qkmsdevice.cpp.
Referenced by QKmsDevice::createScreens().
|
static |
Definition at line 102 of file qkmsdevice.cpp.
References QString::constData(), and text.
Referenced by QKmsDevice::createScreenForConnector().
|
inlinestatic |
Definition at line 753 of file qkmsdevice.cpp.
References DRM_MODE_PROP_EXTENDED_TYPE.
Referenced by QKmsDevice::discoverPlanes(), and QKmsDevice::enumerateProperties().
|
static |
Definition at line 70 of file qkmsdevice.cpp.
Referenced by nameForConnector().