11class QOhosEGLPlatformContext final :
public QEGLPlatformContext
14 using QEGLPlatformContext::QEGLPlatformContext;
17 QSurfaceFormat format = QSurfaceFormat::defaultFormat();
18 EGLDisplay display = eglGetDisplay(EGL_DEFAULT_DISPLAY);
19 QPlatformOpenGLContext *optionalShareContext{
nullptr};
20 EGLConfig *optionalConfig =
nullptr;
21 Flags optionalFlags = Flags{};
24 QOhosEGLPlatformContext(
const QSurfaceFormat &format, QPlatformOpenGLContext *share, EGLDisplay display);
27 void swapBuffers(QPlatformSurface *surface) override;
30 EGLSurface eglSurfaceForPlatformSurface(QPlatformSurface *surface) final;