Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/drm/drm_output.h
| Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Line(s) | 60 | public: | |||
|---|---|---|---|---|---|
| 61 | struct Edid { | 61 | struct Edid { | ||
| 62 | QByteArray eisaId; | 62 | QByteArray eisaId; | ||
| 63 | QByteArray monitorName; | 63 | QByteArray monitorName; | ||
| 64 | QByteArray serialNumber; | 64 | QByteArray serialNumber; | ||
| 65 | QSize physicalSize; | 65 | QSize physicalSize; | ||
| 66 | }; | 66 | }; | ||
| 67 | virtual ~DrmOutput(); | 67 | virtual ~DrmOutput(); | ||
| 68 | void releaseGbm(); | 68 | void releaseGbm(); | ||
| 69 | void showCursor(DrmDumbBuffer *buffer); | 69 | bool showCursor(DrmDumbBuffer *buffer); | ||
| 70 | void showCursor(); | 70 | bool showCursor(); | ||
| 71 | void hideCursor(); | 71 | bool hideCursor(); | ||
| 72 | void updateCursor(); | 72 | void updateCursor(); | ||
graesslin: as we don't use the return value, I suggest to turn it into bool | |||||
| 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. | 79 | * Enable or disable the output. | ||
| 80 | * This differs from setDpms as it also | 80 | * This differs from setDpms as it also | ||
| ▲ Show 20 Lines • Show All 142 Lines • Show Last 20 Lines | |||||
as we don't use the return value, I suggest to turn it into bool