I would like to be able to get a list of GLCapabilities objects that represents
all of the pixel formats or frame buffer configurations that are available in
the underlying OpenGL renderer and then know what kind of drawing surface a
particular GLCapabilities object is applicable for. There should be a mask of
drawable types added to the GLCapabilities class.
This is analogous to how Windows OpenGL works by either using
DescribePixelFormat() or the WGL_ARB_pixel_format extension querying routines.
This is also analogous to how GLX works in an X11 environment by using the
Currently there is no way in Jogl to see all of the possible attribute
combinations that can be used with a Pbuffer. There is no way of guaranteeing
the successful creation of a Pbuffer with a GLCapabilities object filled with
desirable attributes. There may be no Pbuffer available with those exact
Unfortunately I don't know if it is possible to implement the same functionality
in OSX since I have no experience on that platform.