com.jogamp.opengl.impl.x11.glx
Class GLXProcAddressTable
java.lang.Object
com.jogamp.gluegen.runtime.ProcAddressTable
com.jogamp.opengl.impl.x11.glx.GLXProcAddressTable
public class GLXProcAddressTable
- extends com.jogamp.gluegen.runtime.ProcAddressTable
This table is a cache of pointers to the dynamically-linkable C
functions this autogenerated Java binding has exposed. Some
libraries such as OpenGL, OpenAL and others define function pointer
signatures rather than statically linkable entry points for the
purposes of being able to query at run-time whether a particular
extension is available. This table acts as a cache of these
function pointers. Each function pointer is typically looked up at
run-time by a platform-dependent mechanism such as dlsym(),
wgl/glXGetProcAddress(), or alGetProcAddress(). The associated
autogenerated Java and C code accesses the fields in this table to
call the various functions. If the field containing the function
pointer is 0, the function is considered to be unavailable and can
not be called.
Fields inherited from class com.jogamp.gluegen.runtime.ProcAddressTable |
DEBUG, DEBUG_PREFIX, debugNum, PROCADDRESS_VAR_PREFIX |
Method Summary |
long |
getAddressFor(String functionNameUsr)
This is a convenience method to get (by name) the native function
pointer for a given function. |
Methods inherited from class com.jogamp.gluegen.runtime.ProcAddressTable |
getDebugOutStream, reset |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_addressof_glMapBuffer
public long _addressof_glMapBuffer
_addressof_glXGetVisualFromFBConfig
public long _addressof_glXGetVisualFromFBConfig
_addressof_glXChooseFBConfig
public long _addressof_glXChooseFBConfig
_addressof_glXChooseVisual
public long _addressof_glXChooseVisual
_addressof_glXBindTexImageEXT
public long _addressof_glXBindTexImageEXT
_addressof_glXCopyContext
public long _addressof_glXCopyContext
_addressof_glXCreateContext
public long _addressof_glXCreateContext
_addressof_glXCreateGLXPixmap
public long _addressof_glXCreateGLXPixmap
_addressof_glXCreateNewContext
public long _addressof_glXCreateNewContext
_addressof_glXCreatePbuffer
public long _addressof_glXCreatePbuffer
_addressof_glXCreatePixmap
public long _addressof_glXCreatePixmap
_addressof_glXCreateWindow
public long _addressof_glXCreateWindow
_addressof_glXDestroyContext
public long _addressof_glXDestroyContext
_addressof_glXDestroyGLXPixmap
public long _addressof_glXDestroyGLXPixmap
_addressof_glXDestroyPbuffer
public long _addressof_glXDestroyPbuffer
_addressof_glXDestroyPixmap
public long _addressof_glXDestroyPixmap
_addressof_glXDestroyWindow
public long _addressof_glXDestroyWindow
_addressof_glXGetClientString
public long _addressof_glXGetClientString
_addressof_glXGetConfig
public long _addressof_glXGetConfig
_addressof_glXGetCurrentContext
public long _addressof_glXGetCurrentContext
_addressof_glXGetCurrentDisplay
public long _addressof_glXGetCurrentDisplay
_addressof_glXGetCurrentDrawable
public long _addressof_glXGetCurrentDrawable
_addressof_glXGetCurrentReadDrawable
public long _addressof_glXGetCurrentReadDrawable
_addressof_glXGetFBConfigAttrib
public long _addressof_glXGetFBConfigAttrib
_addressof_glXGetFBConfigs
public long _addressof_glXGetFBConfigs
_addressof_glXGetMscRateOML
public long _addressof_glXGetMscRateOML
_addressof_glXGetProcAddress
public long _addressof_glXGetProcAddress
_addressof_glXGetProcAddressARB
public long _addressof_glXGetProcAddressARB
_addressof_glXGetSelectedEvent
public long _addressof_glXGetSelectedEvent
_addressof_glXGetSyncValuesOML
public long _addressof_glXGetSyncValuesOML
_addressof_glXIsDirect
public long _addressof_glXIsDirect
_addressof_glXMakeContextCurrent
public long _addressof_glXMakeContextCurrent
_addressof_glXMakeCurrent
public long _addressof_glXMakeCurrent
_addressof_glXQueryContext
public long _addressof_glXQueryContext
_addressof_glXQueryDrawable
public long _addressof_glXQueryDrawable
_addressof_glXQueryExtension
public long _addressof_glXQueryExtension
_addressof_glXQueryExtensionsString
public long _addressof_glXQueryExtensionsString
_addressof_glXQueryServerString
public long _addressof_glXQueryServerString
_addressof_glXQueryVersion
public long _addressof_glXQueryVersion
_addressof_glXReleaseTexImageEXT
public long _addressof_glXReleaseTexImageEXT
_addressof_glXSelectEvent
public long _addressof_glXSelectEvent
_addressof_glXSwapBuffers
public long _addressof_glXSwapBuffers
_addressof_glXSwapBuffersMscOML
public long _addressof_glXSwapBuffersMscOML
_addressof_glXUseXFont
public long _addressof_glXUseXFont
_addressof_glXWaitForMscOML
public long _addressof_glXWaitForMscOML
_addressof_glXWaitForSbcOML
public long _addressof_glXWaitForSbcOML
_addressof_glXWaitGL
public long _addressof_glXWaitGL
_addressof_glXWaitX
public long _addressof_glXWaitX
GLXProcAddressTable
public GLXProcAddressTable()
GLXProcAddressTable
public GLXProcAddressTable(com.jogamp.gluegen.runtime.FunctionAddressResolver resolver)
getAddressFor
public long getAddressFor(String functionNameUsr)
- This is a convenience method to get (by name) the native function
pointer for a given function. It lets you avoid having to
manually compute the "_addressof_ +
<functionName>" member variable name and look it up via
reflection; it also will throw an exception if you try to get the
address of an unknown function, or one that is statically linked
and therefore does not have a function pointer in this table.
- Specified by:
getAddressFor
in class com.jogamp.gluegen.runtime.ProcAddressTable
- Throws:
RuntimeException
- if the function pointer was not found in
this table, either because the function was unknown or because
it was statically linked.
Copyright 2010 JogAmp Community.