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

Commit dbd30440 authored by Su Hong Koo's avatar Su Hong Koo
Browse files

SF: Allow follower displays to select arbitrary refresh rates

Currently, RefreshRateSelector::getRankedFrameRatesLocked() prevents
non-pacesetter refresh rates from being selected by follower displays
bypassing it in as a filtering predicate to the ranking function.

This CL skips the pacesetter refresh rate matching process for follower
display, and instead takes the full ranking path.

Flag: com.android.graphics.surfaceflinger.flags.follower_arbitrary_refresh_rate_selection
Bug: 371584290
Test: added case in  RefreshRateSelectorTest - atest libsurfaceflinger_unittest
Change-Id: I9105c843f603e597a1239a2ae653976c2fcd0c46
parent 3ec5fef3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment