Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9b1052f1 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge changes from topic "1hz_refreshrate"

* changes:
  SF: Fix refresh rate selection for low physical refresh rates
  Revert "SF: change the min supported frame rate to 1Hz"
  Revert "SF: Update RefreshRateSelectorTest to check range of refresh rates."
  Revert "SF: Update RefreshRateSelectorTest to remove g_noSlowTests from some tests"
parents 61560dd6 dc0b3a7e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -180,7 +180,7 @@ auto RefreshRateSelector::createFrameRateModes(
        for (auto divisor = start; divisor <= end; divisor++) {
            const auto fps = mode->getFps() / divisor;
            using fps_approx_ops::operator<;
            if (fps < kMinSupportedFrameRate) {
            if (divisor > 1 && fps < kMinSupportedFrameRate) {
                break;
            }

+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ public:
            std::chrono::nanoseconds(800us).count();

    // The lowest Render Frame Rate that will ever be selected
    static constexpr Fps kMinSupportedFrameRate = 1_Hz;
    static constexpr Fps kMinSupportedFrameRate = 20_Hz;

    class Policy {
        static constexpr int kAllowGroupSwitchingDefault = false;
+148 −425

File changed.

Preview size limit exceeded, changes collapsed.