com.jogamp.opengl.impl.windows.wgl
Class WGLExtProcAddressTable

java.lang.Object
  extended by com.jogamp.gluegen.runtime.ProcAddressTable
      extended by com.jogamp.opengl.impl.windows.wgl.WGLExtProcAddressTable

public class WGLExtProcAddressTable
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_wglAllocateMemoryNV
           
 long _addressof_wglBeginFrameTrackingI3D
           
 long _addressof_wglBindDisplayColorTableEXT
           
 long _addressof_wglBindSwapBarrierNV
           
 long _addressof_wglBindTexImageARB
           
 long _addressof_wglChoosePixelFormatARB
           
 long _addressof_wglChoosePixelFormatEXT
           
 long _addressof_wglCreateBufferRegionARB
           
 long _addressof_wglCreateContextAttribsARB
           
 long _addressof_wglCreateDisplayColorTableEXT
           
 long _addressof_wglCreatePbufferARB
           
 long _addressof_wglCreatePbufferEXT
           
 long _addressof_wglDeleteBufferRegionARB
           
 long _addressof_wglDestroyDisplayColorTableEXT
           
 long _addressof_wglDestroyPbufferARB
           
 long _addressof_wglDestroyPbufferEXT
           
 long _addressof_wglDisableFrameLockI3D
           
 long _addressof_wglEnableFrameLockI3D
           
 long _addressof_wglEndFrameTrackingI3D
           
 long _addressof_wglFreeMemoryNV
           
 long _addressof_wglGetCurrentReadDC
           
 long _addressof_wglGetExtensionsStringARB
           
 long _addressof_wglGetExtensionsStringEXT
           
 long _addressof_wglGetFrameUsageI3D
           
 long _addressof_wglGetPbufferDCARB
           
 long _addressof_wglGetPbufferDCEXT
           
 long _addressof_wglGetPixelFormatAttribfvARB
           
 long _addressof_wglGetPixelFormatAttribfvEXT
           
 long _addressof_wglGetPixelFormatAttribivARB
           
 long _addressof_wglGetPixelFormatAttribivEXT
           
 long _addressof_wglGetSwapIntervalEXT
           
 long _addressof_wglIsEnabledFrameLockI3D
           
 long _addressof_wglJoinSwapGroupNV
           
 long _addressof_wglLoadDisplayColorTableEXT
           
 long _addressof_wglMakeContextCurrent
           
 long _addressof_wglQueryFrameCountNV
           
 long _addressof_wglQueryFrameLockMasterI3D
           
 long _addressof_wglQueryFrameTrackingI3D
           
 long _addressof_wglQueryMaxSwapGroupsNV
           
 long _addressof_wglQueryPbufferARB
           
 long _addressof_wglQueryPbufferEXT
           
 long _addressof_wglQuerySwapGroupNV
           
 long _addressof_wglReleasePbufferDCARB
           
 long _addressof_wglReleasePbufferDCEXT
           
 long _addressof_wglReleaseTexImageARB
           
 long _addressof_wglResetFrameCountNV
           
 long _addressof_wglRestoreBufferRegionARB
           
 long _addressof_wglSaveBufferRegionARB
           
 long _addressof_wglSetPbufferAttribARB
           
 long _addressof_wglSwapIntervalEXT
           
 
Fields inherited from class com.jogamp.gluegen.runtime.ProcAddressTable
DEBUG, DEBUG_PREFIX, debugNum, PROCADDRESS_VAR_PREFIX
 
Constructor Summary
WGLExtProcAddressTable()
           
WGLExtProcAddressTable(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_wglAllocateMemoryNV

public long _addressof_wglAllocateMemoryNV

_addressof_wglBeginFrameTrackingI3D

public long _addressof_wglBeginFrameTrackingI3D

_addressof_wglBindDisplayColorTableEXT

public long _addressof_wglBindDisplayColorTableEXT

_addressof_wglBindSwapBarrierNV

public long _addressof_wglBindSwapBarrierNV

_addressof_wglBindTexImageARB

public long _addressof_wglBindTexImageARB

_addressof_wglChoosePixelFormatARB

public long _addressof_wglChoosePixelFormatARB

_addressof_wglChoosePixelFormatEXT

public long _addressof_wglChoosePixelFormatEXT

_addressof_wglCreateBufferRegionARB

public long _addressof_wglCreateBufferRegionARB

_addressof_wglCreateContextAttribsARB

public long _addressof_wglCreateContextAttribsARB

_addressof_wglCreateDisplayColorTableEXT

public long _addressof_wglCreateDisplayColorTableEXT

_addressof_wglCreatePbufferARB

public long _addressof_wglCreatePbufferARB

_addressof_wglCreatePbufferEXT

public long _addressof_wglCreatePbufferEXT

_addressof_wglDeleteBufferRegionARB

public long _addressof_wglDeleteBufferRegionARB

_addressof_wglDestroyDisplayColorTableEXT

public long _addressof_wglDestroyDisplayColorTableEXT

_addressof_wglDestroyPbufferARB

public long _addressof_wglDestroyPbufferARB

_addressof_wglDestroyPbufferEXT

public long _addressof_wglDestroyPbufferEXT

_addressof_wglDisableFrameLockI3D

public long _addressof_wglDisableFrameLockI3D

_addressof_wglEnableFrameLockI3D

public long _addressof_wglEnableFrameLockI3D

_addressof_wglEndFrameTrackingI3D

public long _addressof_wglEndFrameTrackingI3D

_addressof_wglFreeMemoryNV

public long _addressof_wglFreeMemoryNV

_addressof_wglGetCurrentReadDC

public long _addressof_wglGetCurrentReadDC

_addressof_wglGetExtensionsStringARB

public long _addressof_wglGetExtensionsStringARB

_addressof_wglGetExtensionsStringEXT

public long _addressof_wglGetExtensionsStringEXT

_addressof_wglGetFrameUsageI3D

public long _addressof_wglGetFrameUsageI3D

_addressof_wglGetPbufferDCARB

public long _addressof_wglGetPbufferDCARB

_addressof_wglGetPbufferDCEXT

public long _addressof_wglGetPbufferDCEXT

_addressof_wglGetPixelFormatAttribfvARB

public long _addressof_wglGetPixelFormatAttribfvARB

_addressof_wglGetPixelFormatAttribfvEXT

public long _addressof_wglGetPixelFormatAttribfvEXT

_addressof_wglGetPixelFormatAttribivARB

public long _addressof_wglGetPixelFormatAttribivARB

_addressof_wglGetPixelFormatAttribivEXT

public long _addressof_wglGetPixelFormatAttribivEXT

_addressof_wglGetSwapIntervalEXT

public long _addressof_wglGetSwapIntervalEXT

_addressof_wglIsEnabledFrameLockI3D

public long _addressof_wglIsEnabledFrameLockI3D

_addressof_wglJoinSwapGroupNV

public long _addressof_wglJoinSwapGroupNV

_addressof_wglLoadDisplayColorTableEXT

public long _addressof_wglLoadDisplayColorTableEXT

_addressof_wglMakeContextCurrent

public long _addressof_wglMakeContextCurrent

_addressof_wglQueryFrameCountNV

public long _addressof_wglQueryFrameCountNV

_addressof_wglQueryFrameLockMasterI3D

public long _addressof_wglQueryFrameLockMasterI3D

_addressof_wglQueryFrameTrackingI3D

public long _addressof_wglQueryFrameTrackingI3D

_addressof_wglQueryMaxSwapGroupsNV

public long _addressof_wglQueryMaxSwapGroupsNV

_addressof_wglQueryPbufferARB

public long _addressof_wglQueryPbufferARB

_addressof_wglQueryPbufferEXT

public long _addressof_wglQueryPbufferEXT

_addressof_wglQuerySwapGroupNV

public long _addressof_wglQuerySwapGroupNV

_addressof_wglReleasePbufferDCARB

public long _addressof_wglReleasePbufferDCARB

_addressof_wglReleasePbufferDCEXT

public long _addressof_wglReleasePbufferDCEXT

_addressof_wglReleaseTexImageARB

public long _addressof_wglReleaseTexImageARB

_addressof_wglResetFrameCountNV

public long _addressof_wglResetFrameCountNV

_addressof_wglRestoreBufferRegionARB

public long _addressof_wglRestoreBufferRegionARB

_addressof_wglSaveBufferRegionARB

public long _addressof_wglSaveBufferRegionARB

_addressof_wglSetPbufferAttribARB

public long _addressof_wglSetPbufferAttribARB

_addressof_wglSwapIntervalEXT

public long _addressof_wglSwapIntervalEXT
Constructor Detail

WGLExtProcAddressTable

public WGLExtProcAddressTable()

WGLExtProcAddressTable

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