6#include <QtGui/QOffscreenSurface>
7#include <QtGui/private/qeglconvenience_p.h>
25 , m_surface(EGL_NO_SURFACE)
30 qWarning(
"QEglFSOffscreenWindow: Failed to create native window");
34 m_surface = eglCreateWindowSurface(m_display,
config, m_window,
nullptr);
35 if (m_surface != EGL_NO_SURFACE)
41 if (m_surface != EGL_NO_SURFACE)
42 eglDestroySurface(m_display, m_surface);
virtual EGLNativeWindowType createNativeOffscreenWindow(const QSurfaceFormat &format)
virtual void destroyNativeWindow(EGLNativeWindowType window)
QEglFSOffscreenWindow(EGLDisplay display, const QSurfaceFormat &format, QOffscreenSurface *offscreenSurface)
struct wl_display * display
Combined button and popup list for selecting options.
EGLConfig q_configFromGLFormat(EGLDisplay display, const QSurfaceFormat &format, bool highestPixelFormat, int surfaceType)
QSurfaceFormat q_glFormatFromConfig(EGLDisplay display, const EGLConfig config, const QSurfaceFormat &referenceFormat)
QEglFSDeviceIntegration * qt_egl_device_integration()
typedef EGLDisplay(EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYEXTPROC)(EGLenum platform
GLint GLsizei GLsizei GLenum format