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 49 Lines • ▼ Show 20 Line(s) | 90 | #endif | |||
115 | } | 119 | } | ||
116 | 120 | | |||
117 | void setGbmDevice(gbm_device *device) { | 121 | void setGbmDevice(gbm_device *device) { | ||
118 | m_gbmDevice = device; | 122 | m_gbmDevice = device; | ||
119 | } | 123 | } | ||
120 | gbm_device *gbmDevice() const { | 124 | gbm_device *gbmDevice() const { | ||
121 | return m_gbmDevice; | 125 | return m_gbmDevice; | ||
122 | } | 126 | } | ||
127 | int gammaRampSize(int screen) const override; | ||||
128 | bool setGammaRamp(int screen, ColorCorrect::GammaRamp &gamma) override; | ||||
123 | 129 | | |||
124 | QVector<CompositingType> supportedCompositors() const override; | 130 | QVector<CompositingType> supportedCompositors() const override; | ||
125 | 131 | | |||
126 | QString supportInformation() const override; | 132 | QString supportInformation() const override; | ||
127 | 133 | | |||
128 | public Q_SLOTS: | 134 | public Q_SLOTS: | ||
129 | void turnOutputsOn(); | 135 | void turnOutputsOn(); | ||
130 | 136 | | |||
▲ Show 20 Lines • Show All 63 Lines • Show Last 20 Lines |