5#include <QtGui/QSurface>
6#include <QtGui/private/qeglconvenience_p.h>
7#include <QtGui/private/qeglpbuffer_p.h>
29 if (
s == EGL_NO_SURFACE) {
36 return static_cast<QEGLPbuffer *
>(surface)->pbuffer();
48 qWarning(
"QEglFSContext: Failed to create temporary native window");
49 return EGL_NO_SURFACE;
71 const char *
renderer =
reinterpret_cast<const char *
>(glGetString(GL_RENDERER));
74 qWarning(
"Running on a software rasterizer (LLVMpipe), expect limited performance.");
82 if (QEglFSCursor *
cursor = qobject_cast<QEglFSCursor *>(
window->screen()->cursor()))
A pbuffer-based implementation of QPlatformOffscreenSurface for EGL.
An EGL context implementation.
virtual void destroyTemporaryOffscreenSurface(EGLSurface surface)
EGLDisplay eglDisplay() const
QSurfaceFormat format() const override
void swapBuffers(QPlatformSurface *surface) override
Reimplement in subclass to native swap buffers calls.
virtual EGLSurface createTemporaryOffscreenSurface()
EGLSurface eglSurfaceForPlatformSurface(QPlatformSurface *surface) override
EGLSurface createTemporaryOffscreenSurface() override
void runGLChecks() override
void swapBuffers(QPlatformSurface *surface) override
Reimplement in subclass to native swap buffers calls.
void destroyTemporaryOffscreenSurface(EGLSurface surface) override
virtual void presentBuffer(QPlatformSurface *surface)
virtual void waitForVSync(QPlatformSurface *surface) const
virtual EGLNativeWindowType createNativeOffscreenWindow(const QSurfaceFormat &format)
virtual void destroyNativeWindow(EGLNativeWindowType window)
The QPlatformOpenGLContext class provides an abstraction for native GL contexts.
SurfaceClass surfaceClass() const
Returns the surface class of this surface.
struct wl_display * display
Combined button and popup list for selecting options.
EGLConfig q_configFromGLFormat(EGLDisplay display, const QSurfaceFormat &format, bool highestPixelFormat, int surfaceType)
QEglFSDeviceIntegration * qt_egl_device_integration()
typedef EGLSurface(EGLAPIENTRYP PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC)(EGLDisplay dpy
typedef EGLDisplay(EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYEXTPROC)(EGLenum platform
GLfloat GLfloat GLfloat w
[0]
GLint GLsizei GLsizei GLenum format
QSvgRenderer * renderer
[0]