org.eclipse.swt.internal.opengl.glx
Class GLX
java.lang.Object
org.eclipse.swt.internal.Platform
org.eclipse.swt.internal.opengl.glx.GLX
public class GLX
- extends Platform
Constructor Summary |
GLX()
|
Method Summary |
static void |
_glGetIntegerv(int pname,
int[] params)
|
static void |
_glViewport(int x,
int y,
int width,
int height)
|
static long |
_glXChooseVisual(long dpy,
int screen,
int[] attribList)
|
static void |
_glXCopyContext(long dpy,
long src,
long dst,
int mask)
|
static long |
_glXCreateContext(long dpy,
XVisualInfo vis,
long shareList,
boolean direct)
|
static long |
_glXCreateGLXPixmap(long dpy,
XVisualInfo vis,
long pixmap)
|
static void |
_glXDestroyContext(long dpy,
long ctx)
|
static void |
_glXDestroyGLXPixmap(long dpy,
long pix)
|
static long |
_glXGetClientString(long dpy,
int name)
|
static int |
_glXGetConfig(long dpy,
XVisualInfo vis,
int attrib,
int[] value)
|
static long |
_glXGetCurrentContext()
|
static long |
_glXGetCurrentDrawable()
|
static boolean |
_glXIsDirect(long dpy,
long ctx)
|
static boolean |
_glXMakeCurrent(long dpy,
long drawable,
long ctx)
|
static boolean |
_glXQueryExtension(long dpy,
int[] errorBase,
int[] eventBase)
|
static long |
_glXQueryExtensionsString(long dpy,
int screen)
|
static long |
_glXQueryServerString(long dpy,
int screen,
int name)
|
static boolean |
_glXQueryVersion(long dpy,
int[] major,
int[] minor)
|
static void |
_glXSwapBuffers(long dpy,
long drawable)
|
static void |
_glXWaitGL()
|
static void |
_glXWaitX()
|
static void |
glGetIntegerv(int pname,
int[] params)
|
static void |
glViewport(int x,
int y,
int width,
int height)
|
static long |
glXChooseVisual(long dpy,
int screen,
int[] attribList)
|
static void |
glXCopyContext(long dpy,
long src,
long dst,
int mask)
|
static long |
glXCreateContext(long dpy,
XVisualInfo vis,
long shareList,
boolean direct)
|
static long |
glXCreateGLXPixmap(long dpy,
XVisualInfo vis,
long pixmap)
|
static void |
glXDestroyContext(long dpy,
long ctx)
|
static void |
glXDestroyGLXPixmap(long dpy,
long pix)
|
static long |
glXGetClientString(long dpy,
int name)
|
static int |
glXGetConfig(long dpy,
XVisualInfo vis,
int attrib,
int[] value)
|
static long |
glXGetCurrentContext()
|
static long |
glXGetCurrentDrawable()
|
static boolean |
glXIsDirect(long dpy,
long ctx)
|
static boolean |
glXMakeCurrent(long dpy,
long drawable,
long ctx)
|
static boolean |
glXQueryExtension(long dpy,
int[] errorBase,
int[] eventBase)
|
static long |
glXQueryExtensionsString(long dpy,
int screen)
|
static long |
glXQueryServerString(long dpy,
int screen,
int name)
|
static boolean |
glXQueryVersion(long dpy,
int[] major,
int[] minor)
|
static void |
glXSwapBuffers(long dpy,
long drawable)
|
static void |
glXWaitGL()
|
static void |
glXWaitX()
|
static void |
memmove(XVisualInfo dest,
long src,
int size)
|
static int |
XVisualInfo_sizeof()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GLX_USE_GL
public static final int GLX_USE_GL
- See Also:
- Constant Field Values
GLX_BUFFER_SIZE
public static final int GLX_BUFFER_SIZE
- See Also:
- Constant Field Values
GLX_LEVEL
public static final int GLX_LEVEL
- See Also:
- Constant Field Values
GLX_RGBA
public static final int GLX_RGBA
- See Also:
- Constant Field Values
GLX_DOUBLEBUFFER
public static final int GLX_DOUBLEBUFFER
- See Also:
- Constant Field Values
GLX_STEREO
public static final int GLX_STEREO
- See Also:
- Constant Field Values
GLX_AUX_BUFFERS
public static final int GLX_AUX_BUFFERS
- See Also:
- Constant Field Values
GLX_RED_SIZE
public static final int GLX_RED_SIZE
- See Also:
- Constant Field Values
GLX_GREEN_SIZE
public static final int GLX_GREEN_SIZE
- See Also:
- Constant Field Values
GLX_BLUE_SIZE
public static final int GLX_BLUE_SIZE
- See Also:
- Constant Field Values
GLX_ALPHA_SIZE
public static final int GLX_ALPHA_SIZE
- See Also:
- Constant Field Values
GLX_DEPTH_SIZE
public static final int GLX_DEPTH_SIZE
- See Also:
- Constant Field Values
GLX_STENCIL_SIZE
public static final int GLX_STENCIL_SIZE
- See Also:
- Constant Field Values
GLX_ACCUM_RED_SIZE
public static final int GLX_ACCUM_RED_SIZE
- See Also:
- Constant Field Values
GLX_ACCUM_GREEN_SIZE
public static final int GLX_ACCUM_GREEN_SIZE
- See Also:
- Constant Field Values
GLX_ACCUM_BLUE_SIZE
public static final int GLX_ACCUM_BLUE_SIZE
- See Also:
- Constant Field Values
GLX_ACCUM_ALPHA_SIZE
public static final int GLX_ACCUM_ALPHA_SIZE
- See Also:
- Constant Field Values
GLX_X_VISUAL_TYPE
public static final int GLX_X_VISUAL_TYPE
- See Also:
- Constant Field Values
GLX_CONFIG_CAVEAT
public static final int GLX_CONFIG_CAVEAT
- See Also:
- Constant Field Values
GLX_TRANSPARENT_TYPE
public static final int GLX_TRANSPARENT_TYPE
- See Also:
- Constant Field Values
GLX_TRANSPARENT_INDEX_VALUE
public static final int GLX_TRANSPARENT_INDEX_VALUE
- See Also:
- Constant Field Values
GLX_TRANSPARENT_RED_VALUE
public static final int GLX_TRANSPARENT_RED_VALUE
- See Also:
- Constant Field Values
GLX_TRANSPARENT_GREEN_VALUE
public static final int GLX_TRANSPARENT_GREEN_VALUE
- See Also:
- Constant Field Values
GLX_TRANSPARENT_BLUE_VALUE
public static final int GLX_TRANSPARENT_BLUE_VALUE
- See Also:
- Constant Field Values
GLX_TRANSPARENT_ALPHA_VALUE
public static final int GLX_TRANSPARENT_ALPHA_VALUE
- See Also:
- Constant Field Values
GLX_DRAWABLE_TYPE
public static final int GLX_DRAWABLE_TYPE
- See Also:
- Constant Field Values
GLX_RENDER_TYPE
public static final int GLX_RENDER_TYPE
- See Also:
- Constant Field Values
GLX_X_RENDERABLE
public static final int GLX_X_RENDERABLE
- See Also:
- Constant Field Values
GLX_FBCONFIG_ID
public static final int GLX_FBCONFIG_ID
- See Also:
- Constant Field Values
GLX_MAX_PBUFFER_WIDTH
public static final int GLX_MAX_PBUFFER_WIDTH
- See Also:
- Constant Field Values
GLX_MAX_PBUFFER_HEIGHT
public static final int GLX_MAX_PBUFFER_HEIGHT
- See Also:
- Constant Field Values
GLX_MAX_PBUFFER_PIXELS
public static final int GLX_MAX_PBUFFER_PIXELS
- See Also:
- Constant Field Values
GLX_VISUAL_ID
public static final int GLX_VISUAL_ID
- See Also:
- Constant Field Values
GLX_BAD_SCREEN
public static final int GLX_BAD_SCREEN
- See Also:
- Constant Field Values
GLX_BAD_ATTRIBUTE
public static final int GLX_BAD_ATTRIBUTE
- See Also:
- Constant Field Values
GLX_NO_EXTENSION
public static final int GLX_NO_EXTENSION
- See Also:
- Constant Field Values
GLX_BAD_VISUAL
public static final int GLX_BAD_VISUAL
- See Also:
- Constant Field Values
GLX_BAD_CONTEXT
public static final int GLX_BAD_CONTEXT
- See Also:
- Constant Field Values
GLX_BAD_VALUE
public static final int GLX_BAD_VALUE
- See Also:
- Constant Field Values
GLX_BAD_ENUM
public static final int GLX_BAD_ENUM
- See Also:
- Constant Field Values
GLX_DONT_CARE
public static final int GLX_DONT_CARE
- See Also:
- Constant Field Values
GLX_RGBA_BIT
public static final int GLX_RGBA_BIT
- See Also:
- Constant Field Values
GLX_COLOR_INDEX_BIT
public static final int GLX_COLOR_INDEX_BIT
- See Also:
- Constant Field Values
GLX_WINDOW_BIT
public static final int GLX_WINDOW_BIT
- See Also:
- Constant Field Values
GLX_PIXMAP_BIT
public static final int GLX_PIXMAP_BIT
- See Also:
- Constant Field Values
GLX_PBUFFER_BIT
public static final int GLX_PBUFFER_BIT
- See Also:
- Constant Field Values
GLX_NONE
public static final int GLX_NONE
- See Also:
- Constant Field Values
GLX_SLOW_CONFIG
public static final int GLX_SLOW_CONFIG
- See Also:
- Constant Field Values
GLX_NON_CONFORMANT_CONFIG
public static final int GLX_NON_CONFORMANT_CONFIG
- See Also:
- Constant Field Values
GLX_TRUE_COLOR
public static final int GLX_TRUE_COLOR
- See Also:
- Constant Field Values
GLX_DIRECT_COLOR
public static final int GLX_DIRECT_COLOR
- See Also:
- Constant Field Values
GLX_PSEUDO_COLOR
public static final int GLX_PSEUDO_COLOR
- See Also:
- Constant Field Values
GLX_STATIC_COLOR
public static final int GLX_STATIC_COLOR
- See Also:
- Constant Field Values
GLX_GRAY_SCALE
public static final int GLX_GRAY_SCALE
- See Also:
- Constant Field Values
GLX_STATIC_GRAY
public static final int GLX_STATIC_GRAY
- See Also:
- Constant Field Values
GLX_TRANSPARENT_RGB
public static final int GLX_TRANSPARENT_RGB
- See Also:
- Constant Field Values
GLX_TRANSPARENT_INDEX
public static final int GLX_TRANSPARENT_INDEX
- See Also:
- Constant Field Values
GLX_PRESERVED_CONTENTS
public static final int GLX_PRESERVED_CONTENTS
- See Also:
- Constant Field Values
GLX_LARGEST_PBUFFER
public static final int GLX_LARGEST_PBUFFER
- See Also:
- Constant Field Values
GLX_PBUFFER_HEIGHT
public static final int GLX_PBUFFER_HEIGHT
- See Also:
- Constant Field Values
GLX_PBUFFER_WIDTH
public static final int GLX_PBUFFER_WIDTH
- See Also:
- Constant Field Values
GLX_WIDTH
public static final int GLX_WIDTH
- See Also:
- Constant Field Values
GLX_HEIGHT
public static final int GLX_HEIGHT
- See Also:
- Constant Field Values
GLX_EVENT_MASK
public static final int GLX_EVENT_MASK
- See Also:
- Constant Field Values
GLX_RGBA_TYPE
public static final int GLX_RGBA_TYPE
- See Also:
- Constant Field Values
GLX_COLOR_INDEX_TYPE
public static final int GLX_COLOR_INDEX_TYPE
- See Also:
- Constant Field Values
GLX_SCREEN
public static final int GLX_SCREEN
- See Also:
- Constant Field Values
GLX_PBUFFER_CLOBBER_MASK
public static final int GLX_PBUFFER_CLOBBER_MASK
- See Also:
- Constant Field Values
GLX_DAMAGED
public static final int GLX_DAMAGED
- See Also:
- Constant Field Values
GLX_SAVED
public static final int GLX_SAVED
- See Also:
- Constant Field Values
GLX_WINDOW
public static final int GLX_WINDOW
- See Also:
- Constant Field Values
GLX_PBUFFER
public static final int GLX_PBUFFER
- See Also:
- Constant Field Values
GLX_FRONT_LEFT_BUFFER_BIT
public static final int GLX_FRONT_LEFT_BUFFER_BIT
- See Also:
- Constant Field Values
GLX_FRONT_RIGHT_BUFFER_BIT
public static final int GLX_FRONT_RIGHT_BUFFER_BIT
- See Also:
- Constant Field Values
GLX_BACK_LEFT_BUFFER_BIT
public static final int GLX_BACK_LEFT_BUFFER_BIT
- See Also:
- Constant Field Values
GLX_BACK_RIGHT_BUFFER_BIT
public static final int GLX_BACK_RIGHT_BUFFER_BIT
- See Also:
- Constant Field Values
GLX_AUX_BUFFERS_BIT
public static final int GLX_AUX_BUFFERS_BIT
- See Also:
- Constant Field Values
GLX_DEPTH_BUFFER_BIT
public static final int GLX_DEPTH_BUFFER_BIT
- See Also:
- Constant Field Values
GLX_STENCIL_BUFFER_BIT
public static final int GLX_STENCIL_BUFFER_BIT
- See Also:
- Constant Field Values
GLX_ACCUM_BUFFER_BIT
public static final int GLX_ACCUM_BUFFER_BIT
- See Also:
- Constant Field Values
GLX_X_VISUAL_TYPE_EXT
public static final int GLX_X_VISUAL_TYPE_EXT
- See Also:
- Constant Field Values
GLX_TRANSPARENT_TYPE_EXT
public static final int GLX_TRANSPARENT_TYPE_EXT
- See Also:
- Constant Field Values
GLX_TRANSPARENT_INDEX_VALUE_EXT
public static final int GLX_TRANSPARENT_INDEX_VALUE_EXT
- See Also:
- Constant Field Values
GLX_TRANSPARENT_RED_VALUE_EXT
public static final int GLX_TRANSPARENT_RED_VALUE_EXT
- See Also:
- Constant Field Values
GLX_TRANSPARENT_GREEN_VALUE_EXT
public static final int GLX_TRANSPARENT_GREEN_VALUE_EXT
- See Also:
- Constant Field Values
GLX_TRANSPARENT_BLUE_VALUE_EXT
public static final int GLX_TRANSPARENT_BLUE_VALUE_EXT
- See Also:
- Constant Field Values
GLX_TRANSPARENT_ALPHA_VALUE_EXT
public static final int GLX_TRANSPARENT_ALPHA_VALUE_EXT
- See Also:
- Constant Field Values
GLX_TRUE_COLOR_EXT
public static final int GLX_TRUE_COLOR_EXT
- See Also:
- Constant Field Values
GLX_DIRECT_COLOR_EXT
public static final int GLX_DIRECT_COLOR_EXT
- See Also:
- Constant Field Values
GLX_PSEUDO_COLOR_EXT
public static final int GLX_PSEUDO_COLOR_EXT
- See Also:
- Constant Field Values
GLX_STATIC_COLOR_EXT
public static final int GLX_STATIC_COLOR_EXT
- See Also:
- Constant Field Values
GLX_GRAY_SCALE_EXT
public static final int GLX_GRAY_SCALE_EXT
- See Also:
- Constant Field Values
GLX_STATIC_GRAY_EXT
public static final int GLX_STATIC_GRAY_EXT
- See Also:
- Constant Field Values
GLX_NONE_EXT
public static final int GLX_NONE_EXT
- See Also:
- Constant Field Values
GLX_TRANSPARENT_RGB_EXT
public static final int GLX_TRANSPARENT_RGB_EXT
- See Also:
- Constant Field Values
GLX_TRANSPARENT_INDEX_EXT
public static final int GLX_TRANSPARENT_INDEX_EXT
- See Also:
- Constant Field Values
GLX_VISUAL_CAVEAT_EXT
public static final int GLX_VISUAL_CAVEAT_EXT
- See Also:
- Constant Field Values
GLX_SLOW_VISUAL_EXT
public static final int GLX_SLOW_VISUAL_EXT
- See Also:
- Constant Field Values
GLX_NON_CONFORMANT_VISUAL_EXT
public static final int GLX_NON_CONFORMANT_VISUAL_EXT
- See Also:
- Constant Field Values
GLX_VENDOR
public static final int GLX_VENDOR
- See Also:
- Constant Field Values
GLX_VERSION
public static final int GLX_VERSION
- See Also:
- Constant Field Values
GLX_EXTENSIONS
public static final int GLX_EXTENSIONS
- See Also:
- Constant Field Values
GLX_SHARE_CONTEXT_EXT
public static final int GLX_SHARE_CONTEXT_EXT
- See Also:
- Constant Field Values
GLX_VISUAL_ID_EXT
public static final int GLX_VISUAL_ID_EXT
- See Also:
- Constant Field Values
GLX_SCREEN_EXT
public static final int GLX_SCREEN_EXT
- See Also:
- Constant Field Values
GLX_SAMPLE_BUFFERS
public static final int GLX_SAMPLE_BUFFERS
- See Also:
- Constant Field Values
GLX_SAMPLES
public static final int GLX_SAMPLES
- See Also:
- Constant Field Values
GL_VIEWPORT
public static final int GL_VIEWPORT
- See Also:
- Constant Field Values
GLX
public GLX()
XVisualInfo_sizeof
public static final int XVisualInfo_sizeof()
_glGetIntegerv
public static final void _glGetIntegerv(int pname,
int[] params)
- Parameters:
pname
- cast=(GLenum)params
- cast=(GLint *),flags=no_in
glGetIntegerv
public static final void glGetIntegerv(int pname,
int[] params)
_glViewport
public static final void _glViewport(int x,
int y,
int width,
int height)
- Parameters:
x
- cast=(GLint)y
- cast=(GLint)width
- cast=(GLsizei)height
- cast=(GLsizei)
glViewport
public static final void glViewport(int x,
int y,
int width,
int height)
_glXChooseVisual
public static final long _glXChooseVisual(long dpy,
int screen,
int[] attribList)
- Parameters:
dpy
- cast=(Display *)
glXChooseVisual
public static final long glXChooseVisual(long dpy,
int screen,
int[] attribList)
_glXCopyContext
public static final void _glXCopyContext(long dpy,
long src,
long dst,
int mask)
- Parameters:
dpy
- cast=(Display *)src
- cast=(GLXContext)dst
- cast=(GLXContext)
glXCopyContext
public static final void glXCopyContext(long dpy,
long src,
long dst,
int mask)
_glXCreateContext
public static final long _glXCreateContext(long dpy,
XVisualInfo vis,
long shareList,
boolean direct)
- Parameters:
dpy
- cast=(Display *)shareList
- cast=(GLXContext)
glXCreateContext
public static final long glXCreateContext(long dpy,
XVisualInfo vis,
long shareList,
boolean direct)
_glXCreateGLXPixmap
public static final long _glXCreateGLXPixmap(long dpy,
XVisualInfo vis,
long pixmap)
- Parameters:
dpy
- cast=(Display *)pixmap
- cast=(Pixmap)
glXCreateGLXPixmap
public static final long glXCreateGLXPixmap(long dpy,
XVisualInfo vis,
long pixmap)
_glXDestroyContext
public static final void _glXDestroyContext(long dpy,
long ctx)
- Parameters:
dpy
- cast=(Display *)ctx
- cast=(GLXContext)
glXDestroyContext
public static final void glXDestroyContext(long dpy,
long ctx)
_glXDestroyGLXPixmap
public static final void _glXDestroyGLXPixmap(long dpy,
long pix)
- Parameters:
dpy
- cast=(Display *)pix
- cast=(GLXPixmap)
glXDestroyGLXPixmap
public static final void glXDestroyGLXPixmap(long dpy,
long pix)
_glXGetClientString
public static final long _glXGetClientString(long dpy,
int name)
- Parameters:
dpy
- cast=(Display *)
glXGetClientString
public static final long glXGetClientString(long dpy,
int name)
_glXGetConfig
public static final int _glXGetConfig(long dpy,
XVisualInfo vis,
int attrib,
int[] value)
- Parameters:
dpy
- cast=(Display *)
glXGetConfig
public static final int glXGetConfig(long dpy,
XVisualInfo vis,
int attrib,
int[] value)
_glXGetCurrentContext
public static final long _glXGetCurrentContext()
glXGetCurrentContext
public static final long glXGetCurrentContext()
_glXGetCurrentDrawable
public static final long _glXGetCurrentDrawable()
glXGetCurrentDrawable
public static final long glXGetCurrentDrawable()
_glXIsDirect
public static final boolean _glXIsDirect(long dpy,
long ctx)
- Parameters:
dpy
- cast=(Display *)ctx
- cast=(GLXContext)
glXIsDirect
public static final boolean glXIsDirect(long dpy,
long ctx)
_glXMakeCurrent
public static final boolean _glXMakeCurrent(long dpy,
long drawable,
long ctx)
- Parameters:
dpy
- cast=(Display *)drawable
- cast=(GLXDrawable)ctx
- cast=(GLXContext)
glXMakeCurrent
public static final boolean glXMakeCurrent(long dpy,
long drawable,
long ctx)
_glXQueryExtension
public static final boolean _glXQueryExtension(long dpy,
int[] errorBase,
int[] eventBase)
- Parameters:
dpy
- cast=(Display *)
glXQueryExtension
public static final boolean glXQueryExtension(long dpy,
int[] errorBase,
int[] eventBase)
_glXQueryExtensionsString
public static final long _glXQueryExtensionsString(long dpy,
int screen)
- Parameters:
dpy
- cast=(Display *)
glXQueryExtensionsString
public static final long glXQueryExtensionsString(long dpy,
int screen)
_glXQueryServerString
public static final long _glXQueryServerString(long dpy,
int screen,
int name)
- Parameters:
dpy
- cast=(Display *)
glXQueryServerString
public static final long glXQueryServerString(long dpy,
int screen,
int name)
_glXQueryVersion
public static final boolean _glXQueryVersion(long dpy,
int[] major,
int[] minor)
- Parameters:
dpy
- cast=(Display *)major
- flags=no_inminor
- flags=no_in
glXQueryVersion
public static final boolean glXQueryVersion(long dpy,
int[] major,
int[] minor)
_glXSwapBuffers
public static final void _glXSwapBuffers(long dpy,
long drawable)
- Parameters:
dpy
- cast=(Display *)drawable
- cast=(GLXDrawable)
glXSwapBuffers
public static final void glXSwapBuffers(long dpy,
long drawable)
_glXWaitGL
public static final void _glXWaitGL()
glXWaitGL
public static final void glXWaitGL()
_glXWaitX
public static final void _glXWaitX()
glXWaitX
public static final void glXWaitX()
memmove
public static final void memmove(XVisualInfo dest,
long src,
int size)
- Parameters:
src
- cast=(const void *)size
- cast=(size_t)