diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2011-03-23 16:57:11 +0100 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2011-03-23 17:00:22 +0100 |
commit | 0b1786e7314c733cce8fc558df646ea9470ed2cf (patch) | |
tree | a035cb6895a14e639e00a1e6315932348b713421 /src/plugins/platforms/wayland/qwaylandshmwindow.cpp | |
parent | f480bfbd2436727f5b4acf34af43184c4029a5e3 (diff) |
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/qwaylandshmwindow.cpp')
-rw-r--r-- | src/plugins/platforms/wayland/qwaylandshmwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/wayland/qwaylandshmwindow.cpp b/src/plugins/platforms/wayland/qwaylandshmwindow.cpp index d7c44a4e5..2808ed65c 100644 --- a/src/plugins/platforms/wayland/qwaylandshmwindow.cpp +++ b/src/plugins/platforms/wayland/qwaylandshmwindow.cpp @@ -43,6 +43,8 @@ #include "qwaylandbuffer.h" +#include <QtCore/QVector> + QWaylandShmWindow::QWaylandShmWindow(QWidget *widget) : QWaylandWindow(widget) , mBuffer(0) |