Lines Matching refs:mComposer
98 Device::Device(std::unique_ptr<android::Hwc2::Composer> composer) : mComposer(std::move(composer)) { in Device()
111 mComposer->registerCallback(callbackBridge); in registerCallback()
118 return mComposer->dumpDebugInfo(); in dump()
123 return mComposer->getMaxVirtualDisplayCount(); in getMaxVirtualDisplayCount()
128 auto intError = mComposer->getDisplayIdentificationData(hwcDisplayId, outPort, outData); in getDisplayIdentificationData()
138 auto intError = mComposer->createVirtualDisplay(width, height, in createVirtualDisplay()
145 auto display = std::make_unique<impl::Display>(*mComposer.get(), mCapabilities, displayId, in createVirtualDisplay()
173 auto intError = mComposer->getDisplayType(displayId, in onHotplug()
184 auto newDisplay = std::make_unique<impl::Display>(*mComposer.get(), mCapabilities, in onHotplug()
214 auto capabilities = mComposer->getCapabilities(); in loadCapabilities()
222 return static_cast<Error>(mComposer->executeCommands()); in flushCommands()
259 : mComposer(composer), in Display()
272 auto intError = mComposer.destroyVirtualDisplay(mId); in ~Display()
289 auto intError = mComposer.acceptDisplayChanges(mId); in acceptChanges()
298 auto intError = mComposer.createLayer(mId, &layerId); in createLayer()
304 auto layer = std::make_unique<impl::Layer>(mComposer, mCapabilities, mId, layerId); in createLayer()
323 auto intError = mComposer.getActiveConfig(mId, &configId); in getActiveConfig()
348 auto intError = mComposer.getActiveConfig(mId, &configId); in getActiveConfigIndex()
373 auto intError = mComposer.getChangedCompositionTypes( in getChangedCompositionTypes()
402 auto intError = mComposer.getColorModes(mId, outModes); in getColorModes()
410 std::vector<Hwc2::PerFrameMetadataKey> tmpKeys = mComposer.getPerFrameMetadataKeys(mId); in getSupportedPerFrameMetadata()
446 auto intError = mComposer.getRenderIntents(mId, colorMode, outRenderIntents); in getRenderIntents()
452 auto intError = mComposer.getDataspaceSaturationMatrix(dataspace, outMatrix); in getDataspaceSaturationMatrix()
467 auto intError = mComposer.getDisplayName(mId, outName); in getName()
476 auto intError = mComposer.getDisplayRequests( in getRequests()
519 auto intError = mComposer.getHdrCapabilities(mId, &types, in getHdrCapabilities()
535 auto intError = mComposer.getDisplayedContentSamplingAttributes(mId, outFormat, outDataspace, in getDisplayedContentSamplingAttributes()
543 mComposer.setDisplayContentSamplingEnabled(mId, enabled, componentMask, maxFrames); in setDisplayContentSamplingEnabled()
549 auto intError = mComposer.getDisplayedContentSample(mId, maxFrames, timestamp, outStats); in getDisplayedContentSample()
556 auto intError = mComposer.getReleaseFences(mId, &layerIds, &fenceFds); in getReleaseFences()
587 auto intError = mComposer.presentDisplay(mId, &presentFenceFd); in present()
605 auto intError = mComposer.setActiveConfig(mId, config->getId()); in setActiveConfig()
614 auto intError = mComposer.setClientTarget(mId, slot, target, in setClientTarget()
621 auto intError = mComposer.setColorMode(mId, mode, renderIntent); in setColorMode()
628 auto intError = mComposer.setColorTransform(mId, in setColorTransform()
638 auto intError = mComposer.setOutputBuffer(mId, handle, fenceFd); in setOutputBuffer()
646 auto intError = mComposer.setPowerMode(mId, intMode); in setPowerMode()
652 static_cast<Error>(mComposer.getDisplayCapabilities(mId, &tmpCapabilities)); in setPowerMode()
662 error = static_cast<Error>(mComposer.getDozeSupport(mId, &dozeSupport)); in setPowerMode()
676 auto intError = mComposer.setVsyncEnabled(mId, intEnabled); in setVsyncEnabled()
684 auto intError = mComposer.validateDisplay(mId, &numTypes, &numRequests); in validate()
701 auto intError = mComposer.presentOrValidateDisplay( in presentOrValidate()
720 auto intError = mComposer.setDisplayBrightness(mId, brightness); in setDisplayBrightness()
728 mComposer.setClientTargetSlotCount(mId); in setConnected()
739 auto intError = mComposer.getDisplayAttribute(mId, configId, in getAttribute()
771 auto intError = mComposer.getDisplayConfigs(mId, &configIds); in loadConfigs()
803 : mComposer(composer), in Layer()
814 auto intError = mComposer.destroyLayer(mDisplayId, mId); in ~Layer()
823 auto intError = mComposer.setCursorPosition(mDisplayId, mId, x, y); in setCursorPosition()
836 auto intError = mComposer.setLayerBuffer(mDisplayId, mId, slot, buffer, in setBuffer()
853 intError = mComposer.setLayerSurfaceDamage(mDisplayId, in setSurfaceDamage()
865 intError = mComposer.setLayerSurfaceDamage(mDisplayId, mId, hwcRects); in setSurfaceDamage()
874 auto intError = mComposer.setLayerBlendMode(mDisplayId, mId, intMode); in setBlendMode()
881 auto intError = mComposer.setLayerColor(mDisplayId, mId, hwcColor); in setColor()
888 auto intError = mComposer.setLayerCompositionType( in setCompositionType()
899 auto intError = mComposer.setLayerDataspace(mDisplayId, mId, mDataSpace); in setDataspace()
946 mComposer.setLayerPerFrameMetadata(mDisplayId, mId, perFrameMetadatas)); in setPerFrameMetadata()
953 mComposer.setLayerPerFrameMetadataBlobs(mDisplayId, mId, perFrameMetadataBlobs)); in setPerFrameMetadata()
965 auto intError = mComposer.setLayerDisplayFrame(mDisplayId, mId, hwcRect); in setDisplayFrame()
971 auto intError = mComposer.setLayerPlaneAlpha(mDisplayId, mId, alpha); in setPlaneAlpha()
982 auto intError = mComposer.setLayerSidebandStream(mDisplayId, mId, stream); in setSidebandStream()
990 auto intError = mComposer.setLayerSourceCrop(mDisplayId, mId, hwcRect); in setSourceCrop()
997 auto intError = mComposer.setLayerTransform(mDisplayId, mId, intTransform); in setTransform()
1018 auto intError = mComposer.setLayerVisibleRegion(mDisplayId, mId, hwcRects); in setVisibleRegion()
1024 auto intError = mComposer.setLayerZOrder(mDisplayId, mId, z); in setZOrder()
1030 auto intError = mComposer.setLayerInfo(mDisplayId, mId, type, appId); in setInfo()
1039 auto intError = mComposer.setLayerColorTransform(mDisplayId, mId, matrix.asArray()); in setColorTransform()