• Home
  • Raw
  • Download

Lines Matching refs:displayData

214     auto& displayData = mDisplayData[*displayId];  in onVsync()  local
215 LOG_FATAL_IF(displayData.isVirtual, "%s: Invalid operation on virtual display with ID %s", in onVsync()
223 if (timestamp == displayData.lastHwVsync) { in onVsync()
229 displayData.lastHwVsync = timestamp; in onVsync()
233 ATRACE_INT(tag.c_str(), displayData.vsyncTraceToggle); in onVsync()
234 displayData.vsyncTraceToggle = !displayData.vsyncTraceToggle; in onVsync()
278 auto& displayData = mDisplayData[displayId]; in allocateVirtualDisplay() local
279 displayData.hwcDisplay = std::move(display); in allocateVirtualDisplay()
280 displayData.isVirtual = true; in allocateVirtualDisplay()
294 auto& displayData = mDisplayData[displayId]; in allocatePhysicalDisplay() local
299 displayData.hwcDisplay = std::move(newDisplay); in allocatePhysicalDisplay()
423 auto& displayData = mDisplayData[displayId]; in setActiveColorMode() local
424 auto error = displayData.hwcDisplay->setColorMode(mode, renderIntent); in setActiveColorMode()
435 auto& displayData = mDisplayData[displayId]; in setVsyncEnabled() local
437 LOG_FATAL_IF(displayData.isVirtual, "%s: Invalid operation on virtual display with ID %s", in setVsyncEnabled()
444 std::lock_guard lock(displayData.vsyncEnabledLock); in setVsyncEnabled()
445 if (enabled == displayData.vsyncEnabled) { in setVsyncEnabled()
450 auto error = displayData.hwcDisplay->setVsyncEnabled(enabled); in setVsyncEnabled()
453 displayData.vsyncEnabled = enabled; in setVsyncEnabled()
480 auto& displayData = mDisplayData[displayId]; in getDeviceCompositionChanges() local
481 auto& hwcDisplay = displayData.hwcDisplay; in getDeviceCompositionChanges()
501 displayData.validateWasSkipped = false; in getDeviceCompositionChanges()
512 displayData.releaseFences = std::move(releaseFences); in getDeviceCompositionChanges()
513 displayData.lastPresentFence = outPresentFence; in getDeviceCompositionChanges()
514 displayData.validateWasSkipped = true; in getDeviceCompositionChanges()
515 displayData.presentError = error; in getDeviceCompositionChanges()
573 auto& displayData = mDisplayData[displayId]; in presentAndGetReleaseFences() local
574 auto& hwcDisplay = displayData.hwcDisplay; in presentAndGetReleaseFences()
576 if (displayData.validateWasSkipped) { in presentAndGetReleaseFences()
580 RETURN_IF_HWC_ERROR_FOR("present", displayData.presentError, displayId, UNKNOWN_ERROR); in presentAndGetReleaseFences()
591 auto error = hwcDisplay->present(&displayData.lastPresentFence); in presentAndGetReleaseFences()
598 displayData.releaseFences = std::move(releaseFences); in presentAndGetReleaseFences()
606 const auto& displayData = mDisplayData[displayId]; in setPowerMode() local
607 LOG_FATAL_IF(displayData.isVirtual, "%s: Invalid operation on virtual display with ID %s", in setPowerMode()
614 auto& hwcDisplay = displayData.hwcDisplay; in setPowerMode()
672 auto& displayData = mDisplayData[displayId]; in setColorTransform() local
674 auto error = displayData.hwcDisplay in setColorTransform()
684 auto& displayData = mDisplayData[displayId]; in disconnectDisplay() local
685 const auto hwcDisplayId = displayData.hwcDisplay->getId(); in disconnectDisplay()
700 const auto& displayData = mDisplayData[displayId]; in setOutputBuffer() local
702 LOG_FATAL_IF(!displayData.isVirtual, "%s: Invalid operation on physical display with ID %s", in setOutputBuffer()
705 auto error = displayData.hwcDisplay->setOutputBuffer(buffer, acquireFence); in setOutputBuffer()