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
FieldsModifier and TypeFieldDescriptionstatic final intReturned byGetFBConfigAttribSGIX(whenattributeis set toRENDER_TYPE_SGIX) and accepted by theattrib_listparameter ofChooseFBConfigSGIX(following theRENDER_TYPE_SGIXtoken).static final intAccepted by therender_typeparameter ofCreateContextWithConfigSGIX.static final intAccepted by theattributeparameter ofGetFBConfigAttribSGIX, and by theattrib_listparameter ofChooseFBConfigSGIX.static final intAccepted by theattributeparameter ofGetFBConfigAttribSGIX, theattrib_listparameter ofChooseFBConfigSGIX, by theattributeparameter ofQueryGLXPbufferSGIXand by theattributeparameter ofQueryContextInfoEXT.static final intReturned byGetFBConfigAttribSGIX(whenattributeis set toDRAWABLE_TYPE_SGIX) and accepted by theattrib_listparameter ofChooseFBConfigSGIX(following theDRAWABLE_TYPE_SGIXtoken).static final intAccepted by theattributeparameter ofGetFBConfigAttribSGIX, and by theattrib_listparameter ofChooseFBConfigSGIX.static final intReturned byGetFBConfigAttribSGIX(whenattributeis set toRENDER_TYPE_SGIX) and accepted by theattrib_listparameter ofChooseFBConfigSGIX(following theRENDER_TYPE_SGIXtoken).static final intAccepted by therender_typeparameter ofCreateContextWithConfigSGIX.static final intAccepted by theattributeparameter ofGetFBConfigAttribSGIX.static final intReturned byGetFBConfigAttribSGIX(whenattributeis set toDRAWABLE_TYPE_SGIX) and accepted by theattrib_listparameter ofChooseFBConfigSGIX(following theDRAWABLE_TYPE_SGIXtoken).static final intAccepted by theattributeparameter ofGetFBConfigAttribSGIX, and by theattrib_listparameter ofChooseFBConfigSGIX. -
Method Summary
Modifier and TypeMethodDescriptionstatic org.lwjgl.PointerBufferglXChooseFBConfigSGIX(long display, int screen, int[] attrib_list) Array version of:ChooseFBConfigSGIXstatic org.lwjgl.PointerBufferglXChooseFBConfigSGIX(long display, int screen, IntBuffer attrib_list) GetsGLXFBConfigSGIXs that match a list of attributes or to get the list of GLXFBConfigSGIXs that are available on the specified screen.static longglXCreateContextWithConfigSGIX(long display, long config, int render_type, long share_list, boolean direct) Creates a GLX context using aGLXFBConfigSGIX.static longglXCreateGLXPixmapWithConfigSGIX(long display, long config, long pixmap) Creates a GLX pixmap using aGLXFBConfigSGIX.static intglXGetFBConfigAttribSGIX(long display, long config, int attribute, int[] value) Array version of:GetFBConfigAttribSGIXstatic intglXGetFBConfigAttribSGIX(long display, long config, int attribute, IntBuffer value) Gets the value of a GLX attribute for aGLXFBConfigSGIX.static longglXGetFBConfigFromVisualSGIX(long display, org.lwjgl.system.linux.XVisualInfo vis) Retrieves theGLXFBConfigSGIXassociated with a visual.static org.lwjgl.system.linux.XVisualInfoglXGetVisualFromFBConfigSGIX(long display, long config) Retrieves the associated visual of aGLXFBConfigSGIX.static longnglXChooseFBConfigSGIX(long display, int screen, long attrib_list, long nelements) Unsafe version of:ChooseFBConfigSGIXstatic intnglXGetFBConfigAttribSGIX(long display, long config, int attribute, long value) Unsafe version of:GetFBConfigAttribSGIXstatic longnglXGetFBConfigFromVisualSGIX(long display, long vis) Unsafe version of:GetFBConfigFromVisualSGIXstatic longnglXGetVisualFromFBConfigSGIX(long display, long config) Unsafe version of:GetVisualFromFBConfigSGIX
-
Field Details
-
GLX_DRAWABLE_TYPE_SGIX
public static final int GLX_DRAWABLE_TYPE_SGIXAccepted by theattributeparameter ofGetFBConfigAttribSGIX, and by theattrib_listparameter ofChooseFBConfigSGIX.- See Also:
-
GLX_RENDER_TYPE_SGIX
public static final int GLX_RENDER_TYPE_SGIXAccepted by theattributeparameter ofGetFBConfigAttribSGIX, and by theattrib_listparameter ofChooseFBConfigSGIX.- See Also:
-
GLX_X_RENDERABLE_SGIX
public static final int GLX_X_RENDERABLE_SGIXAccepted by theattributeparameter ofGetFBConfigAttribSGIX, and by theattrib_listparameter ofChooseFBConfigSGIX.- See Also:
-
GLX_FBCONFIG_ID_SGIX
public static final int GLX_FBCONFIG_ID_SGIXAccepted by theattributeparameter ofGetFBConfigAttribSGIX, theattrib_listparameter ofChooseFBConfigSGIX, by theattributeparameter ofQueryGLXPbufferSGIXand by theattributeparameter ofQueryContextInfoEXT.- See Also:
-
GLX_SCREEN_EXT
public static final int GLX_SCREEN_EXTAccepted by theattributeparameter ofGetFBConfigAttribSGIX.- See Also:
-
GLX_WINDOW_BIT_SGIX
public static final int GLX_WINDOW_BIT_SGIXReturned byGetFBConfigAttribSGIX(whenattributeis set toDRAWABLE_TYPE_SGIX) and accepted by theattrib_listparameter ofChooseFBConfigSGIX(following theDRAWABLE_TYPE_SGIXtoken).- See Also:
-
GLX_PIXMAP_BIT_SGIX
public static final int GLX_PIXMAP_BIT_SGIXReturned byGetFBConfigAttribSGIX(whenattributeis set toDRAWABLE_TYPE_SGIX) and accepted by theattrib_listparameter ofChooseFBConfigSGIX(following theDRAWABLE_TYPE_SGIXtoken).- See Also:
-
GLX_RGBA_BIT_SGIX
public static final int GLX_RGBA_BIT_SGIXReturned byGetFBConfigAttribSGIX(whenattributeis set toRENDER_TYPE_SGIX) and accepted by theattrib_listparameter ofChooseFBConfigSGIX(following theRENDER_TYPE_SGIXtoken).- See Also:
-
GLX_COLOR_INDEX_BIT_SGIX
public static final int GLX_COLOR_INDEX_BIT_SGIXReturned byGetFBConfigAttribSGIX(whenattributeis set toRENDER_TYPE_SGIX) and accepted by theattrib_listparameter ofChooseFBConfigSGIX(following theRENDER_TYPE_SGIXtoken).- See Also:
-
GLX_RGBA_TYPE_SGIX
public static final int GLX_RGBA_TYPE_SGIXAccepted by therender_typeparameter ofCreateContextWithConfigSGIX.- See Also:
-
GLX_COLOR_INDEX_TYPE_SGIX
public static final int GLX_COLOR_INDEX_TYPE_SGIXAccepted by therender_typeparameter 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- theGLXFBConfigSGIXbeing 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 ofGLXFBConfigSGIXreturned
-
glXChooseFBConfigSGIX
@Nullable public static org.lwjgl.PointerBuffer glXChooseFBConfigSGIX(long display, int screen, @Nullable IntBuffer attrib_list) GetsGLXFBConfigSGIXs 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- theGLXFBConfigSGIXpixmap- 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- theGLXFBConfigSGIXrender_type- the render type. One of:RGBA_TYPE_SGIXCOLOR_INDEX_TYPE_SGIXshare_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 theGLXFBConfigSGIXassociated 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
-