Top Description Fields Constructors Methods
org.lwjgl.opengl

public Class GLXSGIXFBConfig

extends Object
Class Inheritance
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*, org.lwjgl.system.linux.*

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 TypeField and Description
public static final int
GLX_COLOR_INDEX_BIT_SGIX

Returned by GetFBConfigAttribSGIX (when attribute is set to RENDER_TYPE_SGIX) and accepted by the attrib_list parameter of ChooseFBConfigSGIX (following the RENDER_TYPE_SGIX token).

public static final int
GLX_COLOR_INDEX_TYPE_SGIX

Accepted by the render_type parameter of CreateContextWithConfigSGIX.

public static final int
GLX_DRAWABLE_TYPE_SGIX

Accepted by the attribute parameter of GetFBConfigAttribSGIX, and by the attrib_list parameter of ChooseFBConfigSGIX.

public static final int
GLX_FBCONFIG_ID_SGIX

Accepted by the attribute parameter of GetFBConfigAttribSGIX, the attrib_list parameter of ChooseFBConfigSGIX, by the attribute parameter of QueryGLXPbufferSGIX and by the attribute parameter of QueryContextInfoEXT.

public static final int
GLX_PIXMAP_BIT_SGIX

Returned by GetFBConfigAttribSGIX (when attribute is set to DRAWABLE_TYPE_SGIX) and accepted by the attrib_list parameter of ChooseFBConfigSGIX (following the DRAWABLE_TYPE_SGIX token).

public static final int
GLX_RENDER_TYPE_SGIX

Accepted by the attribute parameter of GetFBConfigAttribSGIX, and by the attrib_list parameter of ChooseFBConfigSGIX.

public static final int
GLX_RGBA_BIT_SGIX

Returned by GetFBConfigAttribSGIX (when attribute is set to RENDER_TYPE_SGIX) and accepted by the attrib_list parameter of ChooseFBConfigSGIX (following the RENDER_TYPE_SGIX token).

public static final int
GLX_RGBA_TYPE_SGIX

Accepted by the render_type parameter of CreateContextWithConfigSGIX.

public static final int
GLX_SCREEN_EXT

Accepted by the attribute parameter of GetFBConfigAttribSGIX.

public static final int
GLX_WINDOW_BIT_SGIX

Returned by GetFBConfigAttribSGIX (when attribute is set to DRAWABLE_TYPE_SGIX) and accepted by the attrib_list parameter of ChooseFBConfigSGIX (following the DRAWABLE_TYPE_SGIX token).

public static final int
GLX_X_RENDERABLE_SGIX

Accepted by the attribute parameter of GetFBConfigAttribSGIX, and by the attrib_list parameter of ChooseFBConfigSGIX.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static PointerBuffer
glXChooseFBConfigSGIX(long
the connection to the X server
display
,
int
the screen number
screen
,
IntBuffer
an optional list of attributes, terminated with org.lwjgl.system.linux.None
attrib_list
)

Gets GLXFBConfigSGIXs that match a list of attributes or to get the list of GLXFBConfigSGIXs that are available on the specified screen.

public static PointerBuffer
glXChooseFBConfigSGIX(long display, int screen, int[] attrib_list)

Array version of: ChooseFBConfigSGIX

public static long
glXCreateContextWithConfigSGIX(long
the connection to the X server
display
,
long
the GLXFBConfigSGIX
config
,
int
the render type. One of:
RGBA_TYPE_SGIXCOLOR_INDEX_TYPE_SGIX
render_type
,
long
the GLX context to share objects with
share_list
,
boolean
direct rendering request
direct
)

Creates a GLX context using a GLXFBConfigSGIX.

public static long
glXCreateGLXPixmapWithConfigSGIX(long
the connection to the X server
display
,
long
the GLXFBConfigSGIX
config
,
long
the pixmap
pixmap
)

Creates a GLX pixmap using a GLXFBConfigSGIX.

public static int
glXGetFBConfigAttribSGIX(long
the connection to the X server
display
,
long
the GLXFBConfigSGIX being queried
config
,
int
the attribute to query
attribute
,
IntBuffer
returns the attribute value
value
)

