Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/drm/drm_backend.cpp
Show First 20 Lines • Show All 126 Lines • ▼ Show 20 Line(s) | |||||
127 | { | 127 | { | ||
128 | writeOutputsConfiguration(); | 128 | writeOutputsConfiguration(); | ||
129 | for (DrmOutput *output : m_outputs) { | 129 | for (DrmOutput *output : m_outputs) { | ||
130 | output->teardown(); | 130 | output->teardown(); | ||
131 | } | 131 | } | ||
132 | Platform::prepareShutdown(); | 132 | Platform::prepareShutdown(); | ||
133 | } | 133 | } | ||
134 | 134 | | |||
135 | Outputs DrmBackend::outputs() const | 135 | QVector<AbstractOutput *> DrmBackend::outputs() const | ||
136 | { | 136 | { | ||
137 | return m_outputs; | 137 | return vector_cast<AbstractOutput *>(m_outputs); | ||
138 | } | 138 | } | ||
139 | 139 | | |||
140 | Outputs DrmBackend::enabledOutputs() const | 140 | QVector<AbstractOutput *> DrmBackend::enabledOutputs() const | ||
141 | { | 141 | { | ||
142 | return m_enabledOutputs; | 142 | return vector_cast<AbstractOutput *>(m_enabledOutputs); | ||
143 | } | 143 | } | ||
144 | 144 | | |||
145 | void DrmBackend::createDpmsFilter() | 145 | void DrmBackend::createDpmsFilter() | ||
146 | { | 146 | { | ||
147 | if (!m_dpmsFilter.isNull()) { | 147 | if (!m_dpmsFilter.isNull()) { | ||
148 | // already another output is off | 148 | // already another output is off | ||
149 | return; | 149 | return; | ||
150 | } | 150 | } | ||
▲ Show 20 Lines • Show All 647 Lines • Show Last 20 Lines |