Lines Matching refs:mId
74 mId(id), in Config()
104 : mComposer(composer), mCapabilities(capabilities), mId(id), mType(type) { in Display()
120 error = static_cast<Error>(mComposer.destroyVirtualDisplay(mId)); in ~Display()
129 mId, static_cast<int32_t>(error)); in ~Display()
131 ALOGV("Destroyed display %" PRIu64, mId); in ~Display()
137 auto intError = mComposer.acceptDisplayChanges(mId); in acceptChanges()
146 auto intError = mComposer.createLayer(mId, &layerId); in createLayer()
152 auto layer = std::make_unique<impl::Layer>(mComposer, mCapabilities, mId, layerId); in createLayer()
169 ALOGV("[%" PRIu64 "] getActiveConfig", mId); in getActiveConfig()
171 auto intError = mComposer.getActiveConfig(mId, &configId); in getActiveConfig()
175 ALOGE("Unable to get active config for mId:[%" PRIu64 "]", mId); in getActiveConfig()
183 ALOGE("[%" PRIu64 "] getActiveConfig returned unknown config %u", mId, in getActiveConfig()
194 ALOGV("[%" PRIu64 "] isVsyncPeriodSwitchSupported()", mId); in isVsyncPeriodSwitchSupported()
200 ALOGV("[%" PRIu64 "] getDisplayVsyncPeriod", mId); in getDisplayVsyncPeriod()
206 auto intError = mComposer.getDisplayVsyncPeriod(mId, &vsyncPeriodNanos); in getDisplayVsyncPeriod()
228 ALOGV("[%" PRIu64 "] getActiveConfigIndex", mId); in getActiveConfigIndex()
230 auto intError = mComposer.getActiveConfig(mId, &configId); in getActiveConfigIndex()
234 ALOGE("Unable to get active config for mId:[%" PRIu64 "]", mId); in getActiveConfigIndex()
242 ALOGV("[%" PRIu64 "] index = %d", mId, *outIndex); in getActiveConfigIndex()
244 ALOGE("[%" PRIu64 "] getActiveConfig returned unknown config %u", mId, configId); in getActiveConfigIndex()
257 mId, &layerIds, &types); in getChangedCompositionTypes()
276 " on display %" PRIu64, layerIds[element], mId); in getChangedCompositionTypes()
285 auto intError = mComposer.getColorModes(mId, outModes); in getColorModes()
293 std::vector<Hwc2::PerFrameMetadataKey> tmpKeys = mComposer.getPerFrameMetadataKeys(mId); in getSupportedPerFrameMetadata()
329 auto intError = mComposer.getRenderIntents(mId, colorMode, outRenderIntents); in getRenderIntents()
350 auto intError = mComposer.getDisplayName(mId, outName); in getName()
360 mId, &intDisplayRequests, &layerIds, &layerRequests); in getRequests()
378 PRIu64, layerIds[element], mId); in getRequests()
390 const auto error = static_cast<Error>(mComposer.getDisplayConnectionType(mId, &connectionType)); in getConnectionType()
412 auto intError = mComposer.getHdrCapabilities(mId, &types, in getHdrCapabilities()
428 auto intError = mComposer.getDisplayedContentSamplingAttributes(mId, outFormat, outDataspace, in getDisplayedContentSamplingAttributes()
436 mComposer.setDisplayContentSamplingEnabled(mId, enabled, componentMask, maxFrames); in setDisplayContentSamplingEnabled()
442 auto intError = mComposer.getDisplayedContentSample(mId, maxFrames, timestamp, outStats); in getDisplayedContentSample()
449 auto intError = mComposer.getReleaseFences(mId, &layerIds, &fenceFds); in getReleaseFences()
465 " found on display %" PRIu64, layerIds[element], mId); in getReleaseFences()
480 auto intError = mComposer.presentDisplay(mId, &presentFenceFd); in present()
493 ALOGV("[%" PRIu64 "] setActiveConfigWithConstraints", mId); in setActiveConfigWithConstraints()
494 if (config->getDisplayId() != mId) { in setActiveConfigWithConstraints()
497 config->getId(), config->getDisplayId(), mId); in setActiveConfigWithConstraints()
508 mComposer.setActiveConfigWithConstraints(mId, config->getId(), hwc2Constraints, in setActiveConfigWithConstraints()
523 auto intError_2_4 = mComposer.setActiveConfig(mId, config->getId()); in setActiveConfigWithConstraints()
532 if (config->getDisplayId() != mId) { in setActiveConfig()
535 config->getDisplayId(), mId); in setActiveConfig()
538 auto intError = mComposer.setActiveConfig(mId, config->getId()); in setActiveConfig()
547 auto intError = mComposer.setClientTarget(mId, slot, target, in setClientTarget()
554 auto intError = mComposer.setColorMode(mId, mode, renderIntent); in setColorMode()
559 auto intError = mComposer.setColorTransform(mId, matrix.asArray(), hint); in setColorTransform()
568 auto intError = mComposer.setOutputBuffer(mId, handle, fenceFd); in setOutputBuffer()
576 auto intError = mComposer.setPowerMode(mId, intMode); in setPowerMode()
582 static_cast<Error>(mComposer.getDisplayCapabilities(mId, &tmpCapabilities)); in setPowerMode()
592 error = static_cast<Error>(mComposer.getDozeSupport(mId, &dozeSupport)); in setPowerMode()
606 auto intError = mComposer.setVsyncEnabled(mId, intEnabled); in setVsyncEnabled()
614 auto intError = mComposer.validateDisplay(mId, &numTypes, &numRequests); in validate()
632 mId, &numTypes, &numRequests, &presentFenceFd, state); in presentOrValidate()
650 return promise::defer([composer = &mComposer, id = mId, brightness] { in setDisplayBrightness()
657 auto intError = mComposer.setAutoLowLatencyMode(mId, on); in setAutoLowLatencyMode()
663 auto intError = mComposer.getSupportedContentTypes(mId, &tmpSupportedContentTypes); in getSupportedContentTypes()
671 auto intError = mComposer.setContentType(mId, contentType); in setContentType()
676 const auto error = mComposer.getClientTargetProperty(mId, outClientTargetProperty); in getClientTargetProperty()
684 mComposer.setClientTargetSlotCount(mId); in setConnected()
694 auto intError = mComposer.getDisplayAttribute(mId, configId, attribute, &value); in getAttribute()
697 ALOGE("getDisplayAttribute(%" PRIu64 ", %u, %s) failed: %s (%d)", mId, in getAttribute()
706 ALOGV("[%" PRIu64 "] loadConfig(%u)", mId, configId); in loadConfig()
721 ALOGV("[%" PRIu64 "] loadConfigs", mId); in loadConfigs()
724 auto intError = mComposer.getDisplayConfigs(mId, &configIds); in loadConfigs()
727 ALOGE("[%" PRIu64 "] getDisplayConfigs [2] failed: %s (%d)", mId, in loadConfigs()
759 mId(layerId), in Layer()
766 auto intError = mComposer.destroyLayer(mDisplayId, mId); in ~Layer()
771 mDisplayId, mId, to_string(error).c_str(), intError); in ~Layer()
776 auto intError = mComposer.setCursorPosition(mDisplayId, mId, x, y); in setCursorPosition()
789 auto intError = mComposer.setLayerBuffer(mDisplayId, mId, slot, buffer, in setBuffer()
807 mId, std::vector<Hwc2::IComposerClient::Rect>()); in setSurfaceDamage()
818 intError = mComposer.setLayerSurfaceDamage(mDisplayId, mId, hwcRects); in setSurfaceDamage()
826 auto intError = mComposer.setLayerBlendMode(mDisplayId, mId, mode); in setBlendMode()
831 auto intError = mComposer.setLayerColor(mDisplayId, mId, color); in setColor()
837 auto intError = mComposer.setLayerCompositionType(mDisplayId, mId, type); in setCompositionType()
847 auto intError = mComposer.setLayerDataspace(mDisplayId, mId, mDataSpace); in setDataspace()
894 mComposer.setLayerPerFrameMetadata(mDisplayId, mId, perFrameMetadatas)); in setPerFrameMetadata()
905 mComposer.setLayerPerFrameMetadataBlobs(mDisplayId, mId, perFrameMetadataBlobs)); in setPerFrameMetadata()
917 auto intError = mComposer.setLayerDisplayFrame(mDisplayId, mId, hwcRect); in setDisplayFrame()
923 auto intError = mComposer.setLayerPlaneAlpha(mDisplayId, mId, alpha); in setPlaneAlpha()
934 auto intError = mComposer.setLayerSidebandStream(mDisplayId, mId, stream); in setSidebandStream()
942 auto intError = mComposer.setLayerSourceCrop(mDisplayId, mId, hwcRect); in setSourceCrop()
949 auto intError = mComposer.setLayerTransform(mDisplayId, mId, intTransform); in setTransform()
970 auto intError = mComposer.setLayerVisibleRegion(mDisplayId, mId, hwcRects); in setVisibleRegion()
976 auto intError = mComposer.setLayerZOrder(mDisplayId, mId, z); in setZOrder()
982 auto intError = mComposer.setLayerInfo(mDisplayId, mId, type, appId); in setInfo()
991 auto intError = mComposer.setLayerColorTransform(mDisplayId, mId, matrix.asArray()); in setColorTransform()
1003 auto intError = mComposer.setLayerGenericMetadata(mDisplayId, mId, name, mandatory, value); in setLayerGenericMetadata()