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 | | ||||
62 | class Udev; | 58 | class Udev; | ||
63 | class UdevMonitor; | 59 | class UdevMonitor; | ||
64 | 60 | | |||
65 | class DrmOutput; | 61 | class DrmOutput; | ||
66 | class DrmPlane; | 62 | class DrmPlane; | ||
67 | class DrmCrtc; | 63 | class DrmCrtc; | ||
68 | class DrmConnector; | 64 | class DrmConnector; | ||
69 | class GbmSurface; | 65 | class GbmSurface; | ||
▲ Show 20 Lines • Show All 43 Lines • ▼ Show 20 Line(s) | 86 | #endif | |||
113 | } | 109 | } | ||
114 | 110 | | |||
115 | void setGbmDevice(gbm_device *device) { | 111 | void setGbmDevice(gbm_device *device) { | ||
116 | m_gbmDevice = device; | 112 | m_gbmDevice = device; | ||
117 | } | 113 | } | ||
118 | gbm_device *gbmDevice() const { | 114 | gbm_device *gbmDevice() const { | ||
119 | return m_gbmDevice; | 115 | return m_gbmDevice; | ||
120 | } | 116 | } | ||
121 | int gammaRampSize(int screen) const override; | | |||
122 | bool setGammaRamp(int screen, ColorCorrect::GammaRamp &gamma) override; | | |||
123 | 117 | | |||
124 | QVector<CompositingType> supportedCompositors() const override; | 118 | QVector<CompositingType> supportedCompositors() const override; | ||
125 | 119 | | |||
126 | QString supportInformation() const override; | 120 | QString supportInformation() const override; | ||
127 | 121 | | |||
128 | public Q_SLOTS: | 122 | public Q_SLOTS: | ||
129 | void turnOutputsOn(); | 123 | void turnOutputsOn(); | ||
130 | 124 | | |||
▲ Show 20 Lines • Show All 59 Lines • Show Last 20 Lines |