com.jogamp.opengl.impl.egl
Class EGLProcAddressTable

java.lang.Object
  extended by com.jogamp.gluegen.runtime.ProcAddressTable
      extended by com.jogamp.opengl.impl.egl.EGLProcAddressTable

public class EGLProcAddressTable
extends ProcAddressTable

This table is a cache of pointers to the dynamically-linkable C library.

See Also:
ProcAddressTable

Field Summary
 long _addressof_eglBindAPI
           
 long _addressof_eglBindTexImage
           
 long _addressof_eglChooseConfig
           
 long _addressof_eglCopyBuffers
           
 long _addressof_eglCreateContext
           
 long _addressof_eglCreatePbufferFromClientBuffer
           
 long _addressof_eglCreatePbufferSurface
           
 long _addressof_eglCreatePixmapSurface
           
 long _addressof_eglCreateWindowSurface
           
 long _addressof_eglDestroyContext
           
 long _addressof_eglDestroySurface
           
 long _addressof_eglGetConfigAttrib
           
 long _addressof_eglGetConfigs
           
 long _addressof_eglGetCurrentContext
           
 long _addressof_eglGetCurrentDisplay
           
 long _addressof_eglGetCurrentSurface
           
 long _addressof_eglGetDisplay
           
 long _addressof_eglGetError
           
 long _addressof_eglGetProcAddress
           
 long _addressof_eglInitialize
           
 long _addressof_eglMakeCurrent
           
 long _addressof_eglQueryAPI
           
 long _addressof_eglQueryContext
           
 long _addressof_eglQueryString
           
 long _addressof_eglQuerySurface
           
 long _addressof_eglReleaseTexImage
           
 long _addressof_eglReleaseThread
           
 long _addressof_eglSurfaceAttrib
           
 long _addressof_eglSwapBuffers
           
 long _addressof_eglSwapInterval
           
 long _addressof_eglTerminate
           
 long _addressof_eglWaitClient
           
 long _addressof_eglWaitGL
           
 long _addressof_eglWaitNative
           
 
Fields inherited from class com.jogamp.gluegen.runtime.ProcAddressTable
DEBUG, DEBUG_PREFIX, debugNum, PROCADDRESS_VAR_PREFIX
 
Constructor Summary
EGLProcAddressTable()
           
EGLProcAddressTable(FunctionAddressResolver resolver)
           
 
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
fieldForFunction, fieldToFunctionName, getDebugOutStream, getNullPointerFunctions, initEntry, isAddressField, isFunctionAvailable, reset, setEntry, toMap, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_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
Constructor Detail

EGLProcAddressTable

public EGLProcAddressTable()

EGLProcAddressTable

public EGLProcAddressTable(FunctionAddressResolver resolver)
Method Detail

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.

Overrides:
getAddressFor in class 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.