Package org.lwjgl.opengl
Class GLXEXTVisualRating
- java.lang.Object
-
- org.lwjgl.opengl.GLXEXTVisualRating
-
public final class GLXEXTVisualRating extends java.lang.Object
Native bindings to the GLX_EXT_visual_rating extension.This extension allows servers to identify a particular GLX visual as undesirable. A new visual attribute is introduced, providing a way for servers to specify caveats (e.g., slow) for a visual. The attribute may be queried using
GetConfig
, and can therefore be used by application-specific visual selection routines. The new attribute is also used byChooseVisual
to discriminate against visuals with caveats.This extension allows servers to export visuals with improved features or image quality, but lower performance or greater system burden, without having to have these visuals selected preferentially. It is intended to insure that most applications get the "right" visual, not that all applications do.
-
-
Field Summary
Fields Modifier and Type Field and Description static int
GLX_NON_CONFORMANT_VISUAL_EXT
GLX_NONE_EXT
GLX_SLOW_VISUAL_EXTReturned by thevalue
parameter ofGetConfig
(whenattribute
is set toVISUAL_CAVEAT_EXT
) and accepted by theattrib_list
parameter ofChooseVisual
(following theVISUAL_CAVEAT_EXT
token).static int
GLX_VISUAL_CAVEAT_EXT
-
-
-
Field Detail
-
GLX_NONE_EXT, GLX_SLOW_VISUAL_EXT, GLX_NON_CONFORMANT_VISUAL_EXT
Returned by thevalue
parameter ofGetConfig
(whenattribute
is set toVISUAL_CAVEAT_EXT
) and accepted by theattrib_list
parameter ofChooseVisual
(following theVISUAL_CAVEAT_EXT
token).
-
-