summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wayland/qwaylanddisplay.cpp
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2011-03-23 15:57:11 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2011-03-23 16:00:22 (GMT)
commit60941f8fccca4406cbfee826df738bea3d5695d6 (patch)
tree670700fb177a2a4b2610d73826752610e02038ac /src/plugins/platforms/wayland/qwaylanddisplay.cpp
parent11d327e3d2b90a8f1f68675cf1c93a67e26b273b (diff)
downloadQt-60941f8fccca4406cbfee826df738bea3d5695d6.zip
Qt-60941f8fccca4406cbfee826df738bea3d5695d6.tar.gz
Qt-60941f8fccca4406cbfee826df738bea3d5695d6.tar.bz2
Lighthouse: Wayland: Added a xpixmap readback glcontext
It uses a x11 pixmap to render all gl content into, then reads it back using glReadPixels. Then it sends it over the wire like any other shm surface.
Diffstat (limited to 'src/plugins/platforms/wayland/qwaylanddisplay.cpp')
-rw-r--r--src/plugins/platforms/wayland/qwaylanddisplay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/wayland/qwaylanddisplay.cpp b/src/plugins/platforms/wayland/qwaylanddisplay.cpp
index eebc9de..22e38eb 100644
--- a/src/plugins/platforms/wayland/qwaylanddisplay.cpp
+++ b/src/plugins/platforms/wayland/qwaylanddisplay.cpp
@@ -190,7 +190,7 @@ QWaylandDisplay::QWaylandDisplay(void)
QWaylandDisplay::displayHandleGlobal, this);
#ifdef QT_WAYLAND_GL_SUPPORT
- mEglIntegration = QWaylandGLIntegration::createEglIntegration(mDisplay);
+ mEglIntegration = QWaylandGLIntegration::createEglIntegration(this);
#endif
readEvents();