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

Kevin Rushforth kcr at openjdk.java.net
Thu Mar 26 12:53:07 UTC 2020


On Thu, 26 Mar 2020 08:25:11 GMT, Johan Vos <jvos 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.

Btw, the jcheck failure is because JBS is down. This revealed a bug in the Skara jcheck bot where it doesn't handle it
gracefully (so considers it a failure).

As soon as JBS is back up or the Skara bot is fixed, this will proceed.

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

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


More information about the openjfx-dev mailing list