summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wayland/qwaylanddisplay.h
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.h
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.h')
-rw-r--r--src/plugins/platforms/wayland/qwaylanddisplay.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/wayland/qwaylanddisplay.h b/src/plugins/platforms/wayland/qwaylanddisplay.h
index 535dcd6..fc26ad2 100644
--- a/src/plugins/platforms/wayland/qwaylanddisplay.h
+++ b/src/plugins/platforms/wayland/qwaylanddisplay.h
@@ -81,6 +81,7 @@ public:
void iterate();
+ struct wl_display *wl_display() const { return mDisplay; }
public slots:
void readEvents(void);
void flushRequests(void);