Learning Prism

Jeffrey Guenther guenther.jeffrey at gmail.com
Tue Mar 8 03:45:14 UTC 2016

Hi Devs,

I’m interested in learning more about JavaFX’s low level graphics implementation. I’ve spent a couple afternoons source diving in the modules/graphics folder to get the lay of the land and now I think I need some help. Can anyone point me to documentation describing the system’s high level design? Let’s say one or two levels deeper than http://docs.oracle.com/javafx/2/architecture/jfxpub-architecture.htm? <http://docs.oracle.com/javafx/2/architecture/jfxpub-architecture.htm?>

Ultimately, I’d like to gain a better understanding on how JavaFX lays out and renders text for the purposes of understanding how I might be able to contribute to a more advanced text API with support for things like kerning.

Secondly, can anyone explain to me how shaders are compiled and passed down to the graphics layer? I’d like to gain a better understanding of how a JavaFX programmer could leverage/add to Prism such that we can write custom shaders/GPU kernels for Effects nodes.

I realize the graphics system in JavaFX is not for the faint of heart. There’s much going on beneath the surface. I’m willing to dive deep and do the learning to understand the design. Can anyone point me to docs where I can get started? Or maybe which class to start with and work out from when I’m source diving?


More information about the openjfx-dev mailing list