4#ifndef QMINIMALEGLSCREEN_H
5#define QMINIMALEGLSCREEN_H
7#include <qpa/qplatformscreen.h>
9#include <QtCore/QTextStream>
11#include <QtGui/private/qt_egl_p.h>
15class QPlatformOpenGLContext;
32 void createAndSetPlatformContext()
const;
33 void createAndSetPlatformContext();
37 QImage::Format m_format;
38 QPlatformOpenGLContext *m_platformContext;
QMinimalEglScreen(EGLNativeDisplayType display)
QImage::Format format() const override
Reimplement in subclass to return the image format which corresponds to the screen format.
QRect geometry() const override
Reimplement in subclass to return the pixel geometry of the screen.
QPlatformOpenGLContext * platformContext() const
EGLSurface surface() const
int depth() const override
Reimplement in subclass to return current depth of the screen.
WId winId() const override
Reimplement in subclasses to return a handle to the native window.
void setGeometry(const QRect &) override
This function is called by Qt whenever a window is moved or resized using the QWindow API.
QMinimalEglWindow(QWindow *w)