summaryrefslogtreecommitdiff
path: root/src/protocols/PresentationTime.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocols/PresentationTime.hpp')
-rw-r--r--src/protocols/PresentationTime.hpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/protocols/PresentationTime.hpp b/src/protocols/PresentationTime.hpp
index aa93068b..a7b13a77 100644
--- a/src/protocols/PresentationTime.hpp
+++ b/src/protocols/PresentationTime.hpp
@@ -19,13 +19,13 @@ class CQueuedPresentationData {
void presented();
void discarded();
- bool done = false;
+ bool m_done = false;
private:
- bool wasPresented = false;
- bool zeroCopy = false;
- PHLMONITORREF pMonitor;
- WP<CWLSurfaceResource> surface;
+ bool m_wasPresented = false;
+ bool m_zeroCopy = false;
+ PHLMONITORREF m_monitor;
+ WP<CWLSurfaceResource> m_surface;
friend class CPresentationFeedback;
friend class CPresentationProtocol;
@@ -40,9 +40,9 @@ class CPresentationFeedback {
void sendQueued(SP<CQueuedPresentationData> data, const Time::steady_tp& when, uint32_t untilRefreshNs, uint64_t seq, uint32_t reportedFlags);
private:
- SP<CWpPresentationFeedback> resource;
- WP<CWLSurfaceResource> surface;
- bool done = false;
+ SP<CWpPresentationFeedback> m_resource;
+ WP<CWLSurfaceResource> m_surface;
+ bool m_done = false;
friend class CPresentationProtocol;
};
@@ -62,9 +62,9 @@ class CPresentationProtocol : public IWaylandProtocol {
void onGetFeedback(CWpPresentation* pMgr, wl_resource* surf, uint32_t id);
//
- std::vector<UP<CWpPresentation>> m_vManagers;
- std::vector<SP<CPresentationFeedback>> m_vFeedbacks;
- std::vector<SP<CQueuedPresentationData>> m_vQueue;
+ std::vector<UP<CWpPresentation>> m_managers;
+ std::vector<SP<CPresentationFeedback>> m_feedbacks;
+ std::vector<SP<CQueuedPresentationData>> m_queue;
friend class CPresentationFeedback;
};