When calculating displayRefreshDelayTime, the maxFramePerSecond was incorrectly assumed to always be 60. This PR calculates the maxFramePerSecond using UIScreen.main.maximumFramesPerSecond. It then populates the remaining displayRefreshFactors as needed.
When calculating displayRefreshDelayTime, the maxFramePerSecond was incorrectly assumed to always be 60. This PR calculates the maxFramePerSecond using UIScreen.main.maximumFramesPerSecond. It then populates the remaining displayRefreshFactors as needed.