Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/hwcomposer/hwcomposer_backend.cpp
Show First 20 Lines • Show All 476 Lines • ▼ Show 20 Line(s) | 460 | { | |||
---|---|---|---|---|---|
477 | if (m_list[0]->retireFenceFd != -1) { | 477 | if (m_list[0]->retireFenceFd != -1) { | ||
478 | close(m_list[0]->retireFenceFd); | 478 | close(m_list[0]->retireFenceFd); | ||
479 | m_list[0]->retireFenceFd = -1; | 479 | m_list[0]->retireFenceFd = -1; | ||
480 | } | 480 | } | ||
481 | m_list[0]->flags = 0; | 481 | m_list[0]->flags = 0; | ||
482 | } | 482 | } | ||
483 | 483 | | |||
484 | HwcomposerOutput::HwcomposerOutput(hwc_composer_device_1_t *device) | 484 | HwcomposerOutput::HwcomposerOutput(hwc_composer_device_1_t *device) | ||
485 | : AbstractOutput() | 485 | : AbstractWaylandOutput() | ||
486 | , m_device(device) | 486 | , m_device(device) | ||
487 | { | 487 | { | ||
488 | uint32_t configs[5]; | 488 | uint32_t configs[5]; | ||
489 | size_t numConfigs = 5; | 489 | size_t numConfigs = 5; | ||
490 | if (device->getDisplayConfigs(device, 0, configs, &numConfigs) != 0) { | 490 | if (device->getDisplayConfigs(device, 0, configs, &numConfigs) != 0) { | ||
491 | qCWarning(KWIN_HWCOMPOSER) << "Failed to get hwcomposer display configurations"; | 491 | qCWarning(KWIN_HWCOMPOSER) << "Failed to get hwcomposer display configurations"; | ||
492 | return; | 492 | return; | ||
493 | } | 493 | } | ||
▲ Show 20 Lines • Show All 64 Lines • Show Last 20 Lines |