I’d like to create a global GLContext so that I can derive all of my other GLContext’s from it in order to share texture resources.
How do I do this in JOGL? I can’t seem to instantiate a GLContext directly. I could grab the GLContext from the first window, etc. but then it’s coupled to the GUI creation order–it’s a bad thing to have functional code coupled to unstable GUI code, though.
JOGL has to create an initial GLContext from something before it has a window. What am I missing?
Thanks.