Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/fbdev/fb_backend.cpp
Show First 20 Lines • Show All 260 Lines • ▼ Show 20 Line(s) | 255 | } else if (m_bitsPerPixel == 16 && | |||
---|---|---|---|---|---|
261 | m_red.offset == 11) { | 261 | m_red.offset == 11) { | ||
262 | qCDebug(KWIN_FB) << "Framebuffer Format is RGB16"; | 262 | qCDebug(KWIN_FB) << "Framebuffer Format is RGB16"; | ||
263 | m_imageFormat = QImage::Format_RGB16; | 263 | m_imageFormat = QImage::Format_RGB16; | ||
264 | } else { | 264 | } else { | ||
265 | qCWarning(KWIN_FB) << "Framebuffer format is unknown"; | 265 | qCWarning(KWIN_FB) << "Framebuffer format is unknown"; | ||
266 | } | 266 | } | ||
267 | } | 267 | } | ||
268 | 268 | | |||
269 | Outputs FramebufferBackend::outputs() const | 269 | QVector<AbstractOutput *> FramebufferBackend::outputs() const | ||
270 | { | 270 | { | ||
271 | return m_outputs; | 271 | return vector_cast<AbstractOutput *>(m_outputs); | ||
272 | } | 272 | } | ||
273 | 273 | | |||
274 | Outputs FramebufferBackend::enabledOutputs() const | 274 | QVector<AbstractOutput *> FramebufferBackend::enabledOutputs() const | ||
275 | { | 275 | { | ||
276 | return m_outputs; | 276 | return vector_cast<AbstractOutput *>(m_outputs); | ||
277 | } | 277 | } | ||
278 | 278 | | |||
279 | } | 279 | } |