4#ifndef QWAYLANDBRCMEGLWINDOW_H
5#define QWAYLANDBRCMEGLWINDOW_H
7#include <QtWaylandClient/private/qwaylandwindow_p.h>
35 void createEglSurfaces();
36 void destroyEglSurfaces();
39 struct wl_egl_window *m_waylandEglWindow =
nullptr;
41 const QWaylandWindow *m_parentWindow =
nullptr;
43 EGLint m_globalImages[3*5];
44 EGLSurface m_eglSurfaces[3];
47 QSurfaceFormat m_format;
49 struct wl_event_queue *m_eventQueue =
nullptr;
EGLDisplay eglDisplay() const
QWaylandWindow * createEglWindow(QWindow *window)
struct qt_brcm * waylandBrcm() const
void * nativeResourceForContext(NativeResource resource, QPlatformOpenGLContext *context) override
QOpenGLContext * createOpenGLContext(EGLContext context, EGLDisplay contextDisplay, QOpenGLContext *shareContext) const override
void * nativeResource(NativeResource resource) override
QPlatformOpenGLContext * createPlatformOpenGLContext(const QSurfaceFormat &glFormat, QPlatformOpenGLContext *share) const override
~QWaylandBrcmEglIntegration()
void initialize(QWaylandDisplay *waylandDisplay) override
QWaylandBrcmEglIntegration()
WindowType windowType() const override
bool makeCurrent(EGLContext context)
void setGeometry(const QRect &rect) override
This function is called by Qt whenever a window is moved or resized using the QWindow API.
QSurfaceFormat format() const override
Returns the actual surface format of the window.
EGLConfig eglConfig() const
EGLContext eglContext() const