RFR: 8375561: Class NGGroup is in need of some cleanup [v4]

Kevin Rushforth kcr at openjdk.org
Tue Jan 27 13:41:18 UTC 2026


On Mon, 26 Jan 2026 18:51:17 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

>> Yes, this is expected. No, the threads do not run in parallel. The renderLock mechanism prevents it. The only access from the JavaFX Application thread is while holding the render lock to update the render graph (NG* nodes) from the scene graph.
>
> A bit unrelated, but what does the "NG" in "NGNode" stand for?

It originally stood for Newt Graphics, which was the render graph implementation that supported Prism. We used to have a PG (Platform Graphics) interface that was implemented by a long-since-defunct SG (Swing Graphics) render graph and then NG. Eventually, SG was dropped and then the PG interface removed.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/2043#discussion_r2732063423


More information about the openjfx-dev mailing list