summaryrefslogtreecommitdiffstats
path: root/src/compositor/compositor_api/qwaylandview_p.h
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@theqtcompany.com>2015-09-03 13:55:33 +0200
committerJørgen Lind <jorgen.lind@theqtcompany.com>2015-09-04 16:12:47 +0200
commit82d713d89638ebd49ed87bf5f66362a93607efd8 (patch)
tree226289c668a423d77e94daf886830a9faea05d20 /src/compositor/compositor_api/qwaylandview_p.h
parent7e9b31ecda04aa3ad5eea737c19cf2f204d208da (diff)
Make it possible to discard currentBuffer of a view
This will be convenient if there is a view which copies the currentBuffer to a cache and then wants to release the ref to the buffer Change-Id: I0b7bbb4bc22c420fdf0d1af4bb1bbf0a4f888bc8
Diffstat (limited to 'src/compositor/compositor_api/qwaylandview_p.h')
-rw-r--r--src/compositor/compositor_api/qwaylandview_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compositor/compositor_api/qwaylandview_p.h b/src/compositor/compositor_api/qwaylandview_p.h
index c37cd6b71..b31c37112 100644
--- a/src/compositor/compositor_api/qwaylandview_p.h
+++ b/src/compositor/compositor_api/qwaylandview_p.h
@@ -60,6 +60,7 @@ public:
, output(Q_NULLPTR)
, bufferLock(false)
, broadcastRequestedPositionChanged(false)
+ , forceAdvanceSucceed(false)
{ }
void markSurfaceAsDestroyed(QWaylandSurface *surface);
@@ -75,6 +76,7 @@ public:
QRegion nextDamage;
bool bufferLock;
bool broadcastRequestedPositionChanged;
+ bool forceAdvanceSucceed;
};
QT_END_NAMESPACE