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

      • nglXGetFBConfigAttribSGIX

        public static int nglXGetFBConfigAttribSGIX​(long display,
                                                    long config,
                                                    int attribute,
                                                    long value)
        Unsafe version of: GetFBConfigAttribSGIX
      • 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
      • nglXChooseFBConfigSGIX

        public static long nglXChooseFBConfigSGIX​(long display,
                                                  int screen,
                                                  long attrib_list,
                                                  long nelements)
        Unsafe version of: ChooseFBConfigSGIX
        Parameters:
        nelements - the number of GLXFBConfigSGIX returned
      • glXChooseFBConfigSGIX

        @Nullable
        public static PointerBuffer glXChooseFBConfigSGIX​(long display,
                                                          int screen,
                                                          @Nullable
                                                          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,
                                                          boolean 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
      • nglXGetVisualFromFBConfigSGIX

        public static long nglXGetVisualFromFBConfigSGIX​(long display,
                                                         long config)
        Unsafe version of: GetVisualFromFBConfigSGIX
      • glXGetVisualFromFBConfigSGIX

        @Nullable
        public static XVisualInfo glXGetVisualFromFBConfigSGIX​(long display,
                                                               long config)
        Retrieves the associated visual of a GLXFBConfigSGIX.
        Parameters:
        display - the connection to the X server
        config - the GLXFBConfigSGIX
      • nglXGetFBConfigFromVisualSGIX

        public static long nglXGetFBConfigFromVisualSGIX​(long display,
                                                         long vis)
        Unsafe version of: GetFBConfigFromVisualSGIX
      • glXGetFBConfigFromVisualSGIX

        public static long glXGetFBConfigFromVisualSGIX​(long display,
                                                        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

        @Nullable
        public static PointerBuffer glXChooseFBConfigSGIX​(long display,
                                                          int screen,
                                                          @Nullable
                                                          int[] attrib_list)
        Array version of: ChooseFBConfigSGIX