Hi,
Is it possible to use JOGL without having a visible GLCanvas or GLJPanel? I am especially interested in the GL version and vendor information and the native GLSL compiler. (yes I want to hack a small shader validator )
Hi,
Is it possible to use JOGL without having a visible GLCanvas or GLJPanel? I am especially interested in the GL version and vendor information and the native GLSL compiler. (yes I want to hack a small shader validator )
Yes, if your target platform supports pbuffers: see GLDrawableFactory.canCreateGLPbuffer() and createGLPbuffer(). You can make a 1x1 pbuffer, set up a GLEventListener on it, and call display() to do OpenGL work with no on-screen component visible.
Thank you, it works like a charm!