public class GLXEXTImportContext
extends java.lang.Object
This extension allows multiple X clients to share an indirect rendering context.
Additional convenience procedures to get the current Display* bound to a context as well as other context information are also added.
| Modifier and Type | Field and Description |
|---|---|
static int |
GLX_SCREEN_EXT
Accepted by the
attribute parameter of QueryContextInfoEXT. |
static int |
GLX_SHARE_CONTEXT_EXT
Accepted by the
attribute parameter of QueryContextInfoEXT. |
static int |
GLX_VISUAL_ID_EXT
Accepted by the
attribute parameter of QueryContextInfoEXT. |
| Modifier and Type | Method and Description |
|---|---|
static void |
glXFreeContextEXT(long display,
long context)
Frees the client-side part of a GLXContext that was created with
ImportContextEXT. |
static long |
glXGetContextIDEXT(long context)
Returns the XID of a GLXContext.
|
static long |
glXGetCurrentDisplayEXT()
Returns the display associated with the current context.
|
static long |
glXImportContextEXT(long display,
long contextID)
May be used in place of glXCreateContext to share another process's indirect rendering context.
|
static int |
glXQueryContextInfoEXT(long display,
long context,
int attribute,
int[] value)
Array version of:
QueryContextInfoEXT |
static int |
glXQueryContextInfoEXT(long display,
long context,
int attribute,
java.nio.IntBuffer value)
Obtains the value of a context's attribute.
|
static int |
nglXQueryContextInfoEXT(long display,
long context,
int attribute,
long value)
Unsafe version of:
QueryContextInfoEXT |
public static final int GLX_SHARE_CONTEXT_EXT
attribute parameter of QueryContextInfoEXT.public static final int GLX_VISUAL_ID_EXT
attribute parameter of QueryContextInfoEXT.public static final int GLX_SCREEN_EXT
attribute parameter of QueryContextInfoEXT.public static long glXGetCurrentDisplayEXT()
public static int nglXQueryContextInfoEXT(long display,
long context,
int attribute,
long value)
QueryContextInfoEXTpublic static int glXQueryContextInfoEXT(long display,
long context,
int attribute,
java.nio.IntBuffer value)
display - the connection to the X servercontext - the context being queriedattribute - the attribute to queryvalue - returns the attribute valuepublic static long glXGetContextIDEXT(long context)
context - the contextpublic static long glXImportContextEXT(long display,
long contextID)
display - the connection to the X servercontextID - the context XIDpublic static void glXFreeContextEXT(long display,
long context)
ImportContextEXT.display - the connection to the X servercontext - the context to freepublic static int glXQueryContextInfoEXT(long display,
long context,
int attribute,
int[] value)
QueryContextInfoEXTCopyright LWJGL. All Rights Reserved. License terms.