Lines Matching refs:display
72 Return<void> onHotplug(Display display, Connection connection) override { in onHotplug() argument
75 mCallback.onComposerHalHotplugEvent(display, event); in onHotplug()
79 Return<void> onRefresh(Display display) override { in onRefresh() argument
80 mCallback.onComposerHalRefresh(display); in onRefresh()
84 Return<void> onVsync(Display display, int64_t timestamp) override { in onVsync() argument
86 mCallback.onComposerHalVsync(display, timestamp, std::nullopt); in onVsync()
93 Return<void> onVsync_2_4(Display display, int64_t timestamp, in onVsync_2_4() argument
96 mCallback.onComposerHalVsync(display, timestamp, vsyncPeriodNanos); in onVsync_2_4()
103 Return<void> onVsyncPeriodTimingChanged(Display display, in onVsyncPeriodTimingChanged() argument
105 mCallback.onComposerHalVsyncPeriodTimingChanged(display, timeline); in onVsyncPeriodTimingChanged()
109 Return<void> onSeamlessPossible(Display display) override { in onSeamlessPossible() argument
110 mCallback.onComposerHalSeamlessPossible(display); in onSeamlessPossible()
360 Error HidlComposer::destroyVirtualDisplay(Display display) { in destroyVirtualDisplay() argument
361 auto ret = mClient->destroyVirtualDisplay(display); in destroyVirtualDisplay()
365 Error HidlComposer::acceptDisplayChanges(Display display) { in acceptDisplayChanges() argument
366 mWriter.selectDisplay(display); in acceptDisplayChanges()
371 Error HidlComposer::createLayer(Display display, Layer* outLayer) { in createLayer() argument
373 mClient->createLayer(display, kMaxLayerBufferCount, in createLayer()
386 Error HidlComposer::destroyLayer(Display display, Layer layer) { in destroyLayer() argument
387 auto ret = mClient->destroyLayer(display, layer); in destroyLayer()
391 Error HidlComposer::getActiveConfig(Display display, Config* outConfig) { in getActiveConfig() argument
393 mClient->getActiveConfig(display, [&](const auto& tmpError, const auto& tmpConfig) { in getActiveConfig()
406 Display display, std::vector<Layer>* outLayers, in getChangedCompositionTypes() argument
408 mReader.takeChangedCompositionTypes(display, outLayers, outTypes); in getChangedCompositionTypes()
412 Error HidlComposer::getColorModes(Display display, std::vector<ColorMode>* outModes) { in getColorModes() argument
416 mClient_2_3->getColorModes_2_3(display, [&](const auto& tmpError, const auto& tmpModes) { in getColorModes()
425 mClient_2_2->getColorModes_2_2(display, [&](const auto& tmpError, const auto& tmpModes) { in getColorModes()
436 mClient->getColorModes(display, [&](const auto& tmpError, const auto& tmpModes) { in getColorModes()
450 Error HidlComposer::getDisplayAttribute(Display display, Config config, in getDisplayAttribute() argument
454 mClient_2_4->getDisplayAttribute_2_4(display, config, attribute, in getDisplayAttribute()
464 mClient->getDisplayAttribute(display, config, in getDisplayAttribute()
479 Error HidlComposer::getDisplayConfigs(Display display, std::vector<Config>* outConfigs) { in getDisplayConfigs() argument
481 mClient->getDisplayConfigs(display, [&](const auto& tmpError, const auto& tmpConfigs) { in getDisplayConfigs()
499 Error HidlComposer::getDisplayName(Display display, std::string* outName) { in getDisplayName() argument
501 mClient->getDisplayName(display, [&](const auto& tmpError, const auto& tmpName) { in getDisplayName()
513 Error HidlComposer::getDisplayRequests(Display display, uint32_t* outDisplayRequestMask, in getDisplayRequests() argument
516 mReader.takeDisplayRequests(display, outDisplayRequestMask, outLayers, outLayerRequestMasks); in getDisplayRequests()
520 Error HidlComposer::getDozeSupport(Display display, bool* outSupport) { in getDozeSupport() argument
522 mClient->getDozeSupport(display, [&](const auto& tmpError, const auto& tmpSupport) { in getDozeSupport()
539 Error HidlComposer::getHdrCapabilities(Display display, std::vector<Hdr>* outHdrTypes, in getHdrCapabilities() argument
544 mClient_2_3->getHdrCapabilities_2_3(display, in getHdrCapabilities()
560 mClient->getHdrCapabilities(display, in getHdrCapabilities()
584 Error HidlComposer::getReleaseFences(Display display, std::vector<Layer>* outLayers, in getReleaseFences() argument
586 mReader.takeReleaseFences(display, outLayers, outReleaseFences); in getReleaseFences()
590 Error HidlComposer::presentDisplay(Display display, int* outPresentFence) { in presentDisplay() argument
592 mWriter.selectDisplay(display); in presentDisplay()
600 mReader.takePresentFence(display, outPresentFence); in presentDisplay()
605 Error HidlComposer::setActiveConfig(Display display, Config config) { in setActiveConfig() argument
606 auto ret = mClient->setActiveConfig(display, config); in setActiveConfig()
610 Error HidlComposer::setClientTarget(Display display, uint32_t slot, const sp<GraphicBuffer>& target, in setClientTarget() argument
614 mWriter.selectDisplay(display); in setClientTarget()
625 Error HidlComposer::setColorMode(Display display, ColorMode mode, RenderIntent renderIntent) { in setColorMode() argument
628 ret = mClient_2_3->setColorMode_2_3(display, mode, renderIntent); in setColorMode()
630 ret = mClient_2_2->setColorMode_2_2(display, static_cast<types::V1_1::ColorMode>(mode), in setColorMode()
633 ret = mClient->setColorMode(display, static_cast<types::V1_0::ColorMode>(mode)); in setColorMode()
638 Error HidlComposer::setColorTransform(Display display, const float* matrix) { in setColorTransform() argument
639 mWriter.selectDisplay(display); in setColorTransform()
647 Error HidlComposer::setOutputBuffer(Display display, const native_handle_t* buffer, in setOutputBuffer() argument
649 mWriter.selectDisplay(display); in setOutputBuffer()
654 Error HidlComposer::setPowerMode(Display display, IComposerClient::PowerMode mode) { in setPowerMode() argument
657 ret = mClient_2_2->setPowerMode_2_2(display, mode); in setPowerMode()
659 ret = mClient->setPowerMode(display, static_cast<V2_1::IComposerClient::PowerMode>(mode)); in setPowerMode()
665 Error HidlComposer::setVsyncEnabled(Display display, IComposerClient::Vsync enabled) { in setVsyncEnabled() argument
666 auto ret = mClient->setVsyncEnabled(display, enabled); in setVsyncEnabled()
670 Error HidlComposer::setClientTargetSlotCount(Display display) { in setClientTargetSlotCount() argument
672 auto ret = mClient->setClientTargetSlotCount(display, bufferSlotCount); in setClientTargetSlotCount()
676 Error HidlComposer::validateDisplay(Display display, nsecs_t /*expectedPresentTime*/, in validateDisplay() argument
680 mWriter.selectDisplay(display); in validateDisplay()
688 mReader.hasChanges(display, outNumTypes, outNumRequests); in validateDisplay()
693 Error HidlComposer::presentOrValidateDisplay(Display display, nsecs_t /*expectedPresentTime*/, in presentOrValidateDisplay() argument
698 mWriter.selectDisplay(display); in presentOrValidateDisplay()
706 mReader.takePresentOrValidateStage(display, state); in presentOrValidateDisplay()
709 mReader.takePresentFence(display, outPresentFence); in presentOrValidateDisplay()
713 mReader.hasChanges(display, outNumTypes, outNumRequests); in presentOrValidateDisplay()
719 Error HidlComposer::setCursorPosition(Display display, Layer layer, int32_t x, int32_t y) { in setCursorPosition() argument
720 mWriter.selectDisplay(display); in setCursorPosition()
726 Error HidlComposer::setLayerBuffer(Display display, Layer layer, uint32_t slot, in setLayerBuffer() argument
728 mWriter.selectDisplay(display); in setLayerBuffer()
740 Error HidlComposer::setLayerBufferSlotsToClear(Display display, Layer layer, in setLayerBufferSlotsToClear() argument
756 mWriter.selectDisplay(display); in setLayerBufferSlotsToClear()
764 mWriter.selectDisplay(display); in setLayerBufferSlotsToClear()
770 Error HidlComposer::setLayerSurfaceDamage(Display display, Layer layer, in setLayerSurfaceDamage() argument
772 mWriter.selectDisplay(display); in setLayerSurfaceDamage()
778 Error HidlComposer::setLayerBlendMode(Display display, Layer layer, in setLayerBlendMode() argument
780 mWriter.selectDisplay(display); in setLayerBlendMode()
804 Display display, Layer layer, in setLayerColor() argument
806 mWriter.selectDisplay(display); in setLayerColor()
823 Display display, Layer layer, in setLayerCompositionType() argument
825 mWriter.selectDisplay(display); in setLayerCompositionType()
831 Error HidlComposer::setLayerDataspace(Display display, Layer layer, Dataspace dataspace) { in setLayerDataspace() argument
832 mWriter.selectDisplay(display); in setLayerDataspace()
838 Error HidlComposer::setLayerDisplayFrame(Display display, Layer layer, in setLayerDisplayFrame() argument
840 mWriter.selectDisplay(display); in setLayerDisplayFrame()
846 Error HidlComposer::setLayerPlaneAlpha(Display display, Layer layer, float alpha) { in setLayerPlaneAlpha() argument
847 mWriter.selectDisplay(display); in setLayerPlaneAlpha()
853 Error HidlComposer::setLayerSidebandStream(Display display, Layer layer, in setLayerSidebandStream() argument
855 mWriter.selectDisplay(display); in setLayerSidebandStream()
861 Error HidlComposer::setLayerSourceCrop(Display display, Layer layer, in setLayerSourceCrop() argument
863 mWriter.selectDisplay(display); in setLayerSourceCrop()
869 Error HidlComposer::setLayerTransform(Display display, Layer layer, Transform transform) { in setLayerTransform() argument
870 mWriter.selectDisplay(display); in setLayerTransform()
876 Error HidlComposer::setLayerVisibleRegion(Display display, Layer layer, in setLayerVisibleRegion() argument
878 mWriter.selectDisplay(display); in setLayerVisibleRegion()
884 Error HidlComposer::setLayerZOrder(Display display, Layer layer, uint32_t z) { in setLayerZOrder() argument
885 mWriter.selectDisplay(display); in setLayerZOrder()
982 Display display, Layer layer, in setLayerPerFrameMetadata() argument
988 mWriter.selectDisplay(display); in setLayerPerFrameMetadata()
995 Display display) { in getPerFrameMetadataKeys() argument
1003 mClient_2_3->getPerFrameMetadataKeys_2_3(display, in getPerFrameMetadataKeys()
1016 ->getPerFrameMetadataKeys(display, [&](const auto& tmpError, const auto& tmpKeys) { in getPerFrameMetadataKeys()
1033 Error HidlComposer::getRenderIntents(Display display, ColorMode colorMode, in getRenderIntents() argument
1052 mClient_2_3->getRenderIntents_2_3(display, colorMode, getRenderIntentsLambda); in getRenderIntents()
1054 mClient_2_2->getRenderIntents(display, static_cast<types::V1_1::ColorMode>(colorMode), in getRenderIntents()
1082 Error HidlComposer::getDisplayIdentificationData(Display display, uint8_t* outPort, in getDisplayIdentificationData() argument
1089 mClient_2_3->getDisplayIdentificationData(display, in getDisplayIdentificationData()
1104 Error HidlComposer::setLayerColorTransform(Display display, Layer layer, const float* matrix) { in setLayerColorTransform() argument
1109 mWriter.selectDisplay(display); in setLayerColorTransform()
1115 Error HidlComposer::getDisplayedContentSamplingAttributes(Display display, PixelFormat* outFormat, in getDisplayedContentSamplingAttributes() argument
1125 mClient_2_3->getDisplayedContentSamplingAttributes(display, in getDisplayedContentSamplingAttributes()
1142 Error HidlComposer::setDisplayContentSamplingEnabled(Display display, bool enabled, in setDisplayContentSamplingEnabled() argument
1150 return mClient_2_3->setDisplayedContentSamplingEnabled(display, enable, componentMask, in setDisplayContentSamplingEnabled()
1154 Error HidlComposer::getDisplayedContentSample(Display display, uint64_t maxFrames, in getDisplayedContentSample() argument
1163 mClient_2_3->getDisplayedContentSample(display, maxFrames, timestamp, in getDisplayedContentSample()
1180 Display display, Layer layer, in setLayerPerFrameMetadataBlobs() argument
1186 mWriter.selectDisplay(display); in setLayerPerFrameMetadataBlobs()
1192 Error HidlComposer::setDisplayBrightness(Display display, float brightness, float, in setDisplayBrightness() argument
1197 return mClient_2_3->setDisplayBrightness(display, brightness); in setDisplayBrightness()
1202 Error HidlComposer::getDisplayCapabilities(Display display, in getDisplayCapabilities() argument
1210 mClient_2_4->getDisplayCapabilities_2_4(display, in getDisplayCapabilities()
1221 ->getDisplayCapabilities(display, [&](const auto& tmpError, const auto& tmpCaps) { in getDisplayCapabilities()
1235 Display display, IComposerClient::DisplayConnectionType* outType) { in getDisplayConnectionType() argument
1242 mClient_2_4->getDisplayConnectionType(display, [&](const auto& tmpError, const auto& tmpType) { in getDisplayConnectionType()
1254 V2_4::Error HidlComposer::getDisplayVsyncPeriod(Display display, VsyncPeriodNanos* outVsyncPeriod) { in getDisplayVsyncPeriod() argument
1261 mClient_2_4->getDisplayVsyncPeriod(display, in getDisplayVsyncPeriod()
1275 Display display, Config config, in setActiveConfigWithConstraints() argument
1284 mClient_2_4->setActiveConfigWithConstraints(display, config, vsyncPeriodChangeConstraints, in setActiveConfigWithConstraints()
1297 V2_4::Error HidlComposer::setAutoLowLatencyMode(Display display, bool on) { in setAutoLowLatencyMode() argument
1303 return mClient_2_4->setAutoLowLatencyMode(display, on); in setAutoLowLatencyMode()
1327 V2_4::Error HidlComposer::setContentType(Display display, in setContentType() argument
1334 return mClient_2_4->setContentType(display, contentType); in setContentType()
1337 V2_4::Error HidlComposer::setLayerGenericMetadata(Display display, Layer layer, in setLayerGenericMetadata() argument
1344 mWriter.selectDisplay(display); in setLayerGenericMetadata()
1397 Display display, ClientTargetPropertyWithBrightness* outClientTargetProperty) { in getClientTargetProperty() argument
1399 mReader.takeClientTargetProperty(display, &property); in getClientTargetProperty()
1400 outClientTargetProperty->display = display; in getClientTargetProperty()
1649 bool CommandReader::hasChanges(Display display, uint32_t* outNumChangedCompositionTypes, in hasChanges() argument
1651 auto found = mReturnData.find(display); in hasChanges()
1667 Display display, std::vector<Layer>* outLayers, in takeChangedCompositionTypes() argument
1669 auto found = mReturnData.find(display); in takeChangedCompositionTypes()
1682 void CommandReader::takeDisplayRequests(Display display, uint32_t* outDisplayRequestMask, in takeDisplayRequests() argument
1685 auto found = mReturnData.find(display); in takeDisplayRequests()
1700 void CommandReader::takeReleaseFences(Display display, std::vector<Layer>* outLayers, in takeReleaseFences() argument
1702 auto found = mReturnData.find(display); in takeReleaseFences()
1715 void CommandReader::takePresentFence(Display display, int* outPresentFence) { in takePresentFence() argument
1716 auto found = mReturnData.find(display); in takePresentFence()
1728 void CommandReader::takePresentOrValidateStage(Display display, uint32_t* state) { in takePresentOrValidateStage() argument
1729 auto found = mReturnData.find(display); in takePresentOrValidateStage()
1739 Display display, IComposerClient::ClientTargetProperty* outClientTargetProperty) { in takeClientTargetProperty() argument
1740 auto found = mReturnData.find(display); in takeClientTargetProperty()