gnu.x11.extension.glx
Class GLX
java.lang.Object
gnu.x11.extension.Extension
gnu.x11.extension.glx.GLX
- All Implemented Interfaces:
- ErrorFactory, EventFactory
public class GLX
- extends Extension
- implements ErrorFactory, EventFactory
OpenGL GLX Extension. The specification can be found here (protocol).
Note XFree86 4.0.x only implements GLX 1.2 instead GLX 1.3.
Method Summary |
Error |
build(Display display,
int code,
int seq_no,
int bad,
int minor_opcode,
int major_opcode)
|
Event |
build(Display display,
ResponseInputStream i,
int code)
|
GL |
create_context(int visual_id,
int screen_no,
GL share_list)
|
int[] |
fb_configs(int screen_no)
|
java.lang.String |
more_string()
Additional information such as client version and server version to
display in toString() . |
java.lang.String |
server_string(int screen_no,
int name)
|
boolean |
support(int major,
int minor)
|
VisualConfig |
visual_config(int screen_no,
VisualConfig template,
boolean must)
|
VisualConfig |
visual_config(VisualConfig template)
|
VisualConfig[] |
visual_configs(int screen_no)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MINOR_OPCODE_STRINGS
public static final java.lang.String[] MINOR_OPCODE_STRINGS
CLIENT_MAJOR_VERSION
public static final int CLIENT_MAJOR_VERSION
- See Also:
- Constant Field Values
CLIENT_MINOR_VERSION
public static final int CLIENT_MINOR_VERSION
- See Also:
- Constant Field Values
server_major_version
public int server_major_version
server_minor_version
public int server_minor_version
VENDOR
public static final int VENDOR
- See Also:
- Constant Field Values
VERSION
public static final int VERSION
- See Also:
- Constant Field Values
EXTENSIONS
public static final int EXTENSIONS
- See Also:
- Constant Field Values
GLX
public GLX(Display display)
throws NotFoundException
- Throws:
NotFoundException
- See Also:
- glXQueryVersion
visual_configs
public VisualConfig[] visual_configs(int screen_no)
server_string
public java.lang.String server_string(int screen_no,
int name)
- Parameters:
name
- valid:
VENDOR
,
VERSION
,
EXTENSIONS
- See Also:
- glXQueryServerString
fb_configs
public int[] fb_configs(int screen_no)
create_context
public GL create_context(int visual_id,
int screen_no,
GL share_list)
- See Also:
GL#GL(GLX, int, int, GL)
build
public Error build(Display display,
int code,
int seq_no,
int bad,
int minor_opcode,
int major_opcode)
- Specified by:
build
in interface ErrorFactory
build
public Event build(Display display,
ResponseInputStream i,
int code)
- Specified by:
build
in interface EventFactory
visual_config
public VisualConfig visual_config(VisualConfig template)
- See Also:
visual_config(int, VisualConfig, boolean)
visual_config
public VisualConfig visual_config(int screen_no,
VisualConfig template,
boolean must)
- See Also:
- glXChooseVisual
more_string
public java.lang.String more_string()
- Description copied from class:
Extension
- Additional information such as client version and server version to
display in
toString()
.
- Overrides:
more_string
in class Extension
- See Also:
server_string(int, int)
support
public boolean support(int major,
int minor)