diff options
| author | davc0n <dconti.dev@gmail.com> | 2025-05-04 19:21:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-04 19:21:36 +0200 |
| commit | 2626f89ea6fe0df585df28052bf1fcca2c50fe8e (patch) | |
| tree | 6dd030f42e065e1a927ab907222e1efaf21b0bc1 /src/protocols/PresentationTime.hpp | |
| parent | adbae0f74d951e06c575bad3c81a944027dfe413 (diff) | |
protocols: refactor class member vars (n-t) (#10273)
Diffstat (limited to 'src/protocols/PresentationTime.hpp')
| -rw-r--r-- | src/protocols/PresentationTime.hpp | 22 |
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; }; |
