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.cpp504 std::optional<Run> bestRun = findBestRun(runs); in buildCachedSets() local
506 if (!bestRun) { in buildCachedSets()
510 mNewCachedSet.emplace(*bestRun->getStart()); in buildCachedSets()
512 auto currentSet = bestRun->getStart(); in buildCachedSets()
513 while (mNewCachedSet->getLayerCount() < bestRun->getLayerLength()) { in buildCachedSets()
518 if (bestRun->getBlurringLayer()) { in buildCachedSets()
519 mNewCachedSet->addBackgroundBlurLayer(*bestRun->getBlurringLayer()); in buildCachedSets()
522 if (mEnableHolePunch && bestRun->getHolePunchCandidate() && in buildCachedSets()
523 bestRun->getHolePunchCandidate()->requiresHolePunch()) { in buildCachedSets()
526 mNewCachedSet->addHolePunchLayerIfFeasible(*bestRun->getHolePunchCandidate(), in buildCachedSets()
[all …]