40 #ifndef QEGLFSDEVICEINTEGRATION_H
41 #define QEGLFSDEVICEINTEGRATION_H
55 #include <qpa/qplatformintegration.h>
56 #include <qpa/qplatformscreen.h>
57 #include <QtCore/QString>
58 #include <QtGui/QSurfaceFormat>
59 #include <QtGui/QImage>
66 #define QEglFSDeviceIntegrationFactoryInterface_iid "org.qt-project.qt.qpa.egl.QEglFSDeviceIntegrationFactoryInterface.5.5"
73 virtual void platformInit();
74 virtual void platformDestroy();
75 virtual EGLNativeDisplayType platformDisplay()
const;
76 virtual EGLDisplay createDisplay(EGLNativeDisplayType nativeDisplay);
77 virtual bool usesDefaultScreen();
78 virtual void screenInit();
79 virtual void screenDestroy();
80 virtual QSizeF physicalScreenSize()
const;
81 virtual QSize screenSize()
const;
82 virtual QDpi logicalDpi()
const;
83 virtual QDpi logicalBaseDpi()
const;
86 virtual int screenDepth()
const;
88 virtual qreal refreshRate()
const;
90 virtual EGLint surfaceType()
const;
92 virtual EGLNativeWindowType createNativeWindow(
QPlatformWindow *platformWindow,
96 virtual void destroyNativeWindow(EGLNativeWindowType
window);
103 virtual int framebufferIndex()
const;
104 virtual bool supportsPBuffers()
const;
105 virtual bool supportsSurfacelessContexts()
const;
106 virtual QFunctionPointer platformFunction(
const QByteArray &
function)
const;
107 virtual void *nativeResourceForIntegration(
const QByteArray &
name);
109 virtual void *wlDisplay()
const;
The QByteArray class provides an array of bytes.
static QStringList keys()
virtual ~QEglFSDeviceIntegration()
QEglFSDeviceIntegration * create(const QString &)
virtual QEglFSDeviceIntegration * create()=0
The QObject class is the base class of all Qt objects.
The QScreen class is used to query screen properties. \inmodule QtGui.
The QSizeF class defines the size of a two-dimensional object using floating point precision.
The QSize class defines the size of a two-dimensional object using integer point precision.
The QString class provides a Unicode character string.
The QStringList class provides a list of strings.
The QWindow class represents a window in the underlying windowing system.
void createWindow(bool noVSync)
typedef EGLDisplay(EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYEXTPROC)(EGLenum platform
QT_END_INCLUDE_NAMESPACE typedef double qreal
QPair< qreal, qreal > QDpi
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLint GLsizei GLsizei GLenum format