Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/drm/drm_output.h
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Line(s) | 48 | public: | |||
---|---|---|---|---|---|
55 | bool showCursor(); | 55 | bool showCursor(); | ||
56 | bool hideCursor(); | 56 | bool hideCursor(); | ||
57 | void updateCursor(); | 57 | void updateCursor(); | ||
58 | void moveCursor(const QPoint &globalPos); | 58 | void moveCursor(const QPoint &globalPos); | ||
59 | bool init(drmModeConnector *connector); | 59 | bool init(drmModeConnector *connector); | ||
60 | bool present(DrmBuffer *buffer); | 60 | bool present(DrmBuffer *buffer); | ||
61 | void pageFlipped(); | 61 | void pageFlipped(); | ||
62 | 62 | | |||
63 | QSize pixelSize() const override; | | |||
64 | | ||||
65 | // These values are defined by the kernel | 63 | // These values are defined by the kernel | ||
66 | enum class DpmsMode { | 64 | enum class DpmsMode { | ||
67 | On = DRM_MODE_DPMS_ON, | 65 | On = DRM_MODE_DPMS_ON, | ||
68 | Standby = DRM_MODE_DPMS_STANDBY, | 66 | Standby = DRM_MODE_DPMS_STANDBY, | ||
69 | Suspend = DRM_MODE_DPMS_SUSPEND, | 67 | Suspend = DRM_MODE_DPMS_SUSPEND, | ||
70 | Off = DRM_MODE_DPMS_OFF | 68 | Off = DRM_MODE_DPMS_OFF | ||
71 | }; | 69 | }; | ||
72 | bool isDpmsEnabled() const { | 70 | bool isDpmsEnabled() const { | ||
▲ Show 20 Lines • Show All 100 Lines • Show Last 20 Lines |