RFR: JDK-8210547 synchronise with OpenGL after the last window is presented
Kevin Rushforth
kcr at openjdk.org
Mon Nov 24 13:35:20 UTC 2025
On Sun, 23 Nov 2025 12:21:04 GMT, notzed <duke at openjdk.org> wrote:
> As discussed on the mailing list.
>
> OpenGL requires an explicit glFinish() to synchronise with the video refresh. The current usage is incorrect and against the specification. This patch calls glFinish() after all windows have been drawn following a pulse.
@notzed As with the fix @arapte did for PR #1978, you will need to qualify this with `PrismSettings.isVsyncEnabled`.
My quick take on your PR is that the changes are pretty intrusive and not limited to the ES2 pipeline. I recommend exploring whether the changes can be more targeted.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1981#issuecomment-3570812277
More information about the openjfx-dev
mailing list