| Modifier and Type | Class and Description |
|---|---|
| public static class | GLX.
Contains the function pointers loaded from |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | GLX_ACCUM_ALPHA_SIZE
Names for attributes to |
| public static final int | GLX_ACCUM_BLUE_SIZE
Names for attributes to |
| public static final int | GLX_ACCUM_GREEN_SIZE
Names for attributes to |
| public static final int | GLX_ACCUM_RED_SIZE
Names for attributes to |
| public static final int | GLX_ALPHA_SIZE
Names for attributes to |
| public static final int | GLX_AUX_BUFFERS
Names for attributes to |
| public static final int | GLX_BAD_ATTRIBUTE
Error return values from |
| public static final int | GLX_BAD_CONTEXT
Error return values from |
| public static final int | GLX_BAD_ENUM
Error return values from |
| public static final int | GLX_BAD_SCREEN
Error return values from |
| public static final int | GLX_BAD_VALUE
Error return values from |
| public static final int | GLX_BAD_VISUAL
Error return values from |
| public static final int | GLX_BLUE_SIZE
Names for attributes to |
| public static final int | GLX_BUFFER_SIZE
Names for attributes to |
| public static final int | GLX_DEPTH_SIZE
Names for attributes to |
| public static final int | GLX_DOUBLEBUFFER
Names for attributes to |
| public static final int | GLX_GREEN_SIZE
Names for attributes to |
| public static final int | |
| public static final int | GLX_NO_EXTENSION
Error return values from |
| public static final int | GLX_RED_SIZE
Names for attributes to |
| public static final int | |
| public static final int | GLX_STENCIL_SIZE
Names for attributes to |
| public static final int | GLX_STEREO
Names for attributes to |
| public static final int | GLX_USE_GL
Names for attributes to |
| public static final int | GLXBadContext
Errors. |
| public static final int | GLXBadContextState
Errors. |
| public static final int | GLXBadContextTag
Errors. |
| public static final int | GLXBadCurrentDrawable
Errors. |
| public static final int | GLXBadCurrentWindow
Errors. |
| public static final int | GLXBadDrawable
Errors. |
| public static final int | GLXBadFBConfig
Errors. |
| public static final int | GLXBadLargeRequest
Errors. |
| public static final int | GLXBadPbuffer
Errors. |
| public static final int | GLXBadPixmap
Errors. |
| public static final int | GLXBadRenderRequest
Errors. |
| public static final int | GLXBadWindow
Errors. |
| public static final int | GLXUnsupportedPrivateRequest
Errors. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static XVisualInfo | Returns: a pointer to anXVisualInfo structure describing the visual that best matches the specified attributes. If no matching visual exists, NULL is
returned.the connection to the X server display, int the screen number screen, IntBuffer a list of attributes terminated with attrib_list)NoneFinds a visual that matches the client’s specified attributes. |
| public static XVisualInfo | |
| public static void | glXCopyContext(long
the connection to the X server display, long the source GLXContext source, long the destination GLXContext dest, long indicates which groups of state variables are to be copied; it contains the bitwise OR of the symbolic names for the attribute groups mask)Copies OpenGL rendering state from one context to another. |
| public static long | glXCreateContext(long
the connection to the X server display, XVisualInfo a pointer to an visual, long XVisualInfo structurethe GLXContext to share objects with share_list, boolean whether direct rendering is requested direct)Creates an OpenGL context. |
| public static long | glXCreateGLXPixmap(long
the connection to the X server display, XVisualInfo a pointer to a visual, long XVisualInfo structurethe Pixmap pixmap)Creates a GLXPixmap from a Pixmap. |
| public static void | glXDestroyContext(long
the connection to the X server display, long the GLXContext to destroy ctx)Destroys an OpenGL context. |
| public static void | glXDestroyGLXPixmap(long
the connection to the X server display, long the GLXPixmap to destroy. pixmap)Destroys a GLXPixmap. |
| public static int | glXGetConfig(long
the connection to the X server display, XVisualInfo a pointer to an visual, int XVisualInfo structurethe attribute to query attribute, IntBuffer returns the attribute value value)Returns a description of an OpenGL attribute exported by a Visual. |
| public static int | glXGetConfig(long display, XVisualInfo visual, int attribute, int[] value)
Array version of: |
| public static long | |
| public static long | |
| public static boolean | glXIsDirect(long
the connection to the X server display, long the GLXContext to query ctx)Determines if an OpenGL rendering context is direct. |
| public static boolean | glXMakeCurrent(long
the connection to the X server display, long the draw GLXdrawable draw, long the GLXContext to make current ctx)Makes a context current in the current thread |
| public static boolean | glXQueryExtension(long
the connection to the X server display, IntBuffer returns the value of the first error code error_base, IntBuffer returns the value of the first event code event_base)Ascertains if the GLX extension is defined for an X server. |
| public static boolean | |
| public static boolean | glXQueryVersion(long
the connection to the X server display, IntBuffer returns the major version major, IntBuffer returns the minor version minor)Queries the GLX version supported. |
| public static boolean | |
| public static void | glXSwapBuffers(long
the connection to the X server display, long a double buffered GLXDrawable draw)For drawables that are double buffered, makes the contexts of the back buffer potentially visible (i.e., become the contents of the front buffer). |
| public static void | glXUseXFont(long
the font to use font, int the first glyph in the font to use first, int the number of display lists to define count, int the base list number list_base)Provides a shortcut for using X fonts. |
| public static void | |
| public static void | glXWaitX()
Prevents the OpenGL command sequence from executing until any outstanding X requests are completed. |
| public static long | |
| public static long | nglXCreateContext(long display, long visual, long share_list, int direct)
Unsafe version of: |
| public static long | |
| public static int | |
| public static int | |
| public static int |
| GLX_ACCUM_ALPHA_SIZE | back to summary |
|---|---|
| public static final int GLX_ACCUM_ALPHA_SIZE Names for attributes to | |
| GLX_ACCUM_BLUE_SIZE | back to summary |
|---|---|
| public static final int GLX_ACCUM_BLUE_SIZE Names for attributes to | |
| GLX_ACCUM_GREEN_SIZE | back to summary |
|---|---|
| public static final int GLX_ACCUM_GREEN_SIZE Names for attributes to | |
| GLX_ACCUM_RED_SIZE | back to summary |
|---|---|
| public static final int GLX_ACCUM_RED_SIZE Names for attributes to | |
| GLX_ALPHA_SIZE | back to summary |
|---|---|
| public static final int GLX_ALPHA_SIZE Names for attributes to | |
| GLX_AUX_BUFFERS | back to summary |
|---|---|
| public static final int GLX_AUX_BUFFERS Names for attributes to | |
| GLX_BAD_ATTRIBUTE | back to summary |
|---|---|
| public static final int GLX_BAD_ATTRIBUTE Error return values from | |
| GLX_BAD_CONTEXT | back to summary |
|---|---|
| public static final int GLX_BAD_CONTEXT Error return values from | |
| GLX_BAD_ENUM | back to summary |
|---|---|
| public static final int GLX_BAD_ENUM Error return values from | |
| GLX_BAD_SCREEN | back to summary |
|---|---|
| public static final int GLX_BAD_SCREEN Error return values from | |
| GLX_BAD_VALUE | back to summary |
|---|---|
| public static final int GLX_BAD_VALUE Error return values from | |
| GLX_BAD_VISUAL | back to summary |
|---|---|
| public static final int GLX_BAD_VISUAL Error return values from | |
| GLX_BLUE_SIZE | back to summary |
|---|---|
| public static final int GLX_BLUE_SIZE Names for attributes to | |
| GLX_BUFFER_SIZE | back to summary |
|---|---|
| public static final int GLX_BUFFER_SIZE Names for attributes to | |
| GLX_DEPTH_SIZE | back to summary |
|---|---|
| public static final int GLX_DEPTH_SIZE Names for attributes to | |
| GLX_DOUBLEBUFFER | back to summary |
|---|---|
| public static final int GLX_DOUBLEBUFFER Names for attributes to | |
| GLX_GREEN_SIZE | back to summary |
|---|---|
| public static final int GLX_GREEN_SIZE Names for attributes to | |
| GLX_LEVEL | back to summary |
|---|---|
| public static final int GLX_LEVEL Names for attributes to | |
| GLX_NO_EXTENSION | back to summary |
|---|---|
| public static final int GLX_NO_EXTENSION Error return values from | |
| GLX_RED_SIZE | back to summary |
|---|---|
| public static final int GLX_RED_SIZE Names for attributes to | |
| GLX_RGBA | back to summary |
|---|---|
| public static final int GLX_RGBA Names for attributes to | |
| GLX_STENCIL_SIZE | back to summary |
|---|---|
| public static final int GLX_STENCIL_SIZE Names for attributes to | |
| GLX_STEREO | back to summary |
|---|---|
| public static final int GLX_STEREO Names for attributes to | |
| GLX_USE_GL | back to summary |
|---|---|
| public static final int GLX_USE_GL Names for attributes to | |
| GLXBadContext | back to summary |
|---|---|
| public static final int GLXBadContext Errors. | |
| GLXBadContextState | back to summary |
|---|---|
| public static final int GLXBadContextState Errors. | |
| GLXBadContextTag | back to summary |
|---|---|
| public static final int GLXBadContextTag Errors. | |
| GLXBadCurrentDrawable | back to summary |
|---|---|
| public static final int GLXBadCurrentDrawable Errors. | |
| GLXBadCurrentWindow | back to summary |
|---|---|
| public static final int GLXBadCurrentWindow Errors. | |
| GLXBadDrawable | back to summary |
|---|---|
| public static final int GLXBadDrawable Errors. | |
| GLXBadFBConfig | back to summary |
|---|---|
| public static final int GLXBadFBConfig Errors. | |
| GLXBadLargeRequest | back to summary |
|---|---|
| public static final int GLXBadLargeRequest Errors. | |
| GLXBadPbuffer | back to summary |
|---|---|
| public static final int GLXBadPbuffer Errors. | |
| GLXBadPixmap | back to summary |
|---|---|
| public static final int GLXBadPixmap Errors. | |
| GLXBadRenderRequest | back to summary |
|---|---|
| public static final int GLXBadRenderRequest Errors. | |
| GLXBadWindow | back to summary |
|---|---|
| public static final int GLXBadWindow Errors. | |
| GLXUnsupportedPrivateRequest | back to summary |
|---|---|
| public static final int GLXUnsupportedPrivateRequest Errors. | |
| GLX | back to summary |
|---|---|
| protected GLX() | |
| glXChooseVisual | back to summary |
|---|---|
| public static XVisualInfo glXChooseVisual(long display, int screen, IntBuffer attrib_list) Finds a visual that matches the client’s specified attributes.
| |
| glXChooseVisual | back to summary |
|---|---|
| public static XVisualInfo glXChooseVisual(long display, int screen, int[] attrib_list) Array version of:
| |
| glXCopyContext | back to summary |
|---|---|
| public static void glXCopyContext(long display, long source, long dest, long mask) Copies OpenGL rendering state from one context to another.
| |
| glXCreateContext | back to summary |
|---|---|
| public static long glXCreateContext(long display, XVisualInfo visual, long share_list, boolean direct) Creates an OpenGL context.
| |
| glXCreateGLXPixmap | back to summary |
|---|---|
| public static long glXCreateGLXPixmap(long display, XVisualInfo visual, long pixmap) Creates a GLXPixmap from a Pixmap.
| |
| glXDestroyContext | back to summary |
|---|---|
| public static void glXDestroyContext(long display, long ctx) Destroys an OpenGL context. If
| |
| glXDestroyGLXPixmap | back to summary |
|---|---|
| public static void glXDestroyGLXPixmap(long display, long pixmap) Destroys a GLXPixmap.
| |
| glXGetConfig | back to summary |
|---|---|
| public static int glXGetConfig(long display, XVisualInfo visual, int attribute, IntBuffer value) Returns a description of an OpenGL attribute exported by a Visual.
| |
| glXGetConfig | back to summary |
|---|---|
| public static int glXGetConfig(long display, XVisualInfo visual, int attribute, int[] value) Array version of: | |
| glXGetCurrentContext | back to summary |
|---|---|
| public static long glXGetCurrentContext() Returns the GLXContext that is current in the current thread.
| |
| glXGetCurrentDrawable | back to summary |
|---|---|
| public static long glXGetCurrentDrawable() Returns the XID of the current drawable used for rendering.
| |
| glXIsDirect | back to summary |
|---|---|
| public static boolean glXIsDirect(long display, long ctx) Determines if an OpenGL rendering context is direct.
| |
| glXMakeCurrent | back to summary |
|---|---|
| public static boolean glXMakeCurrent(long display, long draw, long ctx) Makes a context current in the current thread
| |
| glXQueryExtension | back to summary |
|---|---|
| public static boolean glXQueryExtension(long display, IntBuffer error_base, IntBuffer event_base) Ascertains if the GLX extension is defined for an X server.
| |
| glXQueryExtension | back to summary |
|---|---|
| public static boolean glXQueryExtension(long display, int[] error_base, int[] event_base) Array version of:
| |
| glXQueryVersion | back to summary |
|---|---|
| public static boolean glXQueryVersion(long display, IntBuffer major, IntBuffer minor) Queries the GLX version supported.
| |
| glXQueryVersion | back to summary |
|---|---|
| public static boolean glXQueryVersion(long display, int[] major, int[] minor) Array version of:
| |
| glXSwapBuffers | back to summary |
|---|---|
| public static void glXSwapBuffers(long display, long draw) For drawables that are double buffered, makes the contexts of the back buffer potentially visible (i.e., become the contents of the front buffer). The contents of the back buffer then become undefined. This operation is a no-op if draw was created with a non-double-buffered GLXFBConfig, or if draw is a GLXPixmap.
| |
| glXUseXFont | back to summary |
|---|---|
| public static void glXUseXFont(long font, int first, int count, int list_base) Provides a shortcut for using X fonts.
| |
| glXWaitGL | back to summary |
|---|---|
| public static void glXWaitGL() Prevents X requests from executing until any outstanding OpenGL rendering is done. OpenGL calls made prior to | |
| glXWaitX | back to summary |
|---|---|
| public static void glXWaitX() Prevents the OpenGL command sequence from executing until any outstanding X requests are completed. X rendering calls made prior to | |
| nglXChooseVisual | back to summary |
|---|---|
| public static long nglXChooseVisual(long display, int screen, long attrib_list) Unsafe version of: | |
| nglXCreateContext | back to summary |
|---|---|
| public static long nglXCreateContext(long display, long visual, long share_list, int direct) Unsafe version of: | |
| nglXCreateGLXPixmap | back to summary |
|---|---|
| public static long nglXCreateGLXPixmap(long display, long visual, long pixmap) Unsafe version of: | |
| nglXGetConfig | back to summary |
|---|---|
| public static int nglXGetConfig(long display, long visual, int attribute, long value) Unsafe version of: | |
| nglXQueryExtension | back to summary |
|---|---|
| public static int nglXQueryExtension(long display, long error_base, long event_base) Unsafe version of: | |
| nglXQueryVersion | back to summary |
|---|---|
| public static int nglXQueryVersion(long display, long major, long minor) Unsafe version of: | |
GL.getFunctionProvider().
| Modifier and Type | Field and Description |
|---|---|
| public static final long | ChooseVisual
Function address. |
| public static final long | CopyContext
Function address. |
| public static final long | CreateContext
Function address. |
| public static final long | CreateGLXPixmap
Function address. |
| public static final long | DestroyContext
Function address. |
| public static final long | DestroyGLXPixmap
Function address. |
| public static final long | GetConfig
Function address. |
| public static final long | GetCurrentContext
Function address. |
| public static final long | GetCurrentDrawable
Function address. |
| public static final long | IsDirect
Function address. |
| public static final long | MakeCurrent
Function address. |
| public static final long | QueryExtension
Function address. |
| public static final long | QueryVersion
Function address. |
| public static final long | SwapBuffers
Function address. |
| public static final long | UseXFont
Function address. |
| public static final long | WaitGL
Function address. |
| public static final long | WaitX
Function address. |
| Access | Constructor and Description |
|---|---|
| private |
| ChooseVisual | back to summary |
|---|---|
| public static final long ChooseVisual Function address. | |
| CopyContext | back to summary |
|---|---|
| public static final long CopyContext Function address. | |
| CreateContext | back to summary |
|---|---|
| public static final long CreateContext Function address. | |
| CreateGLXPixmap | back to summary |
|---|---|
| public static final long CreateGLXPixmap Function address. | |
| DestroyContext | back to summary |
|---|---|
| public static final long DestroyContext Function address. | |
| DestroyGLXPixmap | back to summary |
|---|---|
| public static final long DestroyGLXPixmap Function address. | |
| GetConfig | back to summary |
|---|---|
| public static final long GetConfig Function address. | |
| GetCurrentContext | back to summary |
|---|---|
| public static final long GetCurrentContext Function address. | |
| GetCurrentDrawable | back to summary |
|---|---|
| public static final long GetCurrentDrawable Function address. | |
| IsDirect | back to summary |
|---|---|
| public static final long IsDirect Function address. | |
| MakeCurrent | back to summary |
|---|---|
| public static final long MakeCurrent Function address. | |
| QueryExtension | back to summary |
|---|---|
| public static final long QueryExtension Function address. | |
| QueryVersion | back to summary |
|---|---|
| public static final long QueryVersion Function address. | |
| SwapBuffers | back to summary |
|---|---|
| public static final long SwapBuffers Function address. | |
| UseXFont | back to summary |
|---|---|
| public static final long UseXFont Function address. | |
| WaitGL | back to summary |
|---|---|
| public static final long WaitGL Function address. | |
| WaitX | back to summary |
|---|---|
| public static final long WaitX Function address. | |
| Functions | back to summary |
|---|---|
| private Functions() | |