8#include <QtCore/QMutex>
9#include <QtCore/QLoggingCategory>
13Q_DECLARE_LOGGING_CATEGORY(lcQpaWindowEgl);
20 QQnxEglWindow(QWindow *window, screen_context_t context,
bool needRootWindow);
38 void destroyEGLSurface();
40 QSize m_requestedBufferSize;
48 mutable QMutex m_mutex;
50 QAtomicInt m_newSurfaceRequested;
51 EGLDisplay m_eglDisplay;
52 EGLConfig m_eglConfig;
53 EGLSurface m_eglSurface;
54 QSurfaceFormat m_format;
bool isInitialized() const
void resetBuffers() override
QQnxEglWindow(QWindow *window, screen_context_t context, bool needRootWindow)
QSurfaceFormat format() const override
Returns the actual surface format of the window.
int pixelFormat() const override
EGLSurface surface() const
void ensureInitialized(QQnxGLContext *context)
void setGeometry(const QRect &rect) override
This function is called by Qt whenever a window is moved or resized using the QWindow API.
void doneCurrent() override
The QQnxWindow is the base class of the various classes used as instances of QPlatformWindow in the Q...
Q_LOGGING_CATEGORY(lcEventDispatcher, "qt.eventdispatcher")
#define _SCREEN_MAKE_VERSION(major, minor, patch)