RFR: 8240262: iOS refresh rate is capped to 30 Hz

Johan Vos jvos at openjdk.java.net
Thu Mar 26 08:27:27 UTC 2020


On Sun, 1 Mar 2020 18:15:07 GMT, Jose Pereda <jpereda at openjdk.org> wrote:

> There is a hardcoded limit to refresh the glass view on iOS at a half rate of the native refresh rate.
> 
> This PR removes that limit.
> 
> Since the default value for `frameInterval ` is 1 (which implies refreshing at the same rate as allowed by the device),
> doing `setFrameInterval:1` is not necessary. What's more, this method is
> [deprecated](https://developer.apple.com/documentation/quartzcore/cadisplaylink/1621231-frameinterval?language=objc).

The only thing that worries me is that I don't see a reason why this limitation was added originally.
I don't see a reason to keep it, so +1 on removing it.

-------------

Marked as reviewed by jvos (Reviewer).

PR: https://git.openjdk.java.net/jfx/pull/130


More information about the openjfx-dev mailing list