11#include <QtGui/QOpenGLContext>
12#include <qpa/qplatformopenglcontext.h>
13#include <QtGui/qpa/qplatformscreen.h>
14#include <QtGui/QScreen>
33 QXcbWindow *
createWindow(QWindow *window)
const override;
46 QXcbConnection *m_connection;
47 EGLDisplay m_egl_display;
48 bool m_using_platform_display;
50 QScopedPointer<QXcbEglNativeInterfaceHandler> m_native_interface_handler;
QOpenGLContext * createOpenGLContext(EGLContext context, EGLDisplay display, QOpenGLContext *shareContext) const override
bool supportsThreadedOpenGL() const override
QPlatformOffscreenSurface * createPlatformOffscreenSurface(QOffscreenSurface *surface) const override
QXcbWindow * createWindow(QWindow *window) const override
bool usingPlatformDisplay() const
bool initialize(QXcbConnection *connection) override
xcb_visualid_t getCompatibleVisualId(xcb_screen_t *screen, EGLConfig config) const
EGLDisplay eglDisplay() const
QPlatformOpenGLContext * createPlatformOpenGLContext(QOpenGLContext *context) const override
std::optional< VisualInfo > getVisualInfo(xcb_screen_t *screen, std::optional< xcb_visualid_t > requestedVisualId, std::optional< uint8_t > requestedDepth=std::nullopt)
xcb_visualtype_t visualType