summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup for a better OpenGL 3.2 integration,Sven Gothel2009-08-0518-116/+277
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for subsuming extensions: - Allow RenameExtensionIntoCore generate duplicate names, ie those will not be generated. - Add proper comment showing the extension of the symbol. - Fail if no 'GLHeader' is specified, but we are processing a GL/ProcAddress config - Fail if a GL function is not part of an extension MethodBinding, ConstantDefinition cleanup: - getName() returns the renamed name - getOrigName() returns the original - getAliasedNames() returns the aliased ones MethodBinding: - Change: equals() operates on renamed name - Add: hashCode() function - same criteria as equals() Impact: - All config options etc shall trigger with the renamed name, but ignore, rename etc. - Generated Java impl. uses the renamed base name as well Change: emitDefine() uses the ConstantDefinition Add: JavaConfiguration: dumpRenames() Change JavaConfiguration.shouldIgnoreInInterface/Impl(): - respect the renamed symbol name as well Change JavaEmitter.emitFunctions(): - only emit a generated MethodBinding once, therefor store emitted method bindings in a HashSet Fix BuildStaticGLInfo: - Allow white space at the end of #ifndef and #define - Trim strings - Allow 'const' qualifier in function pattern Fix GLEmitter: - Fail if no 'GLHeader' is specified, but a RenameIntoCore option .. - Don't emit marker defines, marking an extension (ie not part of an extension) Fix GLJavaMethodBindingEmitter: - Fail if a GL function is not part of an extension Fix PCPP: - Pass constant type qualifiers for hex-constants: 'l' 'L' ... Fix ProcAddressEmitter: - Operate on the aliased/renamed name for querying ProcAddress usage and generating code.
* OpenGL: Add comment: Part of <extension>Sven Gothel2009-08-023-3/+41
|
* Retain interface order in Custom PipelineSven Gothel2009-08-011-4/+18
|
* refine Trace/Debug outputSven Gothel2009-08-011-7/+7
|
* MingW: Refince CC flagsSven Gothel2009-07-311-0/+3
|
* Fix array element type name and const qualifierSven Gothel2009-07-311-3/+25
|
* Add CVM test script for windowssg2158892009-07-301-0/+8
|
* Fix gluegen property namessg2158892009-07-301-4/+4
|
* Add GL2GL3 synthetic methods for OpenGL Composable Pipelinesg2158892009-07-291-0/+2
|
* ExtendedInterfaceSymbols -> ExtendedInterfaceSymbolsIgnore; Allow cobination ↵sg2158892009-07-291-17/+17
| | | | of ExtendedInterfaceSymbolsIgnore and ExtendedInterfaceSymbolsOnly
* Proper gluegen.properties loading (2)sg2158892009-07-281-16/+2
|
* Proper gluegen.properties loadingsg2158892009-07-283-16/+44
|
* Verbose mac osx x64 and ppcsg2158892009-07-281-0/+2
|
* Add test scripts J2SE and CVMsg2158892009-07-282-0/+35
|
* Fix: Native CPU 32/64 bit detection; Tested on CVM/J2SEsg2158892009-07-288-41/+54
|
* Fix: Add sun.arch.data.model to determine 32bit archsg2158892009-07-283-31/+65
|
* Add: Extended support for CVM crosscompile:sg2158892009-07-242-0/+7
| | | | | - Clean up X11 dependency - Adding 'noX11' property to avoid setting 'isX11'
* Fix CDC JAR unificationsg2158892009-07-151-1/+1
|
* Tests [PointerBuffer,StructAccessor]: Add diagnosticsJOGL_CDCCVM_sgothelsg2158892009-07-152-1/+9
|
* Build CDC named JARs for CVM in default build, no more specialized build ↵sg2158892009-07-156-18/+32
| | | | necessary. Fix PointerBuffer allocateDirect()
* Build CDC named JARs for CVM in default build, no more specialized build ↵sg2158892009-07-154-66/+73
| | | | necessary. Fix PointerBuffer allocateDirect()
* Cleanup PointerBuffer identificationsg2158892009-07-131-2/+3
|
* Add missing changessg2158892009-07-134-5/+22
|
* Add missing changes ..sg2158892009-07-135-122/+397
|
* Add: Extended support for CVM:sg2158892009-07-138-0/+262
| | | | | | | | | | | | | | | | - GLX, CGL, WGL - GL2ES12 desktop ES1 and ES2 common profile Add: BufferFactory: Determine the Buffer's Endianess Add: com.sun.gluegen.runtime.PointerBuffer - Solution for CDC/CVM (no LongBuffer), holds a buffer of pointer objects in native endian format and converts natively passed 32bit pointers to 64 bit. - supports a few Buffer mechanics, so the BufferFactory can easily use them. - behaves as an NIO Buffer, code generation - included a unit test Add: StructAccessor get/set long value, incl. endian check
* Fix JNLP filesSven Gothel2009-07-041-2/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@157 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Remove macosx.ppc build per default. Enable it via ant property macosppc=trueSven Gothel2009-07-042-4/+18
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@156 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Adding boiler-plate JNLP filesSven Gothel2009-07-031-0/+63
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@155 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Disable MSVC run-time assertion checking for non-debug builds (unlessKenneth Russel2009-06-171-3/+22
| | | | | | | the property c.compiler.debug is set to true) git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@149 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Change version number to conform to JOGL naming conventionKenneth Russel2009-06-171-2/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@148 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Copied JOGL_2_SANDBOX r145 on to trunk; JOGL_2_SANDBOX branch is now closedKenneth Russel2009-06-15115-0/+28773
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@147 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Deleted obsolete source code in preparation for copying JOGL_2_SANDBOXKenneth Russel2009-06-15104-25099/+0
| | | | | | | on to trunk git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@146 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Updated .cfg files to properly #include headers; updated build scriptsKenneth Russel2009-05-1511-21/+34
| | | | | | | to correctly pick up OS git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@133 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Adjusted checkout instructions after CVS -> Subversion conversionKenneth Russel2009-05-131-2/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@132 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Fixed link to GlueGen manualKenneth Russel2009-05-121-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@131 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Committed through web interface.root2009-03-091-0/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@125 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* auto commit for alm editor.root2009-03-090-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@124 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* auto commit for alm editor.root2009-03-090-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@123 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Added debugging support via -Dgluegen.debug.ProcAddressHelper and Kenneth Russel2008-05-301-0/+44
| | | | | | | -Dgluegen.debug.ProcAddressHelper.prefix git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@82 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Added Windows (CE) / ARM to the list of known OS/CPU combinationsKenneth Russel2008-05-301-0/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@81 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Bug fixes to mangling of JNI method names when arrays of compound Kenneth Russel2008-05-291-4/+12
| | | | | | | types are present, and to the new CMethodBindingEmitter.isUTF8Type() git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@80 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Changed implementation of ArgumentIsString to work with wide-character Kenneth Russel2008-05-2710-109/+204
| | | | | | | | | | | | | | null-terminated strings on Windows. Changed Windows dynamic linker to use LoadLibraryW which is the only variant available on Windows CE. Changed GetProcAddress to explicitly named GetProcAddressA; this is implicitly the only variant available on Windows XP. Tested by compiling gluegen-rt.dll for both Windows XP and Windows CE. Also brought dynlink-unix-CustomJavaCode.java in line with modifications that were apparently hand made to the UnixDynamicLinkerImpl and MacOSXDynamicLinkerImpl classes. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@79 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Adding customized gluegen.cpptasks.configure.compiler target.Sven Gothel2008-05-271-2/+5
| | | | | | | | Specify your target in ${user.home}/gluegen.compiler.xml' The enables a user to specify the compiler and linker, including all options. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@78 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Added support for passing outgoing arrays of compound types, including Kenneth Russel2008-05-269-53/+193
| | | | | | | | | | | non-const arrays of compound types and the associated copies back to Java, in support of constructs like eglChooseConfig. Generated code has been compiled but not yet tested. Refactorings to allow generated glue code using StructAccessors to work on Java ME / CDC / FP + JSR-239 NIO, as well as Java SE. Bug fix to ForceProcAddressGen. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@77 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Fixed build breakage on non-Windows platforms due to recent changes toKenneth Russel2008-05-151-11/+18
| | | | | | | support building against CDC/FP bootstrap classes git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@76 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Refactorings to support building JOGL and supporting libraries on Kenneth Russel2008-05-137-16/+433
| | | | | | | Java ME / CDC / FP git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@75 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Fixed Issue 5: build: Use system antlr automatically if jpackage-compatible ↵Kenneth Russel2008-04-191-0/+4
| | | | | | | | | | system Added available check of /usr/share/java/antlr.jar. Not fully tested. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@74 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Fixed Issue 6: unqualified class names in generated java code Kenneth Russel2008-04-193-15/+15
| | | | | | | | | | Applied and expanded patch from user tck to fully qualify all references to New I/O classes in generated code. Tested by removing Import of java.nio.* from JOGL and JOAL; required modification of the custom Java code for those packages, but otherwise working well. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@73 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Changes for 64-bit Mac OS X from dhale; unclear why things worked earlierKenneth Russel2008-02-232-0/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@72 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Modified gluegen-cpptasks, gluegen.properties and jogl.properties toKenneth Russel2008-02-092-0/+10
| | | | | | | support building 64-bit on Leopard git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@71 a78bb65f-1512-4460-ba86-f6dc96a7bf27