public final class GLXEXTVisualRating
extends java.lang.Object
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 by ChooseVisual 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.
| Modifier and Type | Field and Description |
|---|---|
static int |
GLX_NON_CONFORMANT_VISUAL_EXT
Returned by the
value parameter of GetConfig (when attribute is set to VISUAL_CAVEAT_EXT) and accepted by the attrib_list
parameter of ChooseVisual (following the VISUAL_CAVEAT_EXT token). |
static int |
GLX_NONE_EXT
Returned by the
value parameter of GetConfig (when attribute is set to VISUAL_CAVEAT_EXT) and accepted by the attrib_list
parameter of ChooseVisual (following the VISUAL_CAVEAT_EXT token). |
static int |
GLX_SLOW_VISUAL_EXT
Returned by the
value parameter of GetConfig (when attribute is set to VISUAL_CAVEAT_EXT) and accepted by the attrib_list
parameter of ChooseVisual (following the VISUAL_CAVEAT_EXT token). |
static int |
GLX_VISUAL_CAVEAT_EXT
|
public static final int GLX_VISUAL_CAVEAT_EXT
public static final int GLX_NONE_EXT
value parameter of GetConfig (when attribute is set to VISUAL_CAVEAT_EXT) and accepted by the attrib_list
parameter of ChooseVisual (following the VISUAL_CAVEAT_EXT token).public static final int GLX_SLOW_VISUAL_EXT
value parameter of GetConfig (when attribute is set to VISUAL_CAVEAT_EXT) and accepted by the attrib_list
parameter of ChooseVisual (following the VISUAL_CAVEAT_EXT token).public static final int GLX_NON_CONFORMANT_VISUAL_EXT
value parameter of GetConfig (when attribute is set to VISUAL_CAVEAT_EXT) and accepted by the attrib_list
parameter of ChooseVisual (following the VISUAL_CAVEAT_EXT token).Copyright LWJGL. All Rights Reserved. License terms.