Searched refs:hwcConfig (Results 1 – 2 of 2) sorted by relevance
232 const auto displayPeriod = scores[i].first->hwcConfig->getVsyncPeriod(); in getBestRefreshRate()506 if (refreshRate1->hwcConfig->getVsyncPeriod() != in getSortedRefreshRateList()507 refreshRate2->hwcConfig->getVsyncPeriod()) { in getSortedRefreshRateList()508 return refreshRate1->hwcConfig->getVsyncPeriod() > in getSortedRefreshRateList()509 refreshRate2->hwcConfig->getVsyncPeriod(); in getSortedRefreshRateList()511 return refreshRate1->hwcConfig->getConfigGroup() > in getSortedRefreshRateList()512 refreshRate2->hwcConfig->getConfigGroup(); in getSortedRefreshRateList()520 const auto& defaultConfig = mRefreshRates.at(policy->defaultConfig)->hwcConfig; in constructAvailableRefreshRates()530 const auto& hwcConfig = refreshRate.hwcConfig; in constructAvailableRefreshRates()532 return hwcConfig->getHeight() == defaultConfig->getHeight() && in constructAvailableRefreshRates()[all …]
65 : configId(configId), hwcConfig(config), name(std::move(name)), fps(fps) {} in RefreshRate()70 nsecs_t getVsyncPeriod() const { return hwcConfig->getVsyncPeriod(); } in getVsyncPeriod()71 int32_t getConfigGroup() const { return hwcConfig->getConfigGroup(); } in getConfigGroup()82 return configId != other.configId || hwcConfig != other.hwcConfig;100 std::shared_ptr<const HWC2::Display::Config> hwcConfig; variable