| Modifier and Type | Class and Description |
|---|---|
| pack-priv static enum | |
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private int | addExtensionListOfAliasedSymbols2Doc(final BuildStaticGLInfo glDocInfo, final StringBuilder buf, final String sep1, final String sep2, final String name)
|
| private int | addExtensionListOfSymbol2Doc(final BuildStaticGLInfo glDocInfo, final StringBuilder buf, final String sep1, final String name)
|
| public int | addExtensionsOfSymbols2Doc(StringBuilder buf, final String sep1, final String sep2, final String first)
|
| public void | beginEmission(final GlueEmitterControls controls)
Overrides com. Implements com. |
| protected JavaConfiguration | createConfig()
Overrides com. |
| public void | emitDefine(final ConstantDefinition def, final String
If optionalComment is non-null, the emitter can
emit that string as a comment providing extra information about the
define. optionalComment)Overrides com. Implements com. |
| protected void | |
| protected List | expandMethodBinding(final MethodBinding binding)
Overrides com. |
| protected void | generateModifiedEmitters(final JavaMethodBindingEmitter baseJavaEmitter, final List<FunctionEmitter> emitters)
Overrides com. |
| protected GLConfiguration | |
| public boolean | |
| protected void | mangleBinding(final MethodBinding binding)
Overrides com. MethodBinding
before expanding and emission.
|
| protected boolean | |
| protected boolean | |
| protected void | |
| protected void | renameExtensionsIntoCore(final GLConfiguration config, final BuildStaticGLInfo glInfo, final boolean isSemHeader)
|
| private void |
| bufferObjectMethodBindings | back to summary |
|---|---|
| private final Map<MethodBinding, MethodBinding> bufferObjectMethodBindings | |
| GLEmitter | back to summary |
|---|---|
| public GLEmitter() | |
| addExtensionListOfAliasedSymbols2Doc | back to summary |
|---|---|
| private int addExtensionListOfAliasedSymbols2Doc(final BuildStaticGLInfo glDocInfo, final StringBuilder buf, final String sep1, final String sep2, final String name) | |
| addExtensionListOfSymbol2Doc | back to summary |
|---|---|
| private int addExtensionListOfSymbol2Doc(final BuildStaticGLInfo glDocInfo, final StringBuilder buf, final String sep1, final String name) | |
| addExtensionsOfSymbols2Doc | back to summary |
|---|---|
| public int addExtensionsOfSymbols2Doc(StringBuilder buf, final String sep1, final String sep2, final String first) | |
| beginEmission | back to summary |
|---|---|
| public void beginEmission(final GlueEmitterControls controls) throws IOException Overrides com. Implements com. Doc from com. Begin the emission of glue code. This might include opening files, emitting class headers, etc.
| |
| createConfig | back to summary |
|---|---|
| protected JavaConfiguration createConfig() Overrides com. Doc from com. Create the object that will read and store configuration information for this JavaEmitter.
| |
| emitDefine | back to summary |
|---|---|
| public void emitDefine(final ConstantDefinition def, final String optionalComment) throws Exception Overrides com. Implements com.
| |
| endProcAddressTable | back to summary |
|---|---|
| protected void endProcAddressTable() throws Exception Overrides com.
| |
| expandMethodBinding | back to summary |
|---|---|
| protected List Overrides com. 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).
| |
| generateModifiedEmitters | back to summary |
|---|---|
| protected void generateModifiedEmitters(final JavaMethodBindingEmitter baseJavaEmitter, final List<FunctionEmitter> emitters) Overrides com.
| |
| getGLConfig | back to summary |
|---|---|
| protected GLConfiguration getGLConfig() | |
| isBufferObjectMethodBinding | back to summary |
|---|---|
| public boolean isBufferObjectMethodBinding(final MethodBinding binding) | |
| mangleBinding | back to summary |
|---|---|
| protected void mangleBinding(final MethodBinding binding) Overrides com. Doc from com. Allow specializations to modify the given 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 ..
| |
| needsBufferObjectVariant | back to summary |
|---|---|
| protected boolean needsBufferObjectVariant(final FunctionSymbol sym) | |
| needsModifiedEmitters | back to summary |
|---|---|
| protected boolean needsModifiedEmitters(final FunctionSymbol sym) Overrides com.
| |
| renameExtensionsIntoCore | back to summary |
|---|---|
| protected void renameExtensionsIntoCore() | |
| renameExtensionsIntoCore | back to summary |
|---|---|
| protected void renameExtensionsIntoCore(final GLConfiguration config, final BuildStaticGLInfo glInfo, final boolean isSemHeader) | |
| unifyExtensions | back to summary |
|---|---|
| private void unifyExtensions(final GlueEmitterControls controls) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final GLEmitter. | |
| public static final GLEmitter. | |
| public static final GLEmitter. | |
| public static final GLEmitter. | |
| public static final GLEmitter. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static GLEmitter. | |
| public static GLEmitter. |
| ARRAY | back to summary |
|---|---|
| public static final GLEmitter. | |
| ELEMENT | back to summary |
|---|---|
| public static final GLEmitter. | |
| INDIRECT | back to summary |
|---|---|
| public static final GLEmitter. | |
| PACK_PIXEL | back to summary |
|---|---|
| public static final GLEmitter. | |
| UNPACK_PIXEL | back to summary |
|---|---|
| public static final GLEmitter. | |
| BufferObjectKind | back to summary |
|---|---|
| private BufferObjectKind() | |
| valueOf | back to summary |
|---|---|
| public static GLEmitter. | |
| values | back to summary |
|---|---|
| public static GLEmitter. | |
| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private List |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | filterSymbols(final List<ConstantDefinition>
a list of inConstList, final List<FunctionSymbol> Define objectsa list of inFuncList)FunctionSymbol objectsImplements com. |
| public List | getConstants()
Implements com. |
| public List | getFunctions()
Implements com. |
| constants | back to summary |
|---|---|
| private List<ConstantDefinition> constants | |
| functions | back to summary |
|---|---|
| private List<FunctionSymbol> functions | |
| ExtensionUnifier | back to summary |
|---|---|
| pack-priv ExtensionUnifier() | |
| filterSymbols | back to summary |
|---|---|
| public void filterSymbols(final List<ConstantDefinition> inConstList, final List<FunctionSymbol> inFuncList) Implements com. Doc from com. Filters the given constant and function symbols. The caller will query the SymbolFilter for its resulting constant and function symbol lists after this routine returns.
| |
| getConstants | back to summary |
|---|---|
| public List Implements com. Doc from com. Returns the filtered list of constants. This method may return a new list, the original list, or null, in which case the original list will be used.
| |
| getFunctions | back to summary |
|---|---|
| public List Implements com. Doc from com. Returns the filtered list of function symbols. This method may return a new list, the original list, or null, in which case the original list will be used.
| |