Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/drm/drm_output.h
Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Line(s) | 60 | public: | |||
---|---|---|---|---|---|
71 | void hideCursor(); | 71 | void hideCursor(); | ||
72 | void updateCursor(); | 72 | void updateCursor(); | ||
73 | void moveCursor(const QPoint &globalPos); | 73 | void moveCursor(const QPoint &globalPos); | ||
74 | bool init(drmModeConnector *connector); | 74 | bool init(drmModeConnector *connector); | ||
75 | bool present(DrmBuffer *buffer); | 75 | bool present(DrmBuffer *buffer); | ||
76 | void pageFlipped(); | 76 | void pageFlipped(); | ||
77 | 77 | | |||
78 | /** | 78 | /** | ||
79 | * Enable or disable the output. | ||||
80 | * This differs from setDpms as it also | ||||
81 | * removes the wl_output | ||||
82 | * The default is on | ||||
83 | */ | ||||
84 | void setEnabled(bool enabled); | ||||
85 | bool isEnabled() const; | ||||
86 | | ||||
87 | /** | ||||
79 | * This sets the changes and tests them against the DRM output | 88 | * This sets the changes and tests them against the DRM output | ||
80 | */ | 89 | */ | ||
81 | void setChanges(KWayland::Server::OutputChangeSet *changeset); | 90 | void setChanges(KWayland::Server::OutputChangeSet *changeset); | ||
82 | bool commitChanges(); | 91 | bool commitChanges(); | ||
83 | 92 | | |||
84 | QSize pixelSize() const; | 93 | QSize pixelSize() const; | ||
85 | qreal scale() const; | 94 | qreal scale() const; | ||
86 | 95 | | |||
▲ Show 20 Lines • Show All 119 Lines • Show Last 20 Lines |