On Mon, 24 Nov 2025 04:31:04 GMT, Jayathirth D V <[email protected]> wrote:

> Is vysnc enabled by default in ES2 also?

Yes, vsync is enabled by default, for all pipelines. so, by default FPS gets 
limited to 60. vsync can be disabled by `-Djavafx.animation.fullspeed=true` or 
`-Dprism.vsync=false`

>Is there any performance implications because of texture lock/unlock for each 
>blit screen call?

With renderperf, there is a variation of +/-5%. This seems to be general 
variation not due to `NSLock`. 
`NSLock.tryLock()` is a non-blocking inexpensive call.
In normal scenarios i.e. when rtt is NOT resized(without switching screens/ no 
resizing the window), only `NSLock.tryLock()` gets invoked while displaying rtt 
content to screen. In this case the lock would be always available.

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

PR Comment: https://git.openjdk.org/jfx/pull/1978#issuecomment-3569375109

Reply via email to