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; }
68 QScopedPointer<QOffscreenX11Info> m_x11Info;
71#if QT_CONFIG(xcb_glx_plugin)
72class QOffscreenX11GLXContextData;
75 ,
public QNativeInterface::QGLXContext
79 ~QOffscreenX11GLXContext();
82 void doneCurrent()
override;
87 bool isSharing()
const override;
88 bool isValid()
const override;
90 GLXContext nativeContext()
const override {
return glxContext(); }
92 void *glxConfig()
const;
93 GLXContext glxContext()
const;
96 QScopedPointer<QOffscreenX11GLXContextData>
d;
~QOffscreenX11Connection()
QOffscreenX11Connection()
QOffscreenX11Info * x11Info()
bool hasCapability(QPlatformIntegration::Capability cap) const override
QOffscreenX11PlatformNativeInterface * nativeInterface() const override
QOffscreenX11Integration(const QStringList ¶mList)
~QOffscreenX11Integration()
The QPlatformOpenGLContext class provides an abstraction for native GL contexts.
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
GLint GLsizei GLsizei GLenum format
const void * getProcAddress