I’d like not to use any AWT / Java2D code within my SWT app, but still use jogl. How much does jogl depend on java2d, how easy would it be to not have ti depend on it? In particular on the OSX platform.
JOGL is a pure abstraction of the native OpenGL API, as such there should be hardly any dependencies on AWT, if any. I recommend the best thing to do is look at the source to reassure yourself.
jogl has a lot of dependencies on java2d, its designed for it! - that said, it may be worked into something that can run without. Not sure though.
I am curious why you want to avoid it, specifically on mac, which is guaranteed to have a somewhat proper implementation?
I remember reading somewhere that JOGL uses something of AWT: something about event dispatch threads? I forgot. The result being that JOGL + SWT apps used to lock-up on Mac machines.
I don’t know if this still occurs with the latest JOGL RC.