Package org.lwjgl.opengl
Class GLXSGIXFBConfig
- java.lang.Object
-
- org.lwjgl.opengl.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.
-
-
Field Summary
Fields Modifier and Type Field Description static int
GLX_COLOR_INDEX_BIT_SGIX
Returned byGetFBConfigAttribSGIX
(whenattribute
is set toRENDER_TYPE_SGIX
) and accepted by theattrib_list
parameter ofChooseFBConfigSGIX
(following theRENDER_TYPE_SGIX
token).static int
GLX_COLOR_INDEX_TYPE_SGIX
Accepted by therender_type
parameter ofCreateContextWithConfigSGIX
.static int
GLX_DRAWABLE_TYPE_SGIX
Accepted by theattribute
parameter ofGetFBConfigAttribSGIX
, and by theattrib_list
parameter ofChooseFBConfigSGIX
.static int
GLX_FBCONFIG_ID_SGIX
Accepted by theattribute
parameter ofGetFBConfigAttribSGIX
, theattrib_list
parameter ofChooseFBConfigSGIX
, by theattribute
parameter ofQueryGLXPbufferSGIX
and by theattribute
parameter ofQueryContextInfoEXT
.static int
GLX_PIXMAP_BIT_SGIX
Returned byGetFBConfigAttribSGIX
(whenattribute
is set toDRAWABLE_TYPE_SGIX
) and accepted by theattrib_list
parameter ofChooseFBConfigSGIX
(following theDRAWABLE_TYPE_SGIX
token).static int
GLX_RENDER_TYPE_SGIX
Accepted by theattribute
parameter ofGetFBConfigAttribSGIX
, and by theattrib_list
parameter ofChooseFBConfigSGIX
.static int
GLX_RGBA_BIT_SGIX
Returned byGetFBConfigAttribSGIX
(whenattribute
is set toRENDER_TYPE_SGIX
) and accepted by theattrib_list
parameter ofChooseFBConfigSGIX
(following theRENDER_TYPE_SGIX
token).static int
GLX_RGBA_TYPE_SGIX
Accepted by therender_type
parameter ofCreateContextWithConfigSGIX
.static int
GLX_SCREEN_EXT
Accepted by theattribute
parameter ofGetFBConfigAttribSGIX
.static int
GLX_WINDOW_BIT_SGIX
Returned byGetFBConfigAttribSGIX
(whenattribute
is set toDRAWABLE_TYPE_SGIX
) and accepted by theattrib_list
parameter ofChooseFBConfigSGIX
(following theDRAWABLE_TYPE_SGIX
token).static int
GLX_X_RENDERABLE_SGIX
Accepted by theattribute
parameter ofGetFBConfigAttribSGIX
, and by theattrib_list
parameter ofChooseFBConfigSGIX
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.lwjgl.PointerBuffer
glXChooseFBConfigSGIX(long display, int screen, int[] attrib_list)
Array version of:ChooseFBConfigSGIX
static org.lwjgl.PointerBuffer
glXChooseFBConfigSGIX(long display, int screen, java.nio.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, java.nio.IntBuffer value)
Gets the value of a GLX attribute for aGLXFBConfigSGIX
.static long
glXGetFBConfigFromVisualSGIX(long display, org.lwjgl.system.linux.XVisualInfo vis)
Retrieves theGLXFBConfigSGIX
associated with a visual.static org.lwjgl.system.linux.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 Detail
-
GLX_DRAWABLE_TYPE_SGIX, GLX_RENDER_TYPE_SGIX, GLX_X_RENDERABLE_SGIX
Accepted by theattribute
parameter ofGetFBConfigAttribSGIX
, and by theattrib_list
parameter ofChooseFBConfigSGIX
.
-
GLX_FBCONFIG_ID_SGIX
Accepted by theattribute
parameter ofGetFBConfigAttribSGIX
, theattrib_list
parameter ofChooseFBConfigSGIX
, by theattribute
parameter ofQueryGLXPbufferSGIX
and by theattribute
parameter ofQueryContextInfoEXT
.
-
GLX_SCREEN_EXT
Accepted by theattribute
parameter ofGetFBConfigAttribSGIX
.
-
GLX_WINDOW_BIT_SGIX, GLX_PIXMAP_BIT_SGIX
Returned byGetFBConfigAttribSGIX
(whenattribute
is set toDRAWABLE_TYPE_SGIX
) and accepted by theattrib_list
parameter ofChooseFBConfigSGIX
(following theDRAWABLE_TYPE_SGIX
token).
-
GLX_RGBA_BIT_SGIX, GLX_COLOR_INDEX_BIT_SGIX
Returned byGetFBConfigAttribSGIX
(whenattribute
is set toRENDER_TYPE_SGIX
) and accepted by theattrib_list
parameter ofChooseFBConfigSGIX
(following theRENDER_TYPE_SGIX
token).
-
GLX_RGBA_TYPE_SGIX, GLX_COLOR_INDEX_TYPE_SGIX
Accepted by therender_type
parameter ofCreateContextWithConfigSGIX
.
-
-
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 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 org.lwjgl.PointerBuffer glXChooseFBConfigSGIX(long display, int screen, @Nullable java.nio.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
@Nullable public static org.lwjgl.system.linux.XVisualInfo glXGetVisualFromFBConfigSGIX(long display, long config)
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
public static long glXGetFBConfigFromVisualSGIX(long display, org.lwjgl.system.linux.XVisualInfo vis)
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 org.lwjgl.PointerBuffer glXChooseFBConfigSGIX(long display, int screen, @Nullable int[] attrib_list)
Array version of:ChooseFBConfigSGIX
-
-