Home
last modified time | relevance | path

Searched refs:bestRun (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DFlattener.cpp518 std::optional<Run> bestRun = findBestRun(runs); in buildCachedSets() local
520 if (!bestRun) { in buildCachedSets()
524 mNewCachedSet.emplace(*bestRun->getStart()); in buildCachedSets()
526 auto currentSet = bestRun->getStart(); in buildCachedSets()
527 while (mNewCachedSet->getLayerCount() < bestRun->getLayerLength()) { in buildCachedSets()
532 if (bestRun->getBlurringLayer()) { in buildCachedSets()
533 mNewCachedSet->addBackgroundBlurLayer(*bestRun->getBlurringLayer()); in buildCachedSets()
536 if (mTunables.mEnableHolePunch && bestRun->getHolePunchCandidate() && in buildCachedSets()
537 bestRun->getHolePunchCandidate()->requiresHolePunch()) { in buildCachedSets()
540 mNewCachedSet->addHolePunchLayerIfFeasible(*bestRun->getHolePunchCandidate(), in buildCachedSets()
[all …]