Top Description Fields Constructors Methods
jogamp.opengl.windows.wgl

public final Class WGLProcAddressTable

extends ProcAddressTable
Class Inheritance
Imports
java.util.*, com.jogamp.opengl.*, com.jogamp.opengl.fixedfunc.*, jogamp.opengl.*, jogamp.nativewindow.windows.PIXELFORMATDESCRIPTOR, com.jogamp.gluegen.runtime.opengl.GLProcAddressResolver, com.jogamp.gluegen.runtime.ProcAddressTable, com.jogamp.common.util.SecurityUtil

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

Field Summary

Modifier and TypeField and Description
pack-priv long
pack-priv long
pack-priv long
pack-priv long
pack-priv long
pack-priv long
pack-priv long
pack-priv long
pack-priv long
pack-priv long
pack-priv long
pack-priv long
pack-priv long
pack-priv long
Inherited from com.jogamp.gluegen.runtime.ProcAddressTable:
DEBUGDEBUG_PREFIXdebugNum

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public long
getAddressFor(String functionNameUsr)

Overrides com.jogamp.gluegen.runtime.ProcAddressTable.getAddressFor.

This is a convenience method to query the native function handle by name.
protected boolean
isFunctionAvailableImpl(String functionNameUsr)

Overrides com.jogamp.gluegen.runtime.ProcAddressTable.isFunctionAvailableImpl.

This is a convenience method to query the native function existence by name.
Inherited from com.jogamp.gluegen.runtime.ProcAddressTable:
getNullPointerFunctionsinitEntryisFunctionAvailableresettoString

Field Detail

_addressof_wglChoosePixelFormatback to summary
pack-priv long _addressof_wglChoosePixelFormat
_addressof_wglCopyContextback to summary
pack-priv long _addressof_wglCopyContext
_addressof_wglCreateContextback to summary
pack-priv long _addressof_wglCreateContext
_addressof_wglDeleteContextback to summary
pack-priv long _addressof_wglDeleteContext
_addressof_wglDescribePixelFormatback to summary
pack-priv long _addressof_wglDescribePixelFormat
_addressof_wglGetCurrentContextback to summary
pack-priv long _addressof_wglGetCurrentContext
_addressof_wglGetCurrentDCback to summary
pack-priv long _addressof_wglGetCurrentDC
_addressof_wglGetPixelFormatback to summary
pack-priv long _addressof_wglGetPixelFormat
_addressof_wglGetProcAddressback to summary
pack-priv long _addressof_wglGetProcAddress
_addressof_wglMakeCurrentback to summary
pack-priv long _addressof_wglMakeCurrent
_addressof_wglSetPixelFormatback to summary
pack-priv long _addressof_wglSetPixelFormat
_addressof_wglShareListsback to summary
pack-priv long _addressof_wglShareLists
_addressof_wglSwapBuffersback to summary
pack-priv long _addressof_wglSwapBuffers
_addressof_wglSwapLayerBuffersback to summary
pack-priv long _addressof_wglSwapLayerBuffers

Constructor Detail

WGLProcAddressTableback to summary
public WGLProcAddressTable()
WGLProcAddressTableback to summary
public WGLProcAddressTable(FunctionAddressResolver resolver)

Method Detail

getAddressForback to summary
public long getAddressFor(String functionNameUsr) throws SecurityException, IllegalArgumentException

Overrides com.jogamp.gluegen.runtime.ProcAddressTable.getAddressFor.

Doc from com.jogamp.gluegen.runtime.ProcAddressTable.getAddressFor.

This is a convenience method to query the native function handle by name.

It lets you avoid having to manually compute the "PROCADDRESS_VAR_PREFIX + <functionName>" member variable name and look it up via reflection.

If a SecurityManager is installed, user needs link permissions for all libraries, i.e. for new RuntimePermission("loadLibrary.*");!

Annotations
@Override
Exceptions
SecurityException:
if user is not granted access for all libraries.
IllegalArgumentException:
if this function is not in this table.
isFunctionAvailableImplback to summary
protected boolean isFunctionAvailableImpl(String functionNameUsr) throws IllegalArgumentException

Overrides com.jogamp.gluegen.runtime.ProcAddressTable.isFunctionAvailableImpl.

Doc from com.jogamp.gluegen.runtime.ProcAddressTable.isFunctionAvailableImpl.

This is a convenience method to query the native function existence by name.

It lets you avoid having to manually compute the "PROCADDRESS_VAR_PREFIX + <functionName>" member variable name and look it up via reflection.

Annotations
@Override
Exceptions
IllegalArgumentException:
if this function is not in this table.