summaryrefslogtreecommitdiffstats
path: root/src/client/qwaylandshmwindow_p.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@digia.com>2014-08-22 12:41:42 +0200
committerLaszlo Agocs <laszlo.agocs@digia.com>2014-08-25 11:50:32 +0200
commitb743fc7a1e6ee680ca89ae17fb6b521178fd09a9 (patch)
tree7f382058a662094671a65bf56b124d2807e707f6 /src/client/qwaylandshmwindow_p.h
parentb98218587757699a2b17cee724b81ca8ea6b402d (diff)
Support RasterGLSurface windows
In an attempt to make QOpenGLWidget and QQuickWidget working on Wayland. Since Qt 5.3 all widget windows are of type RasterGLSurface (given that the plugin reports this capability which wayland will, with this patch). Such a window can behave either like a raster or an OpenGL window. This concept maps badly to platform plugins that have a rigid separation between raster and OpenGL platform window implementations. From now on, the OpenGL window implementation, that is used pretty much always, except for raw RasterSurface windows, must be prepared to behave like a raster window too, which involves having a backingstore. Change-Id: I0226704b8d5893843fcae68059c5fe9ad2f5e761 Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
Diffstat (limited to 'src/client/qwaylandshmwindow_p.h')
-rw-r--r--src/client/qwaylandshmwindow_p.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/client/qwaylandshmwindow_p.h b/src/client/qwaylandshmwindow_p.h
index 83479f313..47ee74269 100644
--- a/src/client/qwaylandshmwindow_p.h
+++ b/src/client/qwaylandshmwindow_p.h
@@ -47,8 +47,6 @@
QT_BEGIN_NAMESPACE
-class QWaylandShmBackingStore;
-
class Q_WAYLAND_CLIENT_EXPORT QWaylandShmWindow : public QWaylandWindow
{
public:
@@ -57,19 +55,8 @@ public:
WindowType windowType() const;
QSurfaceFormat format() const { return QSurfaceFormat(); }
-
- void setBackingStore(QWaylandShmBackingStore *backingStore);
- QWaylandShmBackingStore *backingStore() const;
-
-private:
- QWaylandShmBackingStore *mBackingStore;
};
-inline QWaylandShmBackingStore *QWaylandShmWindow::backingStore() const
-{
- return mBackingStore;
-}
-
QT_END_NAMESPACE
#endif // QWAYLANDSHMWINDOW_H