Gets the value of a GLX attribute for a GLXFBConfigSGIX.

public static int
glXGetFBConfigAttribSGIX(long display, long config, int attribute, int[] value)

Array version of: GetFBConfigAttribSGIX

public static long
glXGetFBConfigFromVisualSGIX(long
the connection to the X server
display
,
XVisualInfo
the visual
vis
)

Retrieves the GLXFBConfigSGIX associated with a visual.

public static XVisualInfo
glXGetVisualFromFBConfigSGIX(long
the connection to the X server
display
,
long
the GLXFBConfigSGIX
config
)

Retrieves the associated visual of a GLXFBConfigSGIX.

public static long
nglXChooseFBConfigSGIX(long display, int screen, long attrib_list, long
the number of GLXFBConfigSGIX returned
nelements
)

Unsafe version of: ChooseFBConfigSGIX

public static int
nglXGetFBConfigAttribSGIX(long display, long config, int attribute, long value)

Unsafe version of: GetFBConfigAttribSGIX

public static long
nglXGetFBConfigFromVisualSGIX(long display, long vis)

Unsafe version of: GetFBConfigFromVisualSGIX

public static long
nglXGetVisualFromFBConfigSGIX(long display, long config)

Unsafe version of: GetVisualFromFBConfigSGIX

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GLX_COLOR_INDEX_BIT_SGIXback to summary
public static final int GLX_COLOR_INDEX_BIT_SGIX

Returned by GetFBConfigAttribSGIX (when attribute is set to RENDER_TYPE_SGIX) and accepted by the attrib_list parameter of ChooseFBConfigSGIX (following the RENDER_TYPE_SGIX token).

GLX_COLOR_INDEX_TYPE_SGIXback to summary
public static final int GLX_COLOR_INDEX_TYPE_SGIX

Accepted by the render_type parameter of CreateContextWithConfigSGIX.

GLX_DRAWABLE_TYPE_SGIXback to summary
public static final int GLX_DRAWABLE_TYPE_SGIX

Accepted by the attribute parameter of GetFBConfigAttribSGIX, and by the attrib_list parameter of ChooseFBConfigSGIX.

GLX_FBCONFIG_ID_SGIXback to summary
public static final int GLX_FBCONFIG_ID_SGIX

Accepted by the attribute parameter of GetFBConfigAttribSGIX, the attrib_list parameter of ChooseFBConfigSGIX, by the attribute parameter of QueryGLXPbufferSGIX and by the attribute parameter of QueryContextInfoEXT.

GLX_PIXMAP_BIT_SGIXback to summary
public static final int GLX_PIXMAP_BIT_SGIX

Returned by GetFBConfigAttribSGIX (when attribute is set to DRAWABLE_TYPE_SGIX) and accepted by the attrib_list parameter of ChooseFBConfigSGIX (following the DRAWABLE_TYPE_SGIX token).

GLX_RENDER_TYPE_SGIXback to summary
public static final int GLX_RENDER_TYPE_SGIX

Accepted by the attribute parameter of GetFBConfigAttribSGIX, and by the attrib_list parameter of ChooseFBConfigSGIX.

GLX_RGBA_BIT_SGIXback to summary
public static final int GLX_RGBA_BIT_SGIX

Returned by GetFBConfigAttribSGIX (when attribute is set to RENDER_TYPE_SGIX) and accepted by the attrib_list parameter of ChooseFBConfigSGIX (following the RENDER_TYPE_SGIX token).

GLX_RGBA_TYPE_SGIXback to summary
public static final int GLX_RGBA_TYPE_SGIX

Accepted by the render_type parameter of CreateContextWithConfigSGIX.

GLX_SCREEN_EXTback to summary
public static final int GLX_SCREEN_EXT

Accepted by the attribute parameter of GetFBConfigAttribSGIX.

GLX_WINDOW_BIT_SGIXback to summary
public static final int GLX_WINDOW_BIT_SGIX

Returned by GetFBConfigAttribSGIX (when attribute is set to DRAWABLE_TYPE_SGIX) and accepted by the attrib_list parameter of ChooseFBConfigSGIX (following the DRAWABLE_TYPE_SGIX token).

GLX_X_RENDERABLE_SGIXback to summary
public static final int GLX_X_RENDERABLE_SGIX

Accepted by the attribute parameter of GetFBConfigAttribSGIX, and by the attrib_list parameter of ChooseFBConfigSGIX.

Constructor Detail

GLXSGIXFBConfigback to summary
protected GLXSGIXFBConfig()

Method Detail

glXChooseFBConfigSGIXback to summary
public static PointerBuffer glXChooseFBConfigSGIX(long display, int screen, 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:long

the connection to the X server

screen:int

the screen number

attrib_list:IntBuffer

an optional list of attributes, terminated with org.lwjgl.system.linux.None

Annotations
@Nullable
@NativeType:GLXFBConfigSGIX *
glXChooseFBConfigSGIXback to summary
public static PointerBuffer glXChooseFBConfigSGIX(long display, int screen, int[] attrib_list)

Array version of: ChooseFBConfigSGIX

Annotations
@Nullable
@NativeType:GLXFBConfigSGIX *
glXCreateContextWithConfigSGIXback to summary
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:long

the connection to the X server

config:long

the GLXFBConfigSGIX

render_type:int

the render type. One of:

RGBA_TYPE_SGIXCOLOR_INDEX_TYPE_SGIX
share_list:long

the GLX context to share objects with

direct:boolean

direct rendering request

Annotations
@NativeType:GLXContext
glXCreateGLXPixmapWithConfigSGIXback to summary
public static long glXCreateGLXPixmapWithConfigSGIX(long display, long config, long pixmap)

Creates a GLX pixmap using a GLXFBConfigSGIX.

Parameters
display:long

the connection to the X server

config:long

the GLXFBConfigSGIX

pixmap:long

the pixmap

Annotations
@NativeType:GLXPixmap
glXGetFBConfigAttribSGIXback to summary
public static int glXGetFBConfigAttribSGIX(long display, long config, int attribute, IntBuffer value)

Gets the value of a GLX attribute for a GLXFBConfigSGIX.

Parameters
display:long

the connection to the X server

config:long

the GLXFBConfigSGIX being queried

attribute:int

the attribute to query

value:IntBuffer

returns the attribute value

glXGetFBConfigAttribSGIXback to summary
public static int glXGetFBConfigAttribSGIX(long display, long config, int attribute, int[] value)

Array version of: GetFBConfigAttribSGIX

glXGetFBConfigFromVisualSGIXback to summary
public static long glXGetFBConfigFromVisualSGIX(long display, XVisualInfo vis)

Retrieves the GLXFBConfigSGIX associated with a visual.

Parameters
display:long

the connection to the X server

vis:XVisualInfo

the visual

Annotations
@NativeType:GLXFBConfigSGIX
glXGetVisualFromFBConfigSGIXback to summary
public static XVisualInfo glXGetVisualFromFBConfigSGIX(long display, long config)

Retrieves the associated visual of a GLXFBConfigSGIX.

Parameters
display:long

the connection to the X server

config:long

the GLXFBConfigSGIX

Annotations
@Nullable
@NativeType:XVisualInfo *
nglXChooseFBConfigSGIXback to summary
public static long nglXChooseFBConfigSGIX(long display, int screen, long attrib_list, long nelements)

Unsafe version of: ChooseFBConfigSGIX

Parameters
nelements:long

the number of GLXFBConfigSGIX returned

nglXGetFBConfigAttribSGIXback to summary
public static int nglXGetFBConfigAttribSGIX(long display, long config, int attribute, long value)

Unsafe version of: GetFBConfigAttribSGIX

nglXGetFBConfigFromVisualSGIXback to summary
public static long nglXGetFBConfigFromVisualSGIX(long display, long vis)

Unsafe version of: GetFBConfigFromVisualSGIX

nglXGetVisualFromFBConfigSGIXback to summary
public static long nglXGetVisualFromFBConfigSGIX(long display, long config)

Unsafe version of: GetVisualFromFBConfigSGIX