jogl
  1. jogl
  2. JOGL-355

Need a way to get a list of GLCapabilities without a drawing surface.

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: jogl
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      355

      Description

      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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            jogl-issues
            Reporter:
            kenchapin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: