SF: Break dependency between VsyncConfiguration and RefreshRateConfigs
The VsyncConfiguration class doesn't need to know the list of supported refresh rates, because the offsets can be calculated and cached on the fly. This is better because the list of refresh rates can change during runtime (for example for Android TV). After fixing this the dependency on RefreshRateConfigs is only needed for getting the current refresh rate at construction time. For this it's sufficient to pass only the Fps instead of the whole RefreshRateConfigs object. Bug: 159590486 Test: presubmit Change-Id: I1c0ceaf2524b517e85c8067577fc9f5146f1f632
Loading
Please register or sign in to comment