husker-dev / openglfx

OpenGL node for JavaFX
Apache License 2.0
88 stars 12 forks source link

do you know lwjgl2 opengl render to awt canvas principle? #43

Closed qq1053831109 closed 1 year ago

qq1053831109 commented 1 year ago

do you know lwjgl2 opengl render to awt canvas principle? why javafx cant use that principle?

husker-dev commented 1 year ago

I don't know how does lwjgl2 work. As far as I know, it is deprecataed.

I can say how does JOGL works on AWT/Swing. AWT/Swing uses two possible render types: software and OpenGL.

JavaFX has one more rendering type: DirectX9 (called d3d). It needs a third way to transmit information. Also, if JavaFX will updates normally, a fourth rendering type will be added - Apple's Metal.


JavaFX itself does not support separate OpenGL rendering, although developers have wanted to add such a feature in the distant past.

husker-dev commented 1 year ago

I'll close this issue. If you have any questions, reopen it again.