GLX.Functions| Modifier and Type | Field and Description |
|---|---|
static int |
GLX_ACCUM_BUFFER_BIT
Added in GLX 1.3.
|
static int |
GLX_AUX_BUFFERS_BIT
Added in GLX 1.3.
|
static int |
GLX_BACK_LEFT_BUFFER_BIT
Added in GLX 1.3.
|
static int |
GLX_BACK_RIGHT_BUFFER_BIT
Added in GLX 1.3.
|
static int |
GLX_COLOR_INDEX_BIT
Added in GLX 1.3.
|
static int |
GLX_COLOR_INDEX_TYPE
Added in GLX 1.3.
|
static int |
GLX_CONFIG_CAVEAT
Added in GLX 1.3.
|
static int |
GLX_DAMAGED
Added in GLX 1.3.
|
static int |
GLX_DEPTH_BUFFER_BIT
Added in GLX 1.3.
|
static int |
GLX_DIRECT_COLOR
Added in GLX 1.3.
|
static int |
GLX_DONT_CARE
Added in GLX 1.3.
|
static int |
GLX_DRAWABLE_TYPE
Added in GLX 1.3.
|
static int |
GLX_EVENT_MASK
Added in GLX 1.3.
|
static int |
GLX_FBCONFIG_ID
Added in GLX 1.3.
|
static int |
GLX_FRONT_LEFT_BUFFER_BIT
Added in GLX 1.3.
|
static int |
GLX_FRONT_RIGHT_BUFFER_BIT
Added in GLX 1.3.
|
static int |
GLX_GRAY_SCALE
Added in GLX 1.3.
|
static int |
GLX_HEIGHT
Added in GLX 1.3.
|
static int |
GLX_LARGEST_PBUFFER
Added in GLX 1.3.
|
static int |
GLX_MAX_PBUFFER_HEIGHT
Added in GLX 1.3.
|
static int |
GLX_MAX_PBUFFER_PIXELS
Added in GLX 1.3.
|
static int |
GLX_MAX_PBUFFER_WIDTH
Added in GLX 1.3.
|
static int |
GLX_NON_CONFORMANT_CONFIG
Added in GLX 1.3.
|
static int |
GLX_NONE
Added in GLX 1.3.
|
static int |
GLX_PBUFFER
Added in GLX 1.3.
|
static int |
GLX_PBUFFER_BIT
Added in GLX 1.3.
|
static int |
GLX_PBUFFER_CLOBBER_MASK
Added in GLX 1.3.
|
static int |
GLX_PBUFFER_HEIGHT
Added in GLX 1.3.
|
static int |
GLX_PBUFFER_WIDTH
Added in GLX 1.3.
|
static int |
GLX_PIXMAP_BIT
Added in GLX 1.3.
|
static int |
GLX_PRESERVED_CONTENTS
Added in GLX 1.3.
|
static int |
GLX_PSEUDO_COLOR
Added in GLX 1.3.
|
static int |
GLX_RENDER_TYPE
Added in GLX 1.3.
|
static int |
GLX_RGBA_BIT
Added in GLX 1.3.
|
static int |
GLX_RGBA_TYPE
Added in GLX 1.3.
|
static int |
GLX_SAVED
Added in GLX 1.3.
|
static int |
GLX_SCREEN
Added in GLX 1.3.
|
static int |
GLX_SLOW_CONFIG
Added in GLX 1.3.
|
static int |
GLX_STATIC_COLOR
Added in GLX 1.3.
|
static int |
GLX_STATIC_GRAY
Added in GLX 1.3.
|
static int |
GLX_STENCIL_BUFFER_BIT
Added in GLX 1.3.
|
static int |
GLX_TRANSPARENT_ALPHA_VALUE
Added in GLX 1.3.
|
static int |
GLX_TRANSPARENT_BLUE_VALUE
Added in GLX 1.3.
|
static int |
GLX_TRANSPARENT_GREEN_VALUE
Added in GLX 1.3.
|
static int |
GLX_TRANSPARENT_INDEX
Added in GLX 1.3.
|
static int |
GLX_TRANSPARENT_INDEX_VALUE
Added in GLX 1.3.
|
static int |
GLX_TRANSPARENT_RED_VALUE
Added in GLX 1.3.
|
static int |
GLX_TRANSPARENT_RGB
Added in GLX 1.3.
|
static int |
GLX_TRANSPARENT_TYPE
Added in GLX 1.3.
|
static int |
GLX_TRUE_COLOR
Added in GLX 1.3.
|
static int |
GLX_VISUAL_ID
Added in GLX 1.3.
|
static int |
GLX_WIDTH
Added in GLX 1.3.
|
static int |
GLX_WINDOW
Added in GLX 1.3.
|
static int |
GLX_WINDOW_BIT
Added in GLX 1.3.
|
static int |
GLX_X_RENDERABLE
Added in GLX 1.3.
|
static int |
GLX_X_VISUAL_TYPE
Added in GLX 1.3.
|
GLX_EXTENSIONS, GLX_VENDOR, GLX_VERSIONGLX_ACCUM_ALPHA_SIZE, GLX_ACCUM_BLUE_SIZE, GLX_ACCUM_GREEN_SIZE, GLX_ACCUM_RED_SIZE, GLX_ALPHA_SIZE, GLX_AUX_BUFFERS, GLX_BAD_ATTRIBUTE, GLX_BAD_CONTEXT, GLX_BAD_ENUM, GLX_BAD_SCREEN, GLX_BAD_VALUE, GLX_BAD_VISUAL, GLX_BLUE_SIZE, GLX_BUFFER_SIZE, GLX_DEPTH_SIZE, GLX_DOUBLEBUFFER, GLX_GREEN_SIZE, GLX_LEVEL, GLX_NO_EXTENSION, GLX_RED_SIZE, GLX_RGBA, GLX_STENCIL_SIZE, GLX_STEREO, GLX_USE_GL, GLXBadContext, GLXBadContextState, GLXBadContextTag, GLXBadCurrentDrawable, GLXBadCurrentWindow, GLXBadDrawable, GLXBadFBConfig, GLXBadLargeRequest, GLXBadPbuffer, GLXBadPixmap, GLXBadRenderRequest, GLXBadWindow, GLXUnsupportedPrivateRequest| Modifier and Type | Method and Description |
|---|---|
static org.lwjgl.PointerBuffer |
glXChooseFBConfig(long display,
int screen,
int[] attrib_list)
Array version of:
ChooseFBConfig |
static org.lwjgl.PointerBuffer |
glXChooseFBConfig(long display,
int screen,
java.nio.IntBuffer attrib_list)
Returns a list of GLXFBConfigs that match a list of attributes.
|
static long |
glXCreateNewContext(long display,
long config,
int render_type,
long share_list,
boolean direct)
Creates an OpenGL rendering context.
|
static long |
glXCreatePbuffer(long display,
long config,
int[] attrib_list)
Array version of:
CreatePbuffer |
static long |
glXCreatePbuffer(long display,
long config,
java.nio.IntBuffer attrib_list)
Creates a GLXPbuffer from a GLXFBConfig.
|
static long |
glXCreatePixmap(long display,
long config,
long pixmap,
int[] attrib_list)
Array version of:
CreatePixmap |
static long |
glXCreatePixmap(long display,
long config,
long pixmap,
java.nio.IntBuffer attrib_list)
Creates a GLXPixmap offscreen rendering area from an X Pixmap and a desired GLXFBConfig.
|
static long |
glXCreateWindow(long display,
long config,
long win,
int[] attrib_list)
Array version of:
CreateWindow |
static long |
glXCreateWindow(long display,
long config,
long win,
java.nio.IntBuffer attrib_list)
Create an onscreen rendering area from an X Window and a desired GLXFBConfig.
|
static void |
glXDestroyPbuffer(long display,
long pbuf)
Destroys a GLXPbuffer.
|
static void |
glXDestroyPixmap(long display,
long pixmap)
Destroys a GLXPixmap.
|
static long |
glXGetCurrentReadDrawable()
Returns the current GLXDrawable used for reading in the current thread.
|
static int |
glXGetFBConfigAttrib(long display,
long config,
int attribute,
int[] value)
Array version of:
GetFBConfigAttrib |
static int |
glXGetFBConfigAttrib(long display,
long config,
int attribute,
java.nio.IntBuffer value)
Queries the value of a GLX attribute for a GLXFBConfig.
|
static org.lwjgl.PointerBuffer |
glXGetFBConfigs(long display,
int screen)
Returns the list of all GLXFBConfigs that are available on the specified screen.
|
static void |
glXGetSelectedEvent(long display,
long draw,
org.lwjgl.CLongBuffer event_mask)
Returns which GLX events are selected for a GLXDrawable.
|
static org.lwjgl.system.linux.XVisualInfo |
glXGetVisualFromFBConfig(long display,
long config)
Retrieves the associated visual of a GLXFBConfig.
|
static boolean |
glXMakeContextCurrent(long display,
long draw,
long read,
long ctx)
Makes a GLXContext current in the current thread.
|
static int |
glXQueryContext(long display,
long ctx,
int attribute,
int[] value)
Array version of:
QueryContext |
static int |
glXQueryContext(long display,
long ctx,
int attribute,
java.nio.IntBuffer value)
Queries the value of a GLXContext attribute.
|
static int |
glXQueryDrawable(long display,
long draw,
int attribute)
Queries an attribute associated with a GLXDrawable.
|
static void |
glXQueryDrawable(long display,
long draw,
int attribute,
int[] value)
Array version of:
QueryDrawable |
static void |
glXQueryDrawable(long display,
long draw,
int attribute,
java.nio.IntBuffer value)
Queries an attribute associated with a GLXDrawable.
|
static void |
glXSelectEvent(long display,
long draw,
long event_mask)
Selects which GLX events should be received on a GLXDrawable.
|
static long |
nglXChooseFBConfig(long display,
int screen,
long attrib_list,
long nelements)
Unsafe version of:
ChooseFBConfig |
static long |
nglXCreatePbuffer(long display,
long config,
long attrib_list)
Unsafe version of:
CreatePbuffer |
static long |
nglXCreatePixmap(long display,
long config,
long pixmap,
long attrib_list)
Unsafe version of:
CreatePixmap |
static long |
nglXCreateWindow(long display,
long config,
long win,
long attrib_list)
Unsafe version of:
CreateWindow |
static int |
nglXGetFBConfigAttrib(long display,
long config,
int attribute,
long value)
Unsafe version of:
GetFBConfigAttrib |
static long |
nglXGetFBConfigs(long display,
int screen,
long nelements)
Unsafe version of:
GetFBConfigs |
static void |
nglXGetSelectedEvent(long display,
long draw,
long event_mask)
Unsafe version of:
GetSelectedEvent |
static long |
nglXGetVisualFromFBConfig(long display,
long config)
Unsafe version of:
GetVisualFromFBConfig |
static int |
nglXQueryContext(long display,
long ctx,
int attribute,
long value)
Unsafe version of:
QueryContext |
static void |
nglXQueryDrawable(long display,
long draw,
int attribute,
long value)
Unsafe version of:
QueryDrawable |
glXGetCurrentDisplayglXGetClientString, glXQueryExtensionsString, glXQueryServerString, nglXGetClientString, nglXQueryExtensionsString, nglXQueryServerStringglXChooseVisual, glXChooseVisual, glXCopyContext, glXCreateContext, glXCreateGLXPixmap, glXDestroyContext, glXDestroyGLXPixmap, glXGetConfig, glXGetConfig, glXGetCurrentContext, glXGetCurrentDrawable, glXIsDirect, glXMakeCurrent, glXQueryExtension, glXQueryExtension, glXQueryVersion, glXQueryVersion, glXSwapBuffers, glXUseXFont, glXWaitGL, glXWaitX, nglXChooseVisual, nglXCreateContext, nglXCreateGLXPixmap, nglXGetConfig, nglXQueryExtension, nglXQueryVersionpublic static final int GLX_WINDOW_BIT
public static final int GLX_PIXMAP_BIT
public static final int GLX_PBUFFER_BIT
public static final int GLX_RGBA_BIT
public static final int GLX_COLOR_INDEX_BIT
public static final int GLX_PBUFFER_CLOBBER_MASK
public static final int GLX_FRONT_LEFT_BUFFER_BIT
public static final int GLX_FRONT_RIGHT_BUFFER_BIT
public static final int GLX_BACK_LEFT_BUFFER_BIT
public static final int GLX_BACK_RIGHT_BUFFER_BIT
public static final int GLX_AUX_BUFFERS_BIT
public static final int GLX_DEPTH_BUFFER_BIT
public static final int GLX_STENCIL_BUFFER_BIT
public static final int GLX_ACCUM_BUFFER_BIT
public static final int GLX_CONFIG_CAVEAT
public static final int GLX_X_VISUAL_TYPE
public static final int GLX_TRANSPARENT_TYPE
public static final int GLX_TRANSPARENT_INDEX_VALUE
public static final int GLX_TRANSPARENT_RED_VALUE
public static final int GLX_TRANSPARENT_GREEN_VALUE
public static final int GLX_TRANSPARENT_BLUE_VALUE
public static final int GLX_TRANSPARENT_ALPHA_VALUE
public static final int GLX_DONT_CARE
public static final int GLX_NONE
public static final int GLX_SLOW_CONFIG
public static final int GLX_TRUE_COLOR
public static final int GLX_DIRECT_COLOR
public static final int GLX_PSEUDO_COLOR
public static final int GLX_STATIC_COLOR
public static final int GLX_GRAY_SCALE
public static final int GLX_STATIC_GRAY
public static final int GLX_TRANSPARENT_RGB
public static final int GLX_TRANSPARENT_INDEX
public static final int GLX_VISUAL_ID
public static final int GLX_SCREEN
public static final int GLX_NON_CONFORMANT_CONFIG
public static final int GLX_DRAWABLE_TYPE
public static final int GLX_RENDER_TYPE
public static final int GLX_X_RENDERABLE
public static final int GLX_FBCONFIG_ID
public static final int GLX_RGBA_TYPE
public static final int GLX_COLOR_INDEX_TYPE
public static final int GLX_MAX_PBUFFER_WIDTH
public static final int GLX_MAX_PBUFFER_HEIGHT
public static final int GLX_MAX_PBUFFER_PIXELS
public static final int GLX_PRESERVED_CONTENTS
public static final int GLX_LARGEST_PBUFFER
public static final int GLX_WIDTH
public static final int GLX_HEIGHT
public static final int GLX_EVENT_MASK
public static final int GLX_DAMAGED
public static final int GLX_SAVED
public static final int GLX_WINDOW
public static final int GLX_PBUFFER
public static final int GLX_PBUFFER_HEIGHT
public static final int GLX_PBUFFER_WIDTH
public static long nglXGetFBConfigs(long display,
int screen,
long nelements)
GetFBConfigsnelements - returns the number of GLXFBConfigs in the returned list@Nullable
public static org.lwjgl.PointerBuffer glXGetFBConfigs(long display,
int screen)
display - the connection to the X serverscreen - the screen numberpublic static long nglXChooseFBConfig(long display,
int screen,
long attrib_list,
long nelements)
ChooseFBConfignelements - returns the number of GLXFBConfigs matched@Nullable
public static org.lwjgl.PointerBuffer glXChooseFBConfig(long display,
int screen,
@Nullable
java.nio.IntBuffer attrib_list)
display - the connection to the X serverscreen - the screen numberattrib_list - a list of attributes terminated with Nonepublic static int nglXGetFBConfigAttrib(long display,
long config,
int attribute,
long value)
GetFBConfigAttribpublic static int glXGetFBConfigAttrib(long display,
long config,
int attribute,
java.nio.IntBuffer value)
display - the connection to the X serverconfig - the GLXFBConfig being queriedattribute - the attribute to queryvalue - the attribute valuepublic static long nglXGetVisualFromFBConfig(long display,
long config)
GetVisualFromFBConfig@Nullable
public static org.lwjgl.system.linux.XVisualInfo glXGetVisualFromFBConfig(long display,
long config)
display - the connection to the X serverconfig - the GLXFBConfigpublic static long nglXCreateWindow(long display,
long config,
long win,
long attrib_list)
CreateWindowpublic static long glXCreateWindow(long display,
long config,
long win,
@Nullable
java.nio.IntBuffer attrib_list)
display - the connection to the X serverconfig - the GLXFBConfigwin - the X Windowattrib_list - a list of attributes terminated with Nonepublic static long nglXCreatePixmap(long display,
long config,
long pixmap,
long attrib_list)
CreatePixmappublic static long glXCreatePixmap(long display,
long config,
long pixmap,
@Nullable
java.nio.IntBuffer attrib_list)
display - the connection to the X serverconfig - the GLXFBConfigpixmap - the X Pixmapattrib_list - a list of attributes terminated with Nonepublic static void glXDestroyPixmap(long display,
long pixmap)
display - the connection to the X serverpixmap - the GLXPixmap to destroypublic static long nglXCreatePbuffer(long display,
long config,
long attrib_list)
CreatePbufferpublic static long glXCreatePbuffer(long display,
long config,
@Nullable
java.nio.IntBuffer attrib_list)
display - the connection to the X serverconfig - the GLXFBConfigattrib_list - a list of attributes terminated with Nonepublic static void glXDestroyPbuffer(long display,
long pbuf)
display - the connection to the X serverpbuf - the GLXPbuffer to destroypublic static void nglXQueryDrawable(long display,
long draw,
int attribute,
long value)
QueryDrawablepublic static void glXQueryDrawable(long display,
long draw,
int attribute,
java.nio.IntBuffer value)
display - the connection to the X serverdraw - the GLXDrawable being queriedattribute - the attribute to queryvalue - returns the attribute valuepublic static int glXQueryDrawable(long display,
long draw,
int attribute)
display - the connection to the X serverdraw - the GLXDrawable being queriedattribute - the attribute to querypublic static long glXCreateNewContext(long display,
long config,
int render_type,
long share_list,
boolean direct)
display - the connection to the X serverconfig - the GLXFBConfigrender_type - the render typeshare_list - a GLXContext to share objects withdirect - whether direct rendering is requestedpublic static boolean glXMakeContextCurrent(long display,
long draw,
long read,
long ctx)
display - the connection to the X serverdraw - the draw GLXDrawableread - the read GLXDrawablectx - the GLXContextpublic static long glXGetCurrentReadDrawable()
public static int nglXQueryContext(long display,
long ctx,
int attribute,
long value)
QueryContextpublic static int glXQueryContext(long display,
long ctx,
int attribute,
java.nio.IntBuffer value)
display - the connection to the X serverctx - the GLXContext being queriedattribute - the attribute to queryvalue - returns the attribute valuepublic static void glXSelectEvent(long display,
long draw,
long event_mask)
display - the connection to the X serverdraw - the GLXDrawableevent_mask - the selection maskpublic static void nglXGetSelectedEvent(long display,
long draw,
long event_mask)
GetSelectedEventpublic static void glXGetSelectedEvent(long display,
long draw,
org.lwjgl.CLongBuffer event_mask)
display - the connection to the X serverdraw - the GLXDrawableevent_mask - returns the selection mask@Nullable
public static org.lwjgl.PointerBuffer glXChooseFBConfig(long display,
int screen,
@Nullable
int[] attrib_list)
ChooseFBConfigpublic static int glXGetFBConfigAttrib(long display,
long config,
int attribute,
int[] value)
GetFBConfigAttribpublic static long glXCreateWindow(long display,
long config,
long win,
@Nullable
int[] attrib_list)
CreateWindowpublic static long glXCreatePixmap(long display,
long config,
long pixmap,
@Nullable
int[] attrib_list)
CreatePixmappublic static long glXCreatePbuffer(long display,
long config,
@Nullable
int[] attrib_list)
CreatePbufferpublic static void glXQueryDrawable(long display,
long draw,
int attribute,
int[] value)
QueryDrawablepublic static int glXQueryContext(long display,
long ctx,
int attribute,
int[] value)
QueryContextCopyright LWJGL. All Rights Reserved. License terms.