Package org.lwjgl.opengl
Class GLXSGIXFBConfig
java.lang.Object
org.lwjgl.opengl.GLXSGIXFBConfig
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.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Returned byGetFBConfigAttribSGIX
(whenattribute
is set toRENDER_TYPE_SGIX
) and accepted by theattrib_list
parameter ofChooseFBConfigSGIX
(following theRENDER_TYPE_SGIX
token).static final int
Accepted by therender_type
parameter ofCreateContextWithConfigSGIX
.static final int
Accepted by theattribute
parameter ofGetFBConfigAttribSGIX
, and by theattrib_list
parameter ofChooseFBConfigSGIX
.static final int
Accepted by theattribute
parameter ofGetFBConfigAttribSGIX
, theattrib_list
parameter ofChooseFBConfigSGIX
, by theattribute
parameter ofQueryGLXPbufferSGIX
and by theattribute
parameter ofQueryContextInfoEXT
.static final int
Returned byGetFBConfigAttribSGIX
(whenattribute
is set toDRAWABLE_TYPE_SGIX
) and accepted by theattrib_list
parameter ofChooseFBConfigSGIX
(following theDRAWABLE_TYPE_SGIX
token).static final int
Accepted by theattribute
parameter ofGetFBConfigAttribSGIX
, and by theattrib_list
parameter ofChooseFBConfigSGIX
.static final int
Returned byGetFBConfigAttribSGIX
(whenattribute
is set toRENDER_TYPE_SGIX
) and accepted by theattrib_list
parameter ofChooseFBConfigSGIX
(following theRENDER_TYPE_SGIX
token).static final int
Accepted by therender_type
parameter ofCreateContextWithConfigSGIX
.static final int
Accepted by theattribute
parameter ofGetFBConfigAttribSGIX
.static final int
Returned byGetFBConfigAttribSGIX
(whenattribute
is set toDRAWABLE_TYPE_SGIX
) and accepted by theattrib_list
parameter ofChooseFBConfigSGIX
(following theDRAWABLE_TYPE_SGIX
token).static final int
Accepted by theattribute
parameter ofGetFBConfigAttribSGIX
, and by theattrib_list
parameter ofChooseFBConfigSGIX
. -
Method Summary
Modifier and TypeMethodDescriptionstatic PointerBuffer
glXChooseFBConfigSGIX
(long display, int screen, int[] attrib_list) Array version of:ChooseFBConfigSGIX
static PointerBuffer
glXChooseFBConfigSGIX
(long display, int screen, IntBuffer attrib_list) GetsGLXFBConfigSGIX
s that match a list of attributes or to get the list of GLXFBConfigSGIXs that are available on the specified screen.static long
glXCreateContextWithConfigSGIX
(long display, long config, int render_type, long share_list, boolean direct) Creates a GLX context using aGLXFBConfigSGIX
.static long
glXCreateGLXPixmapWithConfigSGIX
(long display, long config, long pixmap) Creates a GLX pixmap using aGLXFBConfigSGIX
.static int
glXGetFBConfigAttribSGIX
(long display, long config, int attribute, int[] value) Array version of:GetFBConfigAttribSGIX
static int
glXGetFBConfigAttribSGIX
(long display, long config, int attribute, IntBuffer value) Gets the value of a GLX attribute for aGLXFBConfigSGIX
.static long
glXGetFBConfigFromVisualSGIX
(long display, XVisualInfo vis) Retrieves theGLXFBConfigSGIX
associated with a visual.static XVisualInfo
glXGetVisualFromFBConfigSGIX
(long display, long config) Retrieves the associated visual of aGLXFBConfigSGIX
.static long
nglXChooseFBConfigSGIX
(long display, int screen, long attrib_list, long nelements) Unsafe version of:ChooseFBConfigSGIX
static int
nglXGetFBConfigAttribSGIX
(long display, long config, int attribute, long value) Unsafe version of:GetFBConfigAttribSGIX
static long
nglXGetFBConfigFromVisualSGIX
(long display, long vis) Unsafe version of:GetFBConfigFromVisualSGIX
static long
nglXGetVisualFromFBConfigSGIX
(long display, long config) Unsafe version of:GetVisualFromFBConfigSGIX
-
Field Details
-
GLX_DRAWABLE_TYPE_SGIX
public static final int GLX_DRAWABLE_TYPE_SGIXAccepted by theattribute
parameter ofGetFBConfigAttribSGIX
, and by theattrib_list
parameter ofChooseFBConfigSGIX
.- See Also:
-
GLX_RENDER_TYPE_SGIX
public static final int GLX_RENDER_TYPE_SGIXAccepted by theattribute
parameter ofGetFBConfigAttribSGIX
, and by theattrib_list
parameter ofChooseFBConfigSGIX
.- See Also:
-
GLX_X_RENDERABLE_SGIX
public static final int GLX_X_RENDERABLE_SGIXAccepted by theattribute
parameter ofGetFBConfigAttribSGIX
, and by theattrib_list
parameter ofChooseFBConfigSGIX
.- See Also:
-
GLX_FBCONFIG_ID_SGIX
public static final int GLX_FBCONFIG_ID_SGIXAccepted by theattribute
parameter ofGetFBConfigAttribSGIX
, theattrib_list
parameter ofChooseFBConfigSGIX
, by theattribute
parameter ofQueryGLXPbufferSGIX
and by theattribute
parameter ofQueryContextInfoEXT
.- See Also:
-
GLX_SCREEN_EXT
public static final int GLX_SCREEN_EXTAccepted by theattribute
parameter ofGetFBConfigAttribSGIX
.- See Also:
-
GLX_WINDOW_BIT_SGIX
public static final int GLX_WINDOW_BIT_SGIXReturned byGetFBConfigAttribSGIX
(whenattribute
is set toDRAWABLE_TYPE_SGIX
) and accepted by theattrib_list
parameter ofChooseFBConfigSGIX
(following theDRAWABLE_TYPE_SGIX
token).- See Also:
-
GLX_PIXMAP_BIT_SGIX
public static final int GLX_PIXMAP_BIT_SGIXReturned byGetFBConfigAttribSGIX
(whenattribute
is set toDRAWABLE_TYPE_SGIX
) and accepted by theattrib_list
parameter ofChooseFBConfigSGIX
(following theDRAWABLE_TYPE_SGIX
token).- See Also:
-
GLX_RGBA_BIT_SGIX
public static final int GLX_RGBA_BIT_SGIXReturned byGetFBConfigAttribSGIX
(whenattribute
is set toRENDER_TYPE_SGIX
) and accepted by theattrib_list
parameter ofChooseFBConfigSGIX
(following theRENDER_TYPE_SGIX
token).- See Also:
-
GLX_COLOR_INDEX_BIT_SGIX
public static final int GLX_COLOR_INDEX_BIT_SGIXReturned byGetFBConfigAttribSGIX
(whenattribute
is set toRENDER_TYPE_SGIX
) and accepted by theattrib_list
parameter ofChooseFBConfigSGIX
(following theRENDER_TYPE_SGIX
token).- See Also:
-
GLX_RGBA_TYPE_SGIX
public static final int GLX_RGBA_TYPE_SGIXAccepted by therender_type
parameter ofCreateContextWithConfigSGIX
.- See Also:
-
GLX_COLOR_INDEX_TYPE_SGIX
public static final int GLX_COLOR_INDEX_TYPE_SGIXAccepted by therender_type
parameter ofCreateContextWithConfigSGIX
.- See Also:
-
-
Method Details
-
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, IntBuffer value) Gets the value of a GLX attribute for aGLXFBConfigSGIX
.- Parameters:
display
- the connection to the X serverconfig
- theGLXFBConfigSGIX
being queriedattribute
- the attribute to queryvalue
- 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 ofGLXFBConfigSGIX
returned
-
glXChooseFBConfigSGIX
@Nullable public static PointerBuffer glXChooseFBConfigSGIX(long display, int screen, @Nullable IntBuffer attrib_list) GetsGLXFBConfigSGIX
s 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 serverscreen
- the screen numberattrib_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 aGLXFBConfigSGIX
.- Parameters:
display
- the connection to the X serverconfig
- theGLXFBConfigSGIX
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 aGLXFBConfigSGIX
.- Parameters:
display
- the connection to the X serverconfig
- theGLXFBConfigSGIX
render_type
- the render type. One of:RGBA_TYPE_SGIX
COLOR_INDEX_TYPE_SGIX
share_list
- the GLX context to share objects withdirect
- direct rendering request
-
nglXGetVisualFromFBConfigSGIX
public static long nglXGetVisualFromFBConfigSGIX(long display, long config) Unsafe version of:GetVisualFromFBConfigSGIX
-
glXGetVisualFromFBConfigSGIX
Retrieves the associated visual of aGLXFBConfigSGIX
.- Parameters:
display
- the connection to the X serverconfig
- theGLXFBConfigSGIX
-
nglXGetFBConfigFromVisualSGIX
public static long nglXGetFBConfigFromVisualSGIX(long display, long vis) Unsafe version of:GetFBConfigFromVisualSGIX
-
glXGetFBConfigFromVisualSGIX
Retrieves theGLXFBConfigSGIX
associated with a visual.- Parameters:
display
- the connection to the X servervis
- 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
-