Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/drm/drm_output.h
Show First 20 Lines • Show All 66 Lines • ▼ Show 20 Line(s) | 64 | enum class DpmsMode { | |||
---|---|---|---|---|---|
67 | Suspend = DRM_MODE_DPMS_SUSPEND, | 67 | Suspend = DRM_MODE_DPMS_SUSPEND, | ||
68 | Off = DRM_MODE_DPMS_OFF | 68 | Off = DRM_MODE_DPMS_OFF | ||
69 | }; | 69 | }; | ||
70 | bool isDpmsEnabled() const { | 70 | bool isDpmsEnabled() const { | ||
71 | // We care for current as well as pending mode in order to allow first present in AMS. | 71 | // We care for current as well as pending mode in order to allow first present in AMS. | ||
72 | return m_dpmsModePending == DpmsMode::On; | 72 | return m_dpmsModePending == DpmsMode::On; | ||
73 | } | 73 | } | ||
74 | 74 | | |||
75 | QByteArray uuid() const { | | |||
76 | return m_uuid; | | |||
77 | } | | |||
78 | | ||||
79 | const DrmCrtc *crtc() const { | 75 | const DrmCrtc *crtc() const { | ||
80 | return m_crtc; | 76 | return m_crtc; | ||
81 | } | 77 | } | ||
82 | const DrmPlane *primaryPlane() const { | 78 | const DrmPlane *primaryPlane() const { | ||
83 | return m_primaryPlane; | 79 | return m_primaryPlane; | ||
84 | } | 80 | } | ||
85 | 81 | | |||
86 | bool initCursor(const QSize &cursorSize); | 82 | bool initCursor(const QSize &cursorSize); | ||
▲ Show 20 Lines • Show All 84 Lines • Show Last 20 Lines |