4#ifndef QOFFSCREENINTEGRATION_X11_H
5#define QOFFSCREENINTEGRATION_X11_H
13#include <qpa/qplatformopenglcontext.h>
14#include <QtGui/qguiapplication.h>
23 ,
public QNativeInterface::QX11Application
31#if !defined(QT_NO_OPENGL) && QT_CONFIG(xcb_glx_plugin)
36 xcb_connection_t *
connection()
const override {
return nullptr; };
48#if !defined(QT_NO_OPENGL) && QT_CONFIG(xcb_glx_plugin)
61 void *
display()
const {
return m_display; }
71#if QT_CONFIG(xcb_glx_plugin)
72class QOffscreenX11GLXContextData;
75 ,
public QNativeInterface::QGLXContext
79 ~QOffscreenX11GLXContext();
90 GLXContext nativeContext()
const override {
return glxContext(); }
92 void *glxConfig()
const;
93 GLXContext glxContext()
const;
~QOffscreenX11Connection()
QOffscreenX11Connection()
QOffscreenX11Info * x11Info()
bool hasCapability(QPlatformIntegration::Capability cap) const override
QOffscreenX11PlatformNativeInterface * nativeInterface() const override
~QOffscreenX11Integration()
The QPlatformOpenGLContext class provides an abstraction for native GL contexts.
virtual QSurfaceFormat format() const =0
virtual bool makeCurrent(QPlatformSurface *surface)=0
virtual bool isSharing() const
virtual void swapBuffers(QPlatformSurface *surface)=0
Reimplement in subclass to native swap buffers calls.
virtual void doneCurrent()=0
virtual bool isValid() const
The QScreen class is used to query screen properties. \inmodule QtGui.
struct wl_display * display
Combined button and popup list for selecting options.
DBusConnection * connection
const void * getProcAddress