46 #include <QtCore/QDebug> 57 , mWaylandDisplay(waylandDispaly)
59 qDebug() <<
"Using XComposite-GLX";
109 if (strcmp(interface,
"wl_xcomposite") == 0) {
122 integration->
mDisplay = XOpenDisplay(display_name);
QPointer< QWidget > widget
static void wlDisplayHandleGlobal(struct wl_display *display, uint32_t id, const char *interface, uint32_t version, void *data)
Display * xDisplay() const
QWaylandDisplay * waylandDisplay() const
QWaylandDisplay * mWaylandDisplay
Q_CORE_EXPORT void qDebug(const char *,...)
Q_GUI_EXPORT EGLDisplay display()
struct wl_xcomposite * waylandXComposite() const
~QWaylandXCompositeGLXIntegration()
static const char * data(const QByteArray &arr)
static struct wl_xcomposite * wl_xcomposite_create(struct wl_display *display, uint32_t id, uint32_t version)
static QWaylandGLIntegration * createGLIntegration(QWaylandDisplay *waylandDisplay)
QWaylandXCompositeGLXIntegration(QWaylandDisplay *waylandDispaly)
static const struct wl_xcomposite_listener xcomposite_listener
Window rootWindow() const
static int wl_xcomposite_add_listener(struct wl_xcomposite *wl_xcomposite, const struct wl_xcomposite_listener *listener, void *data)
struct wl_xcomposite * mWaylandComposite
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
QWaylandWindow * createEglWindow(QWidget *widget)
struct wl_display * wl_display() const
static void rootInformation(void *data, struct wl_xcomposite *xcomposite, const char *display_name, uint32_t root_window)