summaryrefslogtreecommitdiffstats
path: root/src/client/qwaylandshmbackingstore_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/qwaylandshmbackingstore_p.h')
-rw-r--r--src/client/qwaylandshmbackingstore_p.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/client/qwaylandshmbackingstore_p.h b/src/client/qwaylandshmbackingstore_p.h
index 44047909a..e403af315 100644
--- a/src/client/qwaylandshmbackingstore_p.h
+++ b/src/client/qwaylandshmbackingstore_p.h
@@ -57,6 +57,7 @@
#include <QtGui/QImage>
#include <qpa/qplatformwindow.h>
#include <QMutex>
+#include <QLinkedList>
QT_BEGIN_NAMESPACE
@@ -113,22 +114,17 @@ public:
private:
void updateDecorations();
+ QWaylandShmBuffer *getBuffer(const QSize &size);
QWaylandDisplay *mDisplay;
+ QLinkedList<QWaylandShmBuffer *> mBuffers;
QWaylandShmBuffer *mFrontBuffer;
QWaylandShmBuffer *mBackBuffer;
- bool mFrontBufferIsDirty;
bool mPainting;
QMutex mMutex;
QSize mRequestedSize;
Qt::WindowFlags mCurrentWindowFlags;
-
- static const struct wl_callback_listener frameCallbackListener;
- static void done(void *data,
- struct wl_callback *callback,
- uint32_t time);
- struct wl_callback *mFrameCallback;
};
}