Lines Matching refs:HWComposer
79 HWComposer::~HWComposer() = default;
83 HWComposer::HWComposer(std::unique_ptr<Hwc2::Composer> composer) in HWComposer() function in android::impl::HWComposer
89 HWComposer::HWComposer(const std::string& composerServiceName) in HWComposer() function in android::impl::HWComposer
90 : HWComposer(Hwc2::Composer::create(composerServiceName)) {} in HWComposer()
92 HWComposer::~HWComposer() { in ~HWComposer()
96 void HWComposer::setCallback(HWC2::ComposerCallback& callback) { in setCallback()
109 bool HWComposer::getDisplayIdentificationData(hal::HWDisplayId hwcDisplayId, uint8_t* outPort, in getDisplayIdentificationData()
122 bool HWComposer::hasCapability(Capability capability) const { in hasCapability()
126 bool HWComposer::hasDisplayCapability(HalDisplayId displayId, DisplayCapability capability) const { in hasDisplayCapability()
131 std::optional<DisplayIdentificationInfo> HWComposer::onHotplug(hal::HWDisplayId hwcDisplayId, in onHotplug()
143 bool HWComposer::updatesDeviceProductInfoOnHotplugReconnect() const { in updatesDeviceProductInfoOnHotplugReconnect()
147 bool HWComposer::onVsync(hal::HWDisplayId hwcDisplayId, int64_t timestamp) { in onVsync()
179 size_t HWComposer::getMaxVirtualDisplayCount() const { in getMaxVirtualDisplayCount()
183 size_t HWComposer::getMaxVirtualDisplayDimension() const { in getMaxVirtualDisplayDimension()
187 bool HWComposer::allocateVirtualDisplay(HalVirtualDisplayId displayId, ui::Size resolution, in allocateVirtualDisplay()
217 void HWComposer::allocatePhysicalDisplay(hal::HWDisplayId hwcDisplayId, in allocatePhysicalDisplay()
233 int32_t HWComposer::getAttribute(hal::HWDisplayId hwcDisplayId, hal::HWConfigId configId, in getAttribute()
243 std::shared_ptr<HWC2::Layer> HWComposer::createLayer(HalDisplayId displayId) { in createLayer()
254 bool HWComposer::isConnected(PhysicalDisplayId displayId) const { in isConnected()
262 std::vector<HWComposer::HWCDisplayMode> HWComposer::getModes(PhysicalDisplayId displayId) const { in getModes()
287 std::optional<hal::HWConfigId> HWComposer::getActiveMode(PhysicalDisplayId displayId) const { in getActiveMode()
305 ui::DisplayConnectionType HWComposer::getDisplayConnectionType(PhysicalDisplayId displayId) const { in getDisplayConnectionType()
320 bool HWComposer::isVsyncPeriodSwitchSupported(PhysicalDisplayId displayId) const { in isVsyncPeriodSwitchSupported()
325 status_t HWComposer::getDisplayVsyncPeriod(PhysicalDisplayId displayId, in getDisplayVsyncPeriod()
341 std::vector<ui::ColorMode> HWComposer::getColorModes(PhysicalDisplayId displayId) const { in getColorModes()
350 status_t HWComposer::setActiveColorMode(PhysicalDisplayId displayId, ui::ColorMode mode, in setActiveColorMode()
364 void HWComposer::setVsyncEnabled(PhysicalDisplayId displayId, hal::Vsync enabled) { in setVsyncEnabled()
387 status_t HWComposer::setClientTarget(HalDisplayId displayId, uint32_t slot, in setClientTarget()
399 status_t HWComposer::getDeviceCompositionChanges( in getDeviceCompositionChanges()
403 std::optional<android::HWComposer::DeviceRequestedChanges>* outChanges) { in getDeviceCompositionChanges()
469 android::HWComposer::DeviceRequestedChanges::ChangedTypes changedTypes; in getDeviceCompositionChanges()
475 android::HWComposer::DeviceRequestedChanges::LayerRequests layerRequests; in getDeviceCompositionChanges()
492 sp<Fence> HWComposer::getPresentFence(HalDisplayId displayId) const { in getPresentFence()
497 sp<Fence> HWComposer::getLayerReleaseFence(HalDisplayId displayId, HWC2::Layer* layer) const { in getLayerReleaseFence()
508 status_t HWComposer::presentAndGetReleaseFences( in presentAndGetReleaseFences()
547 status_t HWComposer::setPowerMode(PhysicalDisplayId displayId, hal::PowerMode mode) { in setPowerMode()
597 status_t HWComposer::setActiveModeWithConstraints( in setActiveModeWithConstraints()
610 status_t HWComposer::setColorTransform(HalDisplayId displayId, const mat4& transform) { in setColorTransform()
619 void HWComposer::disconnectDisplay(HalDisplayId displayId) { in disconnectDisplay()
635 status_t HWComposer::setOutputBuffer(HalVirtualDisplayId displayId, const sp<Fence>& acquireFence, in setOutputBuffer()
645 void HWComposer::clearReleaseFences(HalDisplayId displayId) { in clearReleaseFences()
650 status_t HWComposer::getHdrCapabilities(HalDisplayId displayId, HdrCapabilities* outCapabilities) { in getHdrCapabilities()
659 int32_t HWComposer::getSupportedPerFrameMetadata(HalDisplayId displayId) const { in getSupportedPerFrameMetadata()
664 std::vector<ui::RenderIntent> HWComposer::getRenderIntents(HalDisplayId displayId, in getRenderIntents()
674 mat4 HWComposer::getDataspaceSaturationMatrix(HalDisplayId displayId, ui::Dataspace dataspace) { in getDataspaceSaturationMatrix()
684 status_t HWComposer::getDisplayedContentSamplingAttributes(HalDisplayId displayId, in getDisplayedContentSamplingAttributes()
698 status_t HWComposer::setDisplayContentSamplingEnabled(HalDisplayId displayId, bool enabled, in setDisplayContentSamplingEnabled()
712 status_t HWComposer::getDisplayedContentSample(HalDisplayId displayId, uint64_t maxFrames, in getDisplayedContentSample()
722 ftl::Future<status_t> HWComposer::setDisplayBrightness( in setDisplayBrightness()
741 bool HWComposer::getValidateSkipped(HalDisplayId displayId) const { in getValidateSkipped()
748 status_t HWComposer::setBootDisplayMode(PhysicalDisplayId displayId, in setBootDisplayMode()
762 status_t HWComposer::clearBootDisplayMode(PhysicalDisplayId displayId) { in clearBootDisplayMode()
775 std::optional<hal::HWConfigId> HWComposer::getPreferredBootDisplayMode( in getPreferredBootDisplayMode()
788 status_t HWComposer::getDisplayDecorationSupport( in getDisplayDecorationSupport()
804 status_t HWComposer::setAutoLowLatencyMode(PhysicalDisplayId displayId, bool on) { in setAutoLowLatencyMode()
817 status_t HWComposer::getSupportedContentTypes( in getSupportedContentTypes()
829 status_t HWComposer::setContentType(PhysicalDisplayId displayId, hal::ContentType contentType) { in setContentType()
843 const std::unordered_map<std::string, bool>& HWComposer::getSupportedLayerGenericMetadata() const { in getSupportedLayerGenericMetadata()
847 void HWComposer::dump(std::string& result) const { in dump()
851 std::optional<PhysicalDisplayId> HWComposer::toPhysicalDisplayId( in toPhysicalDisplayId()
860 std::optional<hal::HWDisplayId> HWComposer::fromPhysicalDisplayId( in fromPhysicalDisplayId()
868 bool HWComposer::shouldIgnoreHotplugConnect(hal::HWDisplayId hwcDisplayId, in shouldIgnoreHotplugConnect()
885 std::optional<DisplayIdentificationInfo> HWComposer::onHotplugConnect( in onHotplugConnect()
943 std::optional<DisplayIdentificationInfo> HWComposer::onHotplugDisconnect( in onHotplugDisconnect()
968 void HWComposer::loadCapabilities() { in loadCapabilities()
976 status_t HWComposer::setIdleTimerEnabled(PhysicalDisplayId displayId, in setIdleTimerEnabled()
991 bool HWComposer::hasDisplayIdleTimerCapability(PhysicalDisplayId displayId) const { in hasDisplayIdleTimerCapability()
996 Hwc2::AidlTransform HWComposer::getPhysicalDisplayOrientation(PhysicalDisplayId displayId) const { in getPhysicalDisplayOrientation()
1006 void HWComposer::loadLayerMetadataSupport() { in loadLayerMetadataSupport()