4#ifndef QEGLFSEMULATORSCREEN_H
5#define QEGLFSEMULATORSCREEN_H
7#include <QtCore/QJsonObject>
10#include "private/qeglfsscreen_p.h"
34 void initFromJsonObject(
const QJsonObject &description);
36 QString m_description;
39 QImage::Format m_format;
40 QSizeF m_physicalSize;
42 Qt::ScreenOrientation m_nativeOrientation;
43 Qt::ScreenOrientation m_orientation;
void screenInit() override
QEglFSEmulatorIntegration()
PFNQGSGETDISPLAYSPROC getDisplays
PFNQGSSETDISPLAYPROC setDisplay
bool hasCapability(QPlatformIntegration::Capability cap) const override
bool usesDefaultScreen() override
EGLNativeWindowType createNativeWindow(QPlatformWindow *platformWindow, const QSize &size, const QSurfaceFormat &format) override
void platformDestroy() override
void platformInit() override
QSizeF physicalSize() const override
Reimplement this function in subclass to return the physical size of the screen, in millimeters.
QRect geometry() const override
Reimplement in subclass to return the pixel geometry of the screen.
int depth() const override
Reimplement in subclass to return current depth of the screen.
qreal refreshRate() const override
Reimplement this function in subclass to return the vertical refresh rate of the screen,...
QDpi logicalBaseDpi() const override
Reimplement to return the base logical DPI for the platform.
Qt::ScreenOrientation orientation() const override
Reimplement this function in subclass to return the current orientation of the screen,...
Qt::ScreenOrientation nativeOrientation() const override
Reimplement this function in subclass to return the native orientation of the screen,...
QString name() const override
QDpi logicalDpi() const override
Reimplement this function in subclass to return the logical horizontal and vertical dots per inch met...
QImage::Format format() const override
Reimplement in subclass to return the image format which corresponds to the screen format.
QRect rawGeometry() const override
QEglFSEmulatorScreen(const QJsonObject &screenDescription)
typedef void(EGLAPIENTRYP PFNQGSSETDISPLAYPROC)(uint screen)
typedef QByteArray(EGLAPIENTRYP PFNQGSGETDISPLAYSPROC)()
QT_BEGIN_NAMESPACE Q_DECLARE_LOGGING_CATEGORY(lcEventDispatcher)