A subclass of ProcAddressEmitter with special OpenGL-specific configuration abilities.
More...
|
| enum | BufferObjectKind |
| |
| class | ExtensionUnifier |
| |
A subclass of ProcAddressEmitter with special OpenGL-specific configuration abilities.
Definition at line 74 of file GLEmitter.java.
◆ addExtensionsOfSymbols2Doc()
| int com.jogamp.gluegen.opengl.GLEmitter.addExtensionsOfSymbols2Doc |
( |
StringBuilder |
buf, |
|
|
final String |
sep1, |
|
|
final String |
sep2, |
|
|
final String |
first |
|
) |
| |
◆ beginEmission()
| void com.jogamp.gluegen.opengl.GLEmitter.beginEmission |
( |
final GlueEmitterControls |
controls | ) |
throws IOException |
◆ createConfig()
| JavaConfiguration com.jogamp.gluegen.opengl.GLEmitter.createConfig |
( |
| ) |
|
|
protected |
◆ emitDefine()
| void com.jogamp.gluegen.opengl.GLEmitter.emitDefine |
( |
final ConstantDefinition |
def, |
|
|
final String |
optionalComment |
|
) |
| throws Exception |
◆ endProcAddressTable()
| void com.jogamp.gluegen.opengl.GLEmitter.endProcAddressTable |
( |
| ) |
throws Exception |
|
protected |
◆ expandMethodBinding()
| List< MethodBinding > com.jogamp.gluegen.opengl.GLEmitter.expandMethodBinding |
( |
final MethodBinding |
binding | ) |
|
|
protected |
In order to implement Buffer Object variants of certain functions we generate another MethodBinding which maps the void* argument to a Java long.
The generation of emitters then takes place as usual. We do however need to keep track of the modified MethodBinding object so that we can also modify the emitters later to inform them that their argument has changed. We might want to push this functionality down into the MethodBinding (i.e., mutators for argument names). We also would need to inform the CMethodBindingEmitter that it is overloaded in this case (though we default to true currently).
Definition at line 289 of file GLEmitter.java.
◆ generateModifiedEmitters()
| void com.jogamp.gluegen.opengl.GLEmitter.generateModifiedEmitters |
( |
final JavaMethodBindingEmitter |
baseJavaEmitter, |
|
|
final List< FunctionEmitter > |
emitters |
|
) |
| |
|
protected |
◆ getGLConfig()
◆ isBufferObjectMethodBinding()
| boolean com.jogamp.gluegen.opengl.GLEmitter.isBufferObjectMethodBinding |
( |
final MethodBinding |
binding | ) |
|
◆ mangleBinding()
| void com.jogamp.gluegen.opengl.GLEmitter.mangleBinding |
( |
final MethodBinding |
binding | ) |
|
|
protected |
Implementation sets the binding's native name to it's interface name, which is the final aliased shortest name. The latter is used for the proc-address-table etc ..
Definition at line 273 of file GLEmitter.java.
◆ needsBufferObjectVariant()
| boolean com.jogamp.gluegen.opengl.GLEmitter.needsBufferObjectVariant |
( |
final FunctionSymbol |
sym | ) |
|
|
protected |
◆ needsModifiedEmitters()
| boolean com.jogamp.gluegen.opengl.GLEmitter.needsModifiedEmitters |
( |
final FunctionSymbol |
sym | ) |
|
|
protected |
◆ renameExtensionsIntoCore() [1/2]
| void com.jogamp.gluegen.opengl.GLEmitter.renameExtensionsIntoCore |
( |
| ) |
|
|
protected |
◆ renameExtensionsIntoCore() [2/2]
The documentation for this class was generated from the following file: