husker-dev / openglfx

OpenGL implementation for JavaFX
Apache License 2.0
80 stars 10 forks source link

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

Closed qq1053831109 closed 8 months ago

qq1053831109 commented 9 months ago

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

husker-dev commented 9 months 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 8 months ago

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