Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateSelector.cpp243 std::vector<FrameRateMode> frameRateModes; in createFrameRateModes() local
244 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() local
1483 if (frameRateModes.empty()) { in constructAvailableRefreshRates()
1489 frameRateModes = createFrameRateModes(*policy, filterModes, {}); in constructAvailableRefreshRates()
1491 LOG_ALWAYS_FATAL_IF(frameRateModes.empty(), in constructAvailableRefreshRates()
[all …]