15#ifndef QWAYLANDGLCONTEXT_H
16#define QWAYLANDGLCONTEXT_H
20#include <QtWaylandClient/private/qwaylanddisplay_p.h>
21#include <QtGui/private/qeglplatformcontext_p.h>
22#include <qpa/qplatformopenglcontext.h>
31class QWaylandEglWindow;
32class DecorationsBlitter;
42 void doneCurrent()
override;
44 void beginFrame()
override;
45 void endFrame()
override;
53 EGLSurface createTemporaryOffscreenSurface()
override;
54 void destroyTemporaryOffscreenSurface(
EGLSurface surface)
override;
58 EGLContext m_decorationsContext;
60 bool m_supportNonBlockingSwap =
true;
62 wl_surface *m_wlSurface =
nullptr;
63 wl_egl_window *m_eglWindow =
nullptr;
An EGL context implementation.
The QOpenGLShaderProgram class allows OpenGL shader programs to be linked and used.
The QPlatformOpenGLContext class provides an abstraction for native GL contexts.
struct wl_display * display
Combined button and popup list for selecting options.
typedef EGLSurface(EGLAPIENTRYP PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC)(EGLDisplay dpy
typedef EGLDisplay(EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYEXTPROC)(EGLenum platform
GLint GLsizei GLsizei GLenum format
const void * getProcAddress