Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/drm/drm_output.h
Show All 18 Lines | |||||
19 | *********************************************************************/ | 19 | *********************************************************************/ | ||
20 | #ifndef KWIN_DRM_OUTPUT_H | 20 | #ifndef KWIN_DRM_OUTPUT_H | ||
21 | #define KWIN_DRM_OUTPUT_H | 21 | #define KWIN_DRM_OUTPUT_H | ||
22 | 22 | | |||
23 | #include "abstract_output.h" | 23 | #include "abstract_output.h" | ||
24 | #include "drm_pointer.h" | 24 | #include "drm_pointer.h" | ||
25 | #include "drm_object.h" | 25 | #include "drm_object.h" | ||
26 | #include "drm_object_plane.h" | 26 | #include "drm_object_plane.h" | ||
27 | 27 | | |||
romangg: Remove. Forward declaration is enough. | |||||
28 | #include <QObject> | 28 | #include <QObject> | ||
29 | #include <QPoint> | 29 | #include <QPoint> | ||
30 | #include <QSize> | 30 | #include <QSize> | ||
31 | #include <QVector> | 31 | #include <QVector> | ||
32 | #include <xf86drmMode.h> | 32 | #include <xf86drmMode.h> | ||
33 | 33 | | |||
34 | namespace KWin | 34 | namespace KWin | ||
35 | { | 35 | { | ||
▲ Show 20 Lines • Show All 42 Lines • ▼ Show 20 Line(s) | 77 | bool isDpmsEnabled() const { | |||
78 | // We care for current as well as pending mode in order to allow first present in AMS. | 78 | // We care for current as well as pending mode in order to allow first present in AMS. | ||
79 | return m_dpmsModePending == DpmsMode::On; | 79 | return m_dpmsModePending == DpmsMode::On; | ||
80 | } | 80 | } | ||
81 | 81 | | |||
82 | QByteArray uuid() const { | 82 | QByteArray uuid() const { | ||
83 | return m_uuid; | 83 | return m_uuid; | ||
84 | } | 84 | } | ||
85 | 85 | | |||
86 | const DrmCrtc *crtc() const { | ||||
87 | return m_crtc; | ||||
88 | } | ||||
89 | const DrmPlane *primaryPlane() const { | ||||
90 | return m_primaryPlane; | ||||
91 | } | ||||
92 | | ||||
86 | bool initCursor(const QSize &cursorSize); | 93 | bool initCursor(const QSize &cursorSize); | ||
87 | 94 | | |||
88 | bool supportsTransformations() const; | 95 | bool supportsTransformations() const; | ||
89 | 96 | | |||
90 | Q_SIGNALS: | 97 | Q_SIGNALS: | ||
91 | void dpmsChanged(); | 98 | void dpmsChanged(); | ||
92 | 99 | | |||
93 | private: | 100 | private: | ||
▲ Show 20 Lines • Show All 77 Lines • Show Last 20 Lines |
Remove. Forward declaration is enough.