useful Java2D bridge
Posted by
brandon on
Oct 04, 2011; 12:56am
URL: https://forum.jogamp.org/useful-Java2D-bridge-tp3391708.html
JOGL 1.1.1 had a very simplistic method to draw Swing into OpenGL - just render Swing into an image and then into OpenGL. But I needed a way to accelerate rendering Swing into OpenGL and I wrote a bridge to do that. I actually implements the Graphics2D class and makes glRectf, glColor, etc. calls to support the Graphics2D object.
Has this been done already or improved in the 2.0 release? Are there plans to do it?
This is my (incomplete) project
https://github.com/brandonborkholder/glg2d