summaryrefslogtreecommitdiff
path: root/src/protocols/DRMSyncobj.hpp
diff options
context:
space:
mode:
authordavc0n <dconti.dev@gmail.com>2025-05-04 00:13:29 +0200
committerGitHub <noreply@github.com>2025-05-04 00:13:29 +0200
commitadbae0f74d951e06c575bad3c81a944027dfe413 (patch)
tree4ae313af18629596c7e98518c7c1d2c10bc260a3 /src/protocols/DRMSyncobj.hpp
parent46ac115bd19ee3aff5c816033de0b1d55a74e33f (diff)
protocols: refactor class member vars (a-m) (#10265)
Diffstat (limited to 'src/protocols/DRMSyncobj.hpp')
-rw-r--r--src/protocols/DRMSyncobj.hpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/protocols/DRMSyncobj.hpp b/src/protocols/DRMSyncobj.hpp
index a724258b..ed15b199 100644
--- a/src/protocols/DRMSyncobj.hpp
+++ b/src/protocols/DRMSyncobj.hpp
@@ -43,15 +43,15 @@ class CDRMSyncobjSurfaceResource {
bool good();
private:
- WP<CWLSurfaceResource> surface;
- UP<CWpLinuxDrmSyncobjSurfaceV1> resource;
+ WP<CWLSurfaceResource> m_surface;
+ UP<CWpLinuxDrmSyncobjSurfaceV1> m_resource;
- CDRMSyncPointState pendingAcquire;
- CDRMSyncPointState pendingRelease;
+ CDRMSyncPointState m_pendingAcquire;
+ CDRMSyncPointState m_pendingRelease;
struct {
CHyprSignalListener surfacePrecommit;
- } listeners;
+ } m_listeners;
};
class CDRMSyncobjTimelineResource {
@@ -62,11 +62,11 @@ class CDRMSyncobjTimelineResource {
bool good();
- Hyprutils::OS::CFileDescriptor fd;
- SP<CSyncTimeline> timeline;
+ Hyprutils::OS::CFileDescriptor m_fd;
+ SP<CSyncTimeline> m_timeline;
private:
- UP<CWpLinuxDrmSyncobjTimelineV1> resource;
+ UP<CWpLinuxDrmSyncobjTimelineV1> m_resource;
};
class CDRMSyncobjManagerResource {
@@ -77,7 +77,7 @@ class CDRMSyncobjManagerResource {
bool good();
private:
- UP<CWpLinuxDrmSyncobjManagerV1> resource;
+ UP<CWpLinuxDrmSyncobjManagerV1> m_resource;
};
class CDRMSyncobjProtocol : public IWaylandProtocol {
@@ -93,12 +93,12 @@ class CDRMSyncobjProtocol : public IWaylandProtocol {
void destroyResource(CDRMSyncobjSurfaceResource* resource);
//
- std::vector<UP<CDRMSyncobjManagerResource>> m_vManagers;
- std::vector<UP<CDRMSyncobjTimelineResource>> m_vTimelines;
- std::vector<UP<CDRMSyncobjSurfaceResource>> m_vSurfaces;
+ std::vector<UP<CDRMSyncobjManagerResource>> m_managers;
+ std::vector<UP<CDRMSyncobjTimelineResource>> m_timelines;
+ std::vector<UP<CDRMSyncobjSurfaceResource>> m_surfaces;
//
- int drmFD = -1;
+ int m_drmFD = -1;
friend class CDRMSyncobjManagerResource;
friend class CDRMSyncobjTimelineResource;