Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/drm/drm_backend.h
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Line(s) | |||||
50 | class OutputChangeSet; | 50 | class OutputChangeSet; | ||
51 | class OutputManagementInterface; | 51 | class OutputManagementInterface; | ||
52 | } | 52 | } | ||
53 | } | 53 | } | ||
54 | 54 | | |||
55 | namespace KWin | 55 | namespace KWin | ||
56 | { | 56 | { | ||
57 | 57 | | |||
58 | namespace ColorCorrect { | ||||
59 | struct GammaRamp; | ||||
60 | } | ||||
61 | | ||||
58 | class Udev; | 62 | class Udev; | ||
59 | class UdevMonitor; | 63 | class UdevMonitor; | ||
60 | 64 | | |||
61 | class DrmOutput; | 65 | class DrmOutput; | ||
62 | class DrmPlane; | 66 | class DrmPlane; | ||
63 | class DrmCrtc; | 67 | class DrmCrtc; | ||
64 | class DrmConnector; | 68 | class DrmConnector; | ||
65 | class GbmSurface; | 69 | class GbmSurface; | ||
▲ Show 20 Lines • Show All 46 Lines • ▼ Show 20 Line(s) | 90 | #endif | |||
112 | } | 116 | } | ||
113 | 117 | | |||
114 | void setGbmDevice(gbm_device *device) { | 118 | void setGbmDevice(gbm_device *device) { | ||
115 | m_gbmDevice = device; | 119 | m_gbmDevice = device; | ||
116 | } | 120 | } | ||
117 | gbm_device *gbmDevice() const { | 121 | gbm_device *gbmDevice() const { | ||
118 | return m_gbmDevice; | 122 | return m_gbmDevice; | ||
119 | } | 123 | } | ||
124 | int gammaRampSize(int screen) const override; | ||||
125 | bool setGammaRamp(int screen, ColorCorrect::GammaRamp &gamma) override; | ||||
120 | 126 | | |||
121 | QVector<CompositingType> supportedCompositors() const override; | 127 | QVector<CompositingType> supportedCompositors() const override; | ||
122 | 128 | | |||
123 | public Q_SLOTS: | 129 | public Q_SLOTS: | ||
124 | void turnOutputsOn(); | 130 | void turnOutputsOn(); | ||
125 | 131 | | |||
126 | Q_SIGNALS: | 132 | Q_SIGNALS: | ||
127 | void outputRemoved(KWin::DrmOutput *output); | 133 | void outputRemoved(KWin::DrmOutput *output); | ||
▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines |