Searched refs:sortedModes (Results 1 – 1 of 1) sorted by relevance
87 std::vector<DisplayModeIterator> sortedModes; in sortByRefreshRate() local88 sortedModes.reserve(modes.size()); in sortByRefreshRate()90 sortedModes.push_back(it); in sortByRefreshRate()93 std::sort(sortedModes.begin(), sortedModes.end(), [](auto it1, auto it2) { in sortByRefreshRate()104 return sortedModes; in sortByRefreshRate()129 bool shouldEnableFrameRateOverride(const std::vector<DisplayModeIterator>& sortedModes) { in shouldEnableFrameRateOverride() argument130 for (const auto it1 : sortedModes) { in shouldEnableFrameRateOverride()132 for (const auto it2 : sortedModes) { in shouldEnableFrameRateOverride()1300 const auto sortedModes = sortByRefreshRate(mDisplayModes); in updateDisplayModes() local1301 mMinRefreshRateModeIt = sortedModes.front(); in updateDisplayModes()[all …]