Class GLXSGIXFBConfig



  • public class GLXSGIXFBConfig
    extends java.lang.Object
    Native bindings to the GLX_SGIX_fbconfig extension.

    This extension introduces a new way to describe the capabilities of a GLX drawable (i.e., to describe the depth of color buffer components and the type and size of ancillary buffers), removes the "similarity" requirement when making a context current to a drawable, and supports RGBA rendering to one-and two-component Windows and GLX Pixmaps.

    • Method Detail

      • glXGetFBConfigAttribSGIX

        public static int glXGetFBConfigAttribSGIX(long display,
                                                   long config,
                                                   int attribute,
                                                   java.nio.IntBuffer value)
        Gets the value of a GLX attribute for a GLXFBConfigSGIX.
        Parameters:
        display - the connection to the X server
        config - the GLXFBConfigSGIX being queried
        attribute - the attribute to query
        value - returns the attribute value
      • glXChooseFBConfigSGIX

        public static org.lwjgl.PointerBuffer glXChooseFBConfigSGIX(long display,
                                                                    int screen,
                                                                    java.nio.IntBuffer attrib_list)
        Gets GLXFBConfigSGIXs that match a list of attributes or to get the list of GLXFBConfigSGIXs that are available on the specified screen.
        Parameters:
        display - the connection to the X server
        screen - the screen number
        attrib_list - an optional list of attributes, terminated with org.lwjgl.system.linux.None
      • glXCreateGLXPixmapWithConfigSGIX

        public static long glXCreateGLXPixmapWithConfigSGIX(long display,
                                                            long config,
                                                            long pixmap)
        Creates a GLX pixmap using a GLXFBConfigSGIX.
        Parameters:
        display - the connection to the X server
        config - the GLXFBConfigSGIX
        pixmap - the pixmap
      • glXCreateContextWithConfigSGIX

        public static long glXCreateContextWithConfigSGIX(long display,
                                                          long config,
                                                          int render_type,
                                                          long share_list,
                                                          int direct)
        Creates a GLX context using a GLXFBConfigSGIX.
        Parameters:
        display - the connection to the X server
        config - the GLXFBConfigSGIX
        render_type - the render type. One of:
        RGBA_TYPE_SGIXCOLOR_INDEX_TYPE_SGIX
        share_list - the GLX context to share objects with
        direct - direct rendering request
      • glXGetVisualFromFBConfigSGIX

        public static org.lwjgl.system.linux.XVisualInfo glXGetVisualFromFBConfigSGIX(long display,
                                                                                      long config)
        Retrieves the associated visual of a GLXFBConfigSGIX.
        Parameters:
        display - the connection to the X server
        config - the GLXFBConfigSGIX
      • glXGetFBConfigFromVisualSGIX

        public static long glXGetFBConfigFromVisualSGIX(long display,
                                                        org.lwjgl.system.linux.XVisualInfo vis)
        Retrieves the GLXFBConfigSGIX associated with a visual.
        Parameters:
        display - the connection to the X server
        vis - the visual
      • glXGetFBConfigAttribSGIX

        public static int glXGetFBConfigAttribSGIX(long display,
                                                   long config,
                                                   int attribute,
                                                   int[] value)
        Array version of: GetFBConfigAttribSGIX
      • glXChooseFBConfigSGIX

        public static org.lwjgl.PointerBuffer glXChooseFBConfigSGIX(long display,
                                                                    int screen,
                                                                    int[] attrib_list)
        Array version of: ChooseFBConfigSGIX