Searched refs:modePtr (Results 1 – 1 of 1) sorted by relevance
36 inline DisplayModePtr cloneForDisplay(PhysicalDisplayId displayId, const DisplayModePtr& modePtr) { in cloneForDisplay() argument37 return DisplayMode::Builder(modePtr->getHwcId()) in cloneForDisplay()38 .setId(modePtr->getId()) in cloneForDisplay()40 .setVsyncPeriod(modePtr->getVsyncPeriod()) in cloneForDisplay()41 .setGroup(modePtr->getGroup()) in cloneForDisplay()42 .setResolution(modePtr->getResolution()) in cloneForDisplay()49 for (const auto& [id, modePtr] : modes) { in cloneForDisplay()50 clones.try_emplace(id, cloneForDisplay(displayId, modePtr)); in cloneForDisplay()