diff options
author | Paul Olav Tvete <paul.tvete@theqtcompany.com> | 2016-03-08 14:45:49 +0100 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@theqtcompany.com> | 2016-03-08 14:45:49 +0100 |
commit | 85428526fb3e5a1605e8df2e009d333193809fae (patch) | |
tree | 08ac5d72c773b2ad9cd27a87e29c5f4055fdbf35 /src/client/qwaylandshmbackingstore_p.h | |
parent | 95ed69bd08f424b80524414fbc0456f315353cf5 (diff) | |
parent | 19260d9846861212881e374229798b3863d1a78d (diff) |
Merge remote-tracking branch 'qt/5.6' into 5.7
Change-Id: Iada0e076ee33e8d39ecc4f40edfd9764ba610c03
Diffstat (limited to 'src/client/qwaylandshmbackingstore_p.h')
-rw-r--r-- | src/client/qwaylandshmbackingstore_p.h | 10 |
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; }; } |