Lines Matching refs:mId
54 mId = args.physical ? std::make_optional(args.physical->id) : std::nullopt; in setConfiguration()
65 mId = maybeAllocateDisplayIdForVirtualDisplay(args.pixels, args.pixelFormat); in setConfiguration()
81 return mId; in getId()
93 return mId; in getDisplayId()
97 mId = displayId; in setDisplayIdForTesting()
101 if (!mId) { in disconnect()
106 hwc.disconnectDisplay(*mId); in disconnect()
107 mId.reset(); in disconnect()
113 if (!mId || CC_LIKELY(!args.colorTransformMatrix)) { in setColorTransform()
118 status_t result = hwc.setColorTransform(*mId, *args.colorTransformMatrix); in setColorTransform()
120 mId ? to_string(*mId).c_str() : "", result); in setColorTransform()
143 hwc.setActiveColorMode(*mId, colorProfile.mode, colorProfile.renderIntent); in setColorProfile()
154 if (mId) { in dump()
155 dumpVal(out, "hwcId", to_string(*mId)); in dump()
182 if (result && mId) { in createOutputLayer()
184 auto displayId = *mId; in createOutputLayer()
204 if (!mId || refreshArgs.layersWithQueuedFrames.empty()) { in setReleasedLayers()
244 if (!mId) { in chooseCompositionStrategy()
251 if (status_t result = hwc.getDeviceCompositionChanges(*mId, anyLayersRequireClientComposition(), in chooseCompositionStrategy()
273 return mId ? hwc.hasDisplayCapability(*mId, hal::DisplayCapability::SKIP_CLIENT_COLOR_TRANSFORM) in getSkipColorTransform()
343 if (!mId) { in presentAndGetFrameFences()
348 hwc.presentAndGetReleaseFences(*mId); in presentAndGetFrameFences()
350 result.presentFence = hwc.getPresentFence(*mId); in presentAndGetFrameFences()
359 result.layerFences.emplace(hwcLayer, hwc.getLayerReleaseFence(*mId, hwcLayer)); in presentAndGetFrameFences()
362 hwc.clearReleaseFences(*mId); in presentAndGetFrameFences()
370 if (mPowerAdvisor && mId) { in setExpensiveRenderingExpected()
371 mPowerAdvisor->setExpensiveRenderingExpected(*mId, enabled); in setExpensiveRenderingExpected()
380 if (!mId) { in finishFrame()