Bug 355

Summary: Need a way to get a list of GLCapabilities without a drawing surface.
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: VERIFIED FIXED    
Severity: enhancement    
Priority: P3    
Version: 1   
Hardware: All   
OS: all   
Type: FEATURE SCM Refs:
8adc04788a6d9dd44de5a4636b46d14dbb70b799
Workaround: ---

Description Sven Gothel 2010-03-24 07:51:26 CET


---- Reported by kenchapin 2008-05-07 08:27:09 ----

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
glXGetFBConfigs request.

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
capabilities.

Unfortunately I don't know if it is possible to implement the same functionality
in OSX since I have no experience on that platform.



--- Bug imported by sgothel@jausoft.com 2010-03-24 07:51 EDT  ---

This bug was previously known as _bug_ 355 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=355
Comment 1 Sven Gothel 2010-11-19 01:31:01 CET
we could now add a getAllCapabilities(AbstractGraphicsDevice) in GLProfile
utilizing the shared drawable.