Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' of github.com:mbien/gluegen | Sven Gothel | 2010-03-30 | 1 | -5/+30 |
|\ | |||||
| * | added sizeOfBufferElem(Buffer buf) to Buffers. | Michael Bien | 2010-03-29 | 1 | -4/+29 |
| | | |||||
| * | made conctructor protected. | Michael Bien | 2010-03-29 | 1 | -1/+1 |
| | | |||||
* | | http://www.jogamp.org/bugzilla/show_bug.cgi?id=389 | Sven Gothel | 2010-03-30 | 2 | -0/+28 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 32bit/64bit values and arrays are misrepresented - PointerBuffer is used to map 64bit integer values, which is illegal due to the latest PointerBuffer changes, where the underlying ByteBuffer is either 32bit wide or 64bit wide (in respect to the pointer size). The PointerBuffer semantic itself is correct, but no more suitable to represent 64bit values and arrays. A Int64Buffer (LongBuffer does not exist in CDC/CVM patch) should be used instead. - Determine use of Int64Buffer and PointerBuffer Assuming the 1st step being solved, it has to determined for which cases gluegen shall map a type to a PointerBuffer. All pointer pointer types, regardless of a Opaque mapping, ie: +++ typedef struct __MYAPIConfig * MYAPIConfig; Opaque long MYAPIConfig void foo(MYAPIConfig * ptrarray); +++ The argument 'ptrarray' must be represented as a PointerBuffer otherwise data is misrepresented in case: - 32bit machines _and_ - array semantics - more than one value is being used Impl: java/com/sun/gluegen/JavaEmitter.java: - Checks ptr-ptr for Opaque values - Returns PointerBuffer mapping for ptr-ptr types - Allow PointerBuffer being mapped as String[] Very elaborated tests .. :) ++++++++++++ Misc Changes: - Added <Type>.put(<Type>Buffer src) for Int64Buffer/PointerBuffer | ||||
* | | Resolved conflicts | Sven Gothel | 2010-03-29 | 7 | -19/+353 |
|\| | |||||
| * | renamed BufferFactory into Buffers. | Michael Bien | 2010-03-29 | 3 | -6/+6 |
| | | |||||
| * | moved several common utility methods from JOGL's BufferUtil to GlueGen's ↵ | Michael Bien | 2010-03-29 | 3 | -9/+343 |
| | | | | | | | | BufferFactory. | ||||
* | | New Int64Buffer type, which is being used for gluegen 'long *' | Sven Gothel | 2010-03-29 | 5 | -1/+347 |
| | | |||||
* | | Merge CPU to Platform | Sven Gothel | 2010-03-28 | 5 | -112/+67 |
|/ | |||||
* | (part2) merged all cdc_fp special cases into one common superclass for each ↵ | Michael Bien | 2010-03-28 | 10 | -1223/+949 |
| | | | | | | | special case. introduced Platform as utility for querying platform information. special cdc build with cdc_fp bootclasspath temporary dissabled. | ||||
* | (part 1) merged all cdc_fp special cases into one common superclass for each ↵ | Michael Bien | 2010-03-28 | 3 | -0/+0 |
| | | | | | | | special case. introduced Platform as utility for querying platform information. special cdc build with cdc_fp bootclasspath temporary dissabled. | ||||
* | Merge with mbien's 2ea8c93d5fd27207872b97c964e3f8af5ac850c6 | Sven Gothel | 2010-03-28 | 1 | -3/+3 |
| | |||||
* | renamed com.sun.gluegen.runtime -> com.jogamp.gluegen.runtime. | Michael Bien | 2010-03-27 | 19 | -0/+2874 |