Searched refs:frameRateModes (Results 1 – 1 of 1) sorted by relevance
243 std::vector<FrameRateMode> frameRateModes; in createFrameRateModes() local244 frameRateModes.reserve(ratesMap.size()); in createFrameRateModes()246 frameRateModes.emplace_back(FrameRateMode{key.fps, ftl::as_non_null(mode->second)}); in createFrameRateModes()252 std::min_element(frameRateModes.begin(), frameRateModes.end(), in createFrameRateModes()257 frameRateModes.erase(frameRateModes.begin(), lowestRefreshRateIt); in createFrameRateModes()259 return frameRateModes; in createFrameRateModes()1482 auto frameRateModes = createFrameRateModes(*policy, filterModes, ranges.render); in constructAvailableRefreshRates() local1483 if (frameRateModes.empty()) { in constructAvailableRefreshRates()1489 frameRateModes = createFrameRateModes(*policy, filterModes, {}); in constructAvailableRefreshRates()1491 LOG_ALWAYS_FATAL_IF(frameRateModes.empty(), in constructAvailableRefreshRates()[all …]