com.jogamp.opengl.impl.egl
Class EGLExtProcAddressTable

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

public class EGLExtProcAddressTable
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_eglClientWaitSyncKHR
           
 long _addressof_eglClientWaitSyncNV
           
 long _addressof_eglCopyBuffers
           
 long _addressof_eglCreateContext
           
 long _addressof_eglCreateDRMImageMESA
           
 long _addressof_eglCreateFenceSyncNV
           
 long _addressof_eglCreateImageKHR
           
 long _addressof_eglCreatePbufferFromClientBuffer
           
 long _addressof_eglCreatePbufferSurface
           
 long _addressof_eglCreatePixmapSurface
           
 long _addressof_eglCreatePixmapSurfaceHI
           
 long _addressof_eglCreateSyncKHR
           
 long _addressof_eglCreateWindowSurface
           
 long _addressof_eglDestroyContext
           
 long _addressof_eglDestroyImageKHR
           
 long _addressof_eglDestroySurface
           
 long _addressof_eglDestroySyncKHR
           
 long _addressof_eglDestroySyncNV
           
 long _addressof_eglExportDRMImageMESA
           
 long _addressof_eglFenceNV
           
 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_eglGetSyncAttribKHR
           
 long _addressof_eglGetSyncAttribNV
           
 long _addressof_eglGetSystemTimeFrequencyNV
           
 long _addressof_eglGetSystemTimeNV
           
 long _addressof_eglInitialize
           
 long _addressof_eglLockSurfaceKHR
           
 long _addressof_eglMakeCurrent
           
 long _addressof_eglQueryAPI
           
 long _addressof_eglQueryContext
           
 long _addressof_eglQueryString
           
 long _addressof_eglQuerySurface
           
 long _addressof_eglReleaseTexImage
           
 long _addressof_eglReleaseThread
           
 long _addressof_eglSignalSyncKHR
           
 long _addressof_eglSignalSyncNV
           
 long _addressof_eglSurfaceAttrib
           
 long _addressof_eglSwapBuffers
           
 long _addressof_eglSwapInterval
           
 long _addressof_eglTerminate
           
 long _addressof_eglUnlockSurfaceKHR
           
 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
EGLExtProcAddressTable()
           
EGLExtProcAddressTable(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_eglClientWaitSyncKHR

public long _addressof_eglClientWaitSyncKHR

_addressof_eglClientWaitSyncNV

public long _addressof_eglClientWaitSyncNV

_addressof_eglCopyBuffers

public long _addressof_eglCopyBuffers

_addressof_eglCreateContext

public long _addressof_eglCreateContext

_addressof_eglCreateDRMImageMESA

public long _addressof_eglCreateDRMImageMESA

_addressof_eglCreateFenceSyncNV

public long _addressof_eglCreateFenceSyncNV

_addressof_eglCreateImageKHR

public long _addressof_eglCreateImageKHR

_addressof_eglCreatePbufferFromClientBuffer

public long _addressof_eglCreatePbufferFromClientBuffer

_addressof_eglCreatePbufferSurface

public long _addressof_eglCreatePbufferSurface

_addressof_eglCreatePixmapSurface

public long _addressof_eglCreatePixmapSurface

_addressof_eglCreatePixmapSurfaceHI

public long _addressof_eglCreatePixmapSurfaceHI

_addressof_eglCreateSyncKHR

public long _addressof_eglCreateSyncKHR

_addressof_eglCreateWindowSurface

public long _addressof_eglCreateWindowSurface

_addressof_eglDestroyContext

public long _addressof_eglDestroyContext

_addressof_eglDestroyImageKHR

public long _addressof_eglDestroyImageKHR

_addressof_eglDestroySurface

public long _addressof_eglDestroySurface

_addressof_eglDestroySyncKHR

public long _addressof_eglDestroySyncKHR

_addressof_eglDestroySyncNV

public long _addressof_eglDestroySyncNV

_addressof_eglExportDRMImageMESA

public long _addressof_eglExportDRMImageMESA

_addressof_eglFenceNV

public long _addressof_eglFenceNV

_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_eglGetSyncAttribKHR

public long _addressof_eglGetSyncAttribKHR

_addressof_eglGetSyncAttribNV

public long _addressof_eglGetSyncAttribNV

_addressof_eglGetSystemTimeFrequencyNV

public long _addressof_eglGetSystemTimeFrequencyNV

_addressof_eglGetSystemTimeNV

public long _addressof_eglGetSystemTimeNV

_addressof_eglInitialize

public long _addressof_eglInitialize

_addressof_eglLockSurfaceKHR

public long _addressof_eglLockSurfaceKHR

_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_eglSignalSyncKHR

public long _addressof_eglSignalSyncKHR

_addressof_eglSignalSyncNV

public long _addressof_eglSignalSyncNV

_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_eglUnlockSurfaceKHR

public long _addressof_eglUnlockSurfaceKHR

_addressof_eglWaitClient

public long _addressof_eglWaitClient

_addressof_eglWaitGL

public long _addressof_eglWaitGL

_addressof_eglWaitNative

public long _addressof_eglWaitNative
Constructor Detail

EGLExtProcAddressTable

public EGLExtProcAddressTable()

EGLExtProcAddressTable

public EGLExtProcAddressTable(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.