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

Commit 19dd0366 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "SF: VsyncTimeline::isVSyncInPhase should use display rate [unflagged]"...

Merge "SF: VsyncTimeline::isVSyncInPhase should use display rate [unflagged]" into android15-tests-dev
parents e2c594e5 0f473031
Loading
Loading
Loading
Loading
+1 −3
Original line number Original line Diff line number Diff line
@@ -737,9 +737,7 @@ bool VSyncPredictor::VsyncTimeline::isVSyncInPhase(Model model, nsecs_t vsync, F
        return ticks<std::milli, float>(TimePoint::fromNs(timePoint) - now);
        return ticks<std::milli, float>(TimePoint::fromNs(timePoint) - now);
    };
    };


    Fps displayFps = !FlagManager::getInstance().vrr_bugfix_24q4() && mRenderRateOpt
    Fps displayFps = Fps::fromPeriodNsecs(mIdealPeriod.ns());
            ? *mRenderRateOpt
            : Fps::fromPeriodNsecs(mIdealPeriod.ns());
    const auto divisor = RefreshRateSelector::getFrameRateDivisor(displayFps, frameRate);
    const auto divisor = RefreshRateSelector::getFrameRateDivisor(displayFps, frameRate);
    const auto now = TimePoint::now();
    const auto now = TimePoint::now();