diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-06-23 15:37:37 +0200 |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-06-23 15:40:42 +0200 |
commit | 8ab2f3d9bdf1119cc13567c9dd2c74879c0b0ee4 (patch) | |
tree | e3e0ef844725d8b9d79626b98a60cd94a20ebcda /src/plugins/platforms/xcb/qxcbnativeinterface.h | |
parent | 90ac74c771b55dd6f8a9700e28278be446d8dd0d (diff) |
Get declarative and wayland EGL backend working for Qt compositor.
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbnativeinterface.h')
-rw-r--r-- | src/plugins/platforms/xcb/qxcbnativeinterface.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/platforms/xcb/qxcbnativeinterface.h b/src/plugins/platforms/xcb/qxcbnativeinterface.h index 10e3f6350c..e9b1df4511 100644 --- a/src/plugins/platforms/xcb/qxcbnativeinterface.h +++ b/src/plugins/platforms/xcb/qxcbnativeinterface.h @@ -59,6 +59,7 @@ public: EglContext }; + void *nativeResourceForContext(const QByteArray &resourceString, QGuiGLContext *context); void *nativeResourceForWindow(const QByteArray &resourceString, QWindow *window); void *displayForWindow(QWindow *window); @@ -66,7 +67,8 @@ public: void *connectionForWindow(QWindow *window); void *screenForWindow(QWindow *window); void *graphicsDeviceForWindow(QWindow *window); - void *eglContextForWindow(QWindow *window); + + void *eglContextForContext(QGuiGLContext *context); private: static QXcbScreen *qPlatformScreenForWindow(QWindow *window); |