Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/drm/drm_output.h
Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Line(s) | 47 | public: | |||
---|---|---|---|---|---|
62 | void updateCursor(); | 62 | void updateCursor(); | ||
63 | void moveCursor(const QPoint &globalPos); | 63 | void moveCursor(const QPoint &globalPos); | ||
64 | bool init(drmModeConnector *connector); | 64 | bool init(drmModeConnector *connector); | ||
65 | bool present(DrmBuffer *buffer); | 65 | bool present(DrmBuffer *buffer); | ||
66 | void pageFlipped(); | 66 | void pageFlipped(); | ||
67 | 67 | | |||
68 | QSize pixelSize() const override; | 68 | QSize pixelSize() const override; | ||
69 | 69 | | |||
70 | int currentRefreshRate() const; | | |||
71 | // These values are defined by the kernel | 70 | // These values are defined by the kernel | ||
72 | enum class DpmsMode { | 71 | enum class DpmsMode { | ||
73 | On = DRM_MODE_DPMS_ON, | 72 | On = DRM_MODE_DPMS_ON, | ||
74 | Standby = DRM_MODE_DPMS_STANDBY, | 73 | Standby = DRM_MODE_DPMS_STANDBY, | ||
75 | Suspend = DRM_MODE_DPMS_SUSPEND, | 74 | Suspend = DRM_MODE_DPMS_SUSPEND, | ||
76 | Off = DRM_MODE_DPMS_OFF | 75 | Off = DRM_MODE_DPMS_OFF | ||
77 | }; | 76 | }; | ||
78 | bool isDpmsEnabled() const { | 77 | bool isDpmsEnabled() const { | ||
▲ Show 20 Lines • Show All 94 Lines • Show Last 20 Lines |