com.jogamp.opengl.impl.x11.glx
Class GLXProcAddressTable

java.lang.Object
  extended by com.jogamp.gluegen.runtime.ProcAddressTable
      extended by com.jogamp.opengl.impl.x11.glx.GLXProcAddressTable

public class GLXProcAddressTable
extends ProcAddressTable

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

See Also:
ProcAddressTable

Field Summary
 long _addressof_glMapBuffer
           
 long _addressof_glXBindTexImageEXT
           
 long _addressof_glXChooseFBConfig
           
 long _addressof_glXChooseVisual
           
 long _addressof_glXCopyContext
           
 long _addressof_glXCreateContext
           
 long _addressof_glXCreateGLXPixmap
           
 long _addressof_glXCreateNewContext
           
 long _addressof_glXCreatePbuffer
           
 long _addressof_glXCreatePixmap
           
 long _addressof_glXCreateWindow
           
 long _addressof_glXDestroyContext
           
 long _addressof_glXDestroyGLXPixmap
           
 long _addressof_glXDestroyPbuffer
           
 long _addressof_glXDestroyPixmap
           
 long _addressof_glXDestroyWindow
           
 long _addressof_glXGetClientString
           
 long _addressof_glXGetConfig
           
 long _addressof_glXGetCurrentContext
           
 long _addressof_glXGetCurrentDisplay
           
 long _addressof_glXGetCurrentDrawable
           
 long _addressof_glXGetCurrentReadDrawable
           
 long _addressof_glXGetFBConfigAttrib
           
 long _addressof_glXGetFBConfigs
           
 long _addressof_glXGetMscRateOML
           
 long _addressof_glXGetProcAddress
           
 long _addressof_glXGetProcAddressARB
           
 long _addressof_glXGetSelectedEvent
           
 long _addressof_glXGetSyncValuesOML
           
 long _addressof_glXGetVisualFromFBConfig
           
 long _addressof_glXIsDirect
           
 long _addressof_glXMakeContextCurrent
           
 long _addressof_glXMakeCurrent
           
 long _addressof_glXQueryContext
           
 long _addressof_glXQueryDrawable
           
 long _addressof_glXQueryExtension
           
 long _addressof_glXQueryExtensionsString
           
 long _addressof_glXQueryServerString
           
 long _addressof_glXQueryVersion
           
 long _addressof_glXReleaseTexImageEXT
           
 long _addressof_glXSelectEvent
           
 long _addressof_glXSwapBuffers
           
 long _addressof_glXSwapBuffersMscOML
           
 long _addressof_glXUseXFont
           
 long _addressof_glXWaitForMscOML
           
 long _addressof_glXWaitForSbcOML
           
 long _addressof_glXWaitGL
           
 long _addressof_glXWaitX
           
 
Fields inherited from class com.jogamp.gluegen.runtime.ProcAddressTable
DEBUG, DEBUG_PREFIX, debugNum, PROCADDRESS_VAR_PREFIX
 
Constructor Summary
GLXProcAddressTable()
           
GLXProcAddressTable(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_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
Constructor Detail

GLXProcAddressTable

public GLXProcAddressTable()

GLXProcAddressTable

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