com.jogamp.opengl.impl.egl
Class EGLProcAddressTable
java.lang.Object
com.jogamp.gluegen.runtime.ProcAddressTable
com.jogamp.opengl.impl.egl.EGLProcAddressTable
public class EGLProcAddressTable
- 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_eglBindAPI
public long _addressof_eglBindAPI
_addressof_eglBindTexImage
public long _addressof_eglBindTexImage
_addressof_eglChooseConfig
public long _addressof_eglChooseConfig
_addressof_eglCopyBuffers
public long _addressof_eglCopyBuffers
_addressof_eglCreateContext
public long _addressof_eglCreateContext
_addressof_eglCreatePbufferFromClientBuffer
public long _addressof_eglCreatePbufferFromClientBuffer
_addressof_eglCreatePbufferSurface
public long _addressof_eglCreatePbufferSurface
_addressof_eglCreatePixmapSurface
public long _addressof_eglCreatePixmapSurface
_addressof_eglCreateWindowSurface
public long _addressof_eglCreateWindowSurface
_addressof_eglDestroyContext
public long _addressof_eglDestroyContext
_addressof_eglDestroySurface
public long _addressof_eglDestroySurface
_addressof_eglGetConfigAttrib
public long _addressof_eglGetConfigAttrib
_addressof_eglGetConfigs
public long _addressof_eglGetConfigs
_addressof_eglGetCurrentContext
public long _addressof_eglGetCurrentContext
_addressof_eglGetCurrentDisplay
public long _addressof_eglGetCurrentDisplay
_addressof_eglGetCurrentSurface
public long _addressof_eglGetCurrentSurface
_addressof_eglGetDisplay
public long _addressof_eglGetDisplay
_addressof_eglGetError
public long _addressof_eglGetError
_addressof_eglGetProcAddress
public long _addressof_eglGetProcAddress
_addressof_eglInitialize
public long _addressof_eglInitialize
_addressof_eglMakeCurrent
public long _addressof_eglMakeCurrent
_addressof_eglQueryAPI
public long _addressof_eglQueryAPI
_addressof_eglQueryContext
public long _addressof_eglQueryContext
_addressof_eglQueryString
public long _addressof_eglQueryString
_addressof_eglQuerySurface
public long _addressof_eglQuerySurface
_addressof_eglReleaseTexImage
public long _addressof_eglReleaseTexImage
_addressof_eglReleaseThread
public long _addressof_eglReleaseThread
_addressof_eglSurfaceAttrib
public long _addressof_eglSurfaceAttrib
_addressof_eglSwapBuffers
public long _addressof_eglSwapBuffers
_addressof_eglSwapInterval
public long _addressof_eglSwapInterval
_addressof_eglTerminate
public long _addressof_eglTerminate
_addressof_eglWaitClient
public long _addressof_eglWaitClient
_addressof_eglWaitGL
public long _addressof_eglWaitGL
_addressof_eglWaitNative
public long _addressof_eglWaitNative
EGLProcAddressTable
public EGLProcAddressTable()
EGLProcAddressTable
public EGLProcAddressTable(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.