4#ifndef QWAYLANDBRCMEGLINTEGRATION_H
5#define QWAYLANDBRCMEGLINTEGRATION_H
7#include <QtWaylandClient/private/qwaylandclientbufferintegration_p.h>
8#include <QtWaylandClient/private/wayland-wayland-client-protocol.h>
9#include <wayland-client-core.h>
12#include <EGL/eglext.h>
14#include <EGL/eglext_brcm.h>
16#include <QtCore/qglobal.h>
34 void initialize(QWaylandDisplay *waylandDisplay)
override;
55 static void wlDisplayHandleGlobal(
void *
data,
struct ::wl_registry *registry, uint32_t id,
const QString &interface, uint32_t version);
57 struct wl_display *m_waylandDisplay =
nullptr;
58 struct qt_brcm *m_waylandBrcm =
nullptr;
60 EGLDisplay m_eglDisplay = EGL_NO_DISPLAY;
62 QWaylandDisplay *m_display =
nullptr;
PFNEGLCREATEGLOBALIMAGEBRCMPROC eglCreateGlobalImageBRCM
EGLDisplay eglDisplay() const
QWaylandWindow * createEglWindow(QWindow *window)
PFNEGLDESTROYGLOBALIMAGEBRCMPROC eglDestroyGlobalImageBRCM
PFNEGLFLUSHBRCMPROC eglFlushBRCM
struct qt_brcm * waylandBrcm() const
void * nativeResourceForContext(NativeResource resource, QPlatformOpenGLContext *context) override
QOpenGLContext * createOpenGLContext(EGLContext context, EGLDisplay contextDisplay, QOpenGLContext *shareContext) const override
bool supportsWindowDecoration() const override
void * nativeResource(NativeResource resource) override
QPlatformOpenGLContext * createPlatformOpenGLContext(const QSurfaceFormat &glFormat, QPlatformOpenGLContext *share) const override
~QWaylandBrcmEglIntegration()
bool supportsThreadedOpenGL() const override
void initialize(QWaylandDisplay *waylandDisplay) override
QWaylandBrcmEglIntegration()