This a new thread to discuss what might need to be done to get a common GL context management system in place.
There are four issues:
- Modularisation
This is less of an issue for LWJGL as we have almost no integration with anything else. JOGL has some crazy stuff going on under the hood but it largely seems to be split up along the lines of context management and then the separate autogenerated GL API. Is there scope to break JOGL into two main modules; context management, and the GL API, so that they can be built separately and used independently?
- Requirements
Need to define precisely what the adapter needs to accomplish in terms of context management. This involves looking at a few use cases and picking a solution that works simply for all of them.
- Definition of an API
Which I believe should simply be in terms of a single interface, and therefore as absolutely lightweight as possible. But that’s open for discussion
- Namespace
We really, really, ideally would have things like this in a javax.awt.opengl package but the namespace is reserved by Beelzebub. And the truest reason I suggested org.lwjgl.opengl as the package is because it’s my baby. But there’s another good reason for it living there, in that because it’s a dot org namespace and has no commercial entity giving its blessings it’s far more neutral than java.net, and lives its own independent life away from political machinations. Your thoughts?
Plus of course anything else you can think of.
Cas