Lines Matching refs:getHwComposer
514 HWComposer& SurfaceFlinger::getHwComposer() const { in getHwComposer() function in android::SurfaceFlinger
515 return mCompositionEngine->getHwComposer(); in getHwComposer()
659 mCompositionEngine->getHwComposer().registerCallback(this, getBE().mComposerSequenceId); in init()
664 LOG_ALWAYS_FATAL_IF(!getHwComposer().isConnected(*display->getId()), in init()
681 mVrFlinger = dvr::VrFlinger::Create(getHwComposer().getComposer(), in init()
682 getHwComposer() in init()
702 !getHwComposer().hasCapability(HWC2::Capability::PresentFenceIsNotReliable); in init()
719 mRefreshRateConfigs.populate(getHwComposer().getConfigs(*display->getId())); in init()
720 mRefreshRateStats.setConfigMode(getHwComposer().getActiveConfigIndex(*display->getId())); in init()
788 if (!getHwComposer().hasCapability( in getSupportedFrameTimestamps()
827 for (const auto& hwConfig : getHwComposer().getConfigs(*displayId)) { in getDisplayConfigs()
1042 getHwComposer().setActiveConfig(*displayId, mUpcomingActiveConfig.configId); in performSetActiveConfig()
1066 modes = getHwComposer().getColorModes(*displayId); in getDisplayColorModes()
1179 return getHwComposer().getDisplayedContentSamplingAttributes(*display->getId(), outFormat, in getDisplayedContentSamplingAttributes()
1192 return getHwComposer().setDisplayContentSamplingEnabled(*display->getId(), enable, in setDisplayContentSamplingEnabled()
1205 return getHwComposer().getDisplayedContentSample(*display->getId(), maxFrames, timestamp, in getDisplayedContentSample()
1345 getHwComposer().hasDisplayCapability(displayId, HWC2::DisplayCapability::Brightness); in getDisplayBrightnessSupport()
1358 return getHwComposer().setDisplayBrightness(*displayId, brightness); in setDisplayBrightness()
1429 if (!displayId || !getHwComposer().isConnected(*displayId)) { in getVsyncPeriod()
1433 const auto config = getHwComposer().getActiveConfig(*displayId); in getVsyncPeriod()
1447 if (!getHwComposer().onVsync(hwcDisplayId, timestamp)) { in onVsyncReceived()
1451 if (hwcDisplayId != getHwComposer().getInternalHwcDisplayId()) { in onVsyncReceived()
1534 getHwComposer().setVsyncEnabled(*displayId, in setPrimaryVsyncEnabled()
1555 if (vrFlingerRequestsDisplay == getHwComposer().isUsingVrComposer()) { in updateVrFlinger()
1559 if (vrFlingerRequestsDisplay && !getHwComposer().getComposer()->isRemote()) { in updateVrFlinger()
1597 getHwComposer().registerCallback(this, ++getBE().mComposerSequenceId); in updateVrFlinger()
1599 LOG_ALWAYS_FATAL_IF(!getHwComposer().getComposer()->isRemote(), in updateVrFlinger()
1620 mScheduler->setIgnorePresentFences(getHwComposer().isUsingVrComposer() || !hasSyncFramework); in updateVrFlinger()
1762 mHadClientComposition || getHwComposer().hasClientComposition(displayId); in handleMessageRefresh()
1764 mHadDeviceComposition || getHwComposer().hasDeviceComposition(displayId); in handleMessageRefresh()
2028 if (displayDevice && getHwComposer().hasClientComposition(displayDevice->getId())) { in postComposition()
2041 ? getHwComposer().getPresentFence(*displayDevice->getId()) in postComposition()
2074 if (displayDevice && getHwComposer().isConnected(*displayDevice->getId()) && in postComposition()
2086 } else if (displayDevice && getHwComposer().isConnected(*displayDevice->getId())) { in postComposition()
2090 getHwComposer().getRefreshTimestamp(*displayDevice->getId()); in postComposition()
2103 if (displayDevice && getHwComposer().isConnected(*displayDevice->getId()) && in postComposition()
2433 if (display && getHwComposer().isConnected(*display->getId())) { in postFrame()
2451 getHwComposer().presentAndGetReleaseFences(*displayId); in postFramebuffer()
2464 getHwComposer().getLayerReleaseFence(*displayId, hwcState.hwcLayer.get()); in postFramebuffer()
2488 displayId ? getHwComposer().getPresentFence(*displayId) : Fence::NO_FENCE; in postFramebuffer()
2495 getHwComposer().clearReleaseFences(*displayId); in postFramebuffer()
2531 getHwComposer().onHotplug(event.hwcDisplayId, event.connection); in processDisplayHotplugEventsLocked()
2587 std::vector<ColorMode> modes = getHwComposer().getColorModes(*displayId); in setupNewDisplayDeviceInternal()
2594 getHwComposer().getRenderIntents(*displayId, colorMode); in setupNewDisplayDeviceInternal()
2600 getHwComposer().getHdrCapabilities(*displayId, &creationArgs.hdrCapabilities); in setupNewDisplayDeviceInternal()
2602 getHwComposer().getSupportedPerFrameMetadata(*displayId); in setupNewDisplayDeviceInternal()
2638 display->setActiveConfig(getHwComposer().getActiveConfigIndex(*displayId)); in setupNewDisplayDeviceInternal()
2735 if (mUseHwcVirtualDisplays || getHwComposer().isUsingVrComposer()) { in processDisplayChangesLocked()
2748 getHwComposer().allocateVirtualDisplay(width, height, &format); in processDisplayChangesLocked()
2754 new VirtualDisplaySurface(getHwComposer(), displayId, state.surface, in processDisplayChangesLocked()
2769 dispSurface = new FramebufferSurface(getHwComposer(), *displayId, bqConsumer); in processDisplayChangesLocked()
3339 const bool hasClientComposition = getHwComposer().hasClientComposition(displayId); in doComposeSurfaces()
3394 const bool hasDeviceComposition = getHwComposer().hasDeviceComposition(displayId); in doComposeSurfaces()
3396 getHwComposer() in doComposeSurfaces()
4438 getHwComposer().setPowerMode(*displayId, mode); in setPowerModeInternal()
4465 getHwComposer().setPowerMode(*displayId, mode); in setPowerModeInternal()
4471 getHwComposer().setPowerMode(*displayId, mode); in setPowerModeInternal()
4482 getHwComposer().setPowerMode(*displayId, mode); in setPowerModeInternal()
4485 getHwComposer().setPowerMode(*displayId, mode); in setPowerModeInternal()
4739 const auto hwcDisplayId = getHwComposer().fromPhysicalDisplayId(*displayId); in dumpDisplayIdentificationData()
4749 if (!getHwComposer().getDisplayIdentificationData(*hwcDisplayId, &port, &data)) { in dumpDisplayIdentificationData()
4794 std::vector<ColorMode> modes = getHwComposer().getColorModes(*displayId); in dumpWideColorInfo()
4952 displayId && getHwComposer().isConnected(*displayId)) { in dumpAllLocked()
4953 const auto activeConfig = getHwComposer().getActiveConfig(*displayId); in dumpAllLocked()
4995 getHwComposer().dump(result); in dumpAllLocked()
5419 reply->writeBool(getHwComposer().isUsingVrComposer()); in onTransact()