Lines Matching refs:HWComposer

135 HWComposer::~HWComposer() = default;
139 HWComposer::HWComposer(std::unique_ptr<Hwc2::Composer> composer) in HWComposer() function in android::impl::HWComposer
145 HWComposer::HWComposer(const std::string& composerServiceName) in HWComposer() function in android::impl::HWComposer
146 : HWComposer(std::make_unique<Hwc2::impl::Composer>(composerServiceName)) {} in HWComposer()
148 HWComposer::~HWComposer() { in ~HWComposer()
152 void HWComposer::setCallback(HWC2::ComposerCallback* callback) { in setCallback()
166 bool HWComposer::getDisplayIdentificationData(hal::HWDisplayId hwcDisplayId, uint8_t* outPort, in getDisplayIdentificationData()
179 bool HWComposer::hasCapability(hal::Capability capability) const { in hasCapability()
183 bool HWComposer::hasDisplayCapability(HalDisplayId displayId, in hasDisplayCapability()
189 std::optional<DisplayIdentificationInfo> HWComposer::onHotplug(hal::HWDisplayId hwcDisplayId, in onHotplug()
201 bool HWComposer::updatesDeviceProductInfoOnHotplugReconnect() const { in updatesDeviceProductInfoOnHotplugReconnect()
205 bool HWComposer::onVsync(hal::HWDisplayId hwcDisplayId, int64_t timestamp) { in onVsync()
239 size_t HWComposer::getMaxVirtualDisplayCount() const { in getMaxVirtualDisplayCount()
243 size_t HWComposer::getMaxVirtualDisplayDimension() const { in getMaxVirtualDisplayDimension()
247 bool HWComposer::allocateVirtualDisplay(HalVirtualDisplayId displayId, ui::Size resolution, in allocateVirtualDisplay()
278 void HWComposer::allocatePhysicalDisplay(hal::HWDisplayId hwcDisplayId, in allocatePhysicalDisplay()
296 int32_t HWComposer::getAttribute(hal::HWDisplayId hwcDisplayId, hal::HWConfigId configId, in getAttribute()
306 std::shared_ptr<HWC2::Layer> HWComposer::createLayer(HalDisplayId displayId) { in createLayer()
317 bool HWComposer::isConnected(PhysicalDisplayId displayId) const { in isConnected()
325 std::vector<HWComposer::HWCDisplayMode> HWComposer::getModes(PhysicalDisplayId displayId) const { in getModes()
350 std::optional<hal::HWConfigId> HWComposer::getActiveMode(PhysicalDisplayId displayId) const { in getActiveMode()
368 ui::DisplayConnectionType HWComposer::getDisplayConnectionType(PhysicalDisplayId displayId) const { in getDisplayConnectionType()
383 bool HWComposer::isVsyncPeriodSwitchSupported(PhysicalDisplayId displayId) const { in isVsyncPeriodSwitchSupported()
388 status_t HWComposer::getDisplayVsyncPeriod(PhysicalDisplayId displayId, in getDisplayVsyncPeriod()
404 std::vector<ui::ColorMode> HWComposer::getColorModes(PhysicalDisplayId displayId) const { in getColorModes()
413 status_t HWComposer::setActiveColorMode(PhysicalDisplayId displayId, ui::ColorMode mode, in setActiveColorMode()
427 void HWComposer::setVsyncEnabled(PhysicalDisplayId displayId, hal::Vsync enabled) { in setVsyncEnabled()
453 status_t HWComposer::setClientTarget(HalDisplayId displayId, uint32_t slot, in setClientTarget()
465 status_t HWComposer::getDeviceCompositionChanges( in getDeviceCompositionChanges()
469 std::optional<android::HWComposer::DeviceRequestedChanges>* outChanges) { in getDeviceCompositionChanges()
521 android::HWComposer::DeviceRequestedChanges::ChangedTypes changedTypes; in getDeviceCompositionChanges()
527 android::HWComposer::DeviceRequestedChanges::LayerRequests layerRequests; in getDeviceCompositionChanges()
544 sp<Fence> HWComposer::getPresentFence(HalDisplayId displayId) const { in getPresentFence()
549 sp<Fence> HWComposer::getLayerReleaseFence(HalDisplayId displayId, HWC2::Layer* layer) const { in getLayerReleaseFence()
560 status_t HWComposer::presentAndGetReleaseFences( in presentAndGetReleaseFences()
597 status_t HWComposer::setPowerMode(PhysicalDisplayId displayId, hal::PowerMode mode) { in setPowerMode()
650 status_t HWComposer::setActiveModeWithConstraints( in setActiveModeWithConstraints()
663 status_t HWComposer::setColorTransform(HalDisplayId displayId, const mat4& transform) { in setColorTransform()
676 void HWComposer::disconnectDisplay(HalDisplayId displayId) { in disconnectDisplay()
691 status_t HWComposer::setOutputBuffer(HalVirtualDisplayId displayId, const sp<Fence>& acquireFence, in setOutputBuffer()
704 void HWComposer::clearReleaseFences(HalDisplayId displayId) { in clearReleaseFences()
709 status_t HWComposer::getHdrCapabilities(HalDisplayId displayId, HdrCapabilities* outCapabilities) { in getHdrCapabilities()
718 int32_t HWComposer::getSupportedPerFrameMetadata(HalDisplayId displayId) const { in getSupportedPerFrameMetadata()
723 std::vector<ui::RenderIntent> HWComposer::getRenderIntents(HalDisplayId displayId, in getRenderIntents()
733 mat4 HWComposer::getDataspaceSaturationMatrix(HalDisplayId displayId, ui::Dataspace dataspace) { in getDataspaceSaturationMatrix()
743 status_t HWComposer::getDisplayedContentSamplingAttributes(HalDisplayId displayId, in getDisplayedContentSamplingAttributes()
757 status_t HWComposer::setDisplayContentSamplingEnabled(HalDisplayId displayId, bool enabled, in setDisplayContentSamplingEnabled()
771 status_t HWComposer::getDisplayedContentSample(HalDisplayId displayId, uint64_t maxFrames, in getDisplayedContentSample()
781 std::future<status_t> HWComposer::setDisplayBrightness(PhysicalDisplayId displayId, in setDisplayBrightness()
799 status_t HWComposer::setAutoLowLatencyMode(PhysicalDisplayId displayId, bool on) { in setAutoLowLatencyMode()
812 status_t HWComposer::getSupportedContentTypes( in getSupportedContentTypes()
823 status_t HWComposer::setContentType(PhysicalDisplayId displayId, hal::ContentType contentType) { in setContentType()
837 const std::unordered_map<std::string, bool>& HWComposer::getSupportedLayerGenericMetadata() const { in getSupportedLayerGenericMetadata()
841 void HWComposer::dump(std::string& result) const { in dump()
845 std::optional<PhysicalDisplayId> HWComposer::toPhysicalDisplayId( in toPhysicalDisplayId()
854 std::optional<hal::HWDisplayId> HWComposer::fromPhysicalDisplayId( in fromPhysicalDisplayId()
863 bool HWComposer::shouldIgnoreHotplugConnect(hal::HWDisplayId hwcDisplayId, in shouldIgnoreHotplugConnect()
879 std::optional<DisplayIdentificationInfo> HWComposer::onHotplugConnect( in onHotplugConnect()
937 std::optional<DisplayIdentificationInfo> HWComposer::onHotplugDisconnect( in onHotplugDisconnect()
959 void HWComposer::loadCapabilities() { in loadCapabilities()
967 void HWComposer::loadLayerMetadataSupport() { in loadLayerMetadataSupport()