RFR: 8335748: Rippling of frame on scrolling
Ambarish Rapte
arapte at openjdk.org
Mon Nov 24 07:56:50 UTC 2025
On Mon, 24 Nov 2025 04:31:04 GMT, Jayathirth D V <jdv at openjdk.org> 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
More information about the openjfx-dev
mailing list