Package org.lwjgl.opengl
Class GLXSGIXFBConfig
- java.lang.Object
-
- org.lwjgl.opengl.GLXSGIXFBConfig
-
public class GLXSGIXFBConfig extends java.lang.ObjectNative 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 and Description static intGLX_COLOR_INDEX_BIT_SGIXReturned byGetFBConfigAttribSGIX(whenattributeis set toRENDER_TYPE_SGIX) and accepted by theattrib_listparameter ofChooseFBConfigSGIX(following theRENDER_TYPE_SGIXtoken).static intGLX_COLOR_INDEX_TYPE_SGIXAccepted by therender_typeparameter ofCreateContextWithConfigSGIX.static intGLX_DRAWABLE_TYPE_SGIXAccepted by theattributeparameter ofGetFBConfigAttribSGIX, and by theattrib_listparameter ofChooseFBConfigSGIX.static intGLX_FBCONFIG_ID_SGIXAccepted by theattributeparameter ofGetFBConfigAttribSGIX, theattrib_listparameter ofChooseFBConfigSGIX, by theattributeparameter ofQueryGLXPbufferSGIXand by theattributeparameter ofQueryContextInfoEXT.static intGLX_PIXMAP_BIT_SGIXReturned byGetFBConfigAttribSGIX(whenattributeis set toDRAWABLE_TYPE_SGIX) and accepted by theattrib_listparameter ofChooseFBConfigSGIX(following theDRAWABLE_TYPE_SGIXtoken).static intGLX_RENDER_TYPE_SGIXAccepted by theattributeparameter ofGetFBConfigAttribSGIX, and by theattrib_listparameter ofChooseFBConfigSGIX.static intGLX_RGBA_BIT_SGIXReturned byGetFBConfigAttribSGIX(whenattributeis set toRENDER_TYPE_SGIX) and accepted by theattrib_listparameter ofChooseFBConfigSGIX(following theRENDER_TYPE_SGIXtoken).static intGLX_RGBA_TYPE_SGIXAccepted by therender_typeparameter ofCreateContextWithConfigSGIX.static intGLX_SCREEN_EXTAccepted by theattributeparameter ofGetFBConfigAttribSGIX.static intGLX_WINDOW_BIT_SGIXReturned byGetFBConfigAttribSGIX(whenattributeis set toDRAWABLE_TYPE_SGIX) and accepted by theattrib_listparameter ofChooseFBConfigSGIX(following theDRAWABLE_TYPE_SGIXtoken).static intGLX_X_RENDERABLE_SGIXAccepted by theattributeparameter ofGetFBConfigAttribSGIX, and by theattrib_listparameter ofChooseFBConfigSGIX.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static org.lwjgl.PointerBufferglXChooseFBConfigSGIX(long display, int screen, int[] attrib_list)Array version of:ChooseFBConfigSGIXstatic org.lwjgl.PointerBufferglXChooseFBConfigSGIX(long display, int screen, java.nio.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, int 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, java.nio.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.
-
-
-
Field Detail
-
GLX_DRAWABLE_TYPE_SGIX, GLX_RENDER_TYPE_SGIX, GLX_X_RENDERABLE_SGIX
Accepted by theattributeparameter ofGetFBConfigAttribSGIX, and by theattrib_listparameter ofChooseFBConfigSGIX.
-
GLX_FBCONFIG_ID_SGIX
Accepted by theattributeparameter ofGetFBConfigAttribSGIX, theattrib_listparameter ofChooseFBConfigSGIX, by theattributeparameter ofQueryGLXPbufferSGIXand by theattributeparameter ofQueryContextInfoEXT.
-
GLX_SCREEN_EXT
Accepted by theattributeparameter ofGetFBConfigAttribSGIX.
-
GLX_WINDOW_BIT_SGIX, GLX_PIXMAP_BIT_SGIX
Returned byGetFBConfigAttribSGIX(whenattributeis set toDRAWABLE_TYPE_SGIX) and accepted by theattrib_listparameter ofChooseFBConfigSGIX(following theDRAWABLE_TYPE_SGIXtoken).
-
GLX_RGBA_BIT_SGIX, GLX_COLOR_INDEX_BIT_SGIX
Returned byGetFBConfigAttribSGIX(whenattributeis set toRENDER_TYPE_SGIX) and accepted by theattrib_listparameter ofChooseFBConfigSGIX(following theRENDER_TYPE_SGIXtoken).
-
GLX_RGBA_TYPE_SGIX, GLX_COLOR_INDEX_TYPE_SGIX
Accepted by therender_typeparameter ofCreateContextWithConfigSGIX.
-
-
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 aGLXFBConfigSGIX.- Parameters:
display- the connection to the X serverconfig- theGLXFBConfigSGIXbeing queriedattribute- the attribute to queryvalue- returns the attribute value
-
glXChooseFBConfigSGIX
public static org.lwjgl.PointerBuffer glXChooseFBConfigSGIX(long display, int screen, java.nio.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, int 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
-
glXGetVisualFromFBConfigSGIX
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
-
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
public static org.lwjgl.PointerBuffer glXChooseFBConfigSGIX(long display, int screen, int[] attrib_list)Array version of:ChooseFBConfigSGIX
-
-