Skip to content
The Jenkins Controller is preparing for shutdown. No new builds can be started.
Failed

Changes

Summary

  1. http://www.jogamp.org/bugzilla/show_bug.cgi?id=389 (details)
  2. Merge with mbien's 2ea8c93d5fd27207872b97c964e3f8af5ac850c6 (details)
Commit a41f4d504d2f8cf58114d570d23f757ab2659cfc by Sven Gothel
http://www.jogamp.org/bugzilla/show_bug.cgi?id=389

Mixed types in generated code are functioning now,
even though not all permutations are generated - still.

However, this patch merges the indirect object passing,
wheather it is a primitive array or an indirect NIO buffer,
incl. PointerBuffer.

This allows the usage of only one JNI functions for all combinations.

Only in case of NIODirectOnly, the simplified direct only '0'
variation is created - otherwise the parametrized '1' variant.

The junit tests proves the implementation and
almost completes the gluegen junit tests coverage
for JavaEmitter and ProcAddressEmitter.

Impact/Result:
    - Working mixed array types
    - JOGL GL2 native library shrunk around 30%
    - Simplified gluegen code
    - Almost complete gluegen junit tests

TODO: Complete permutations of array/NIO arguments,
      if desired.

++++

Misc changes:

- NativeLibrary implements DynamicLookupHelper:
    lookupFunction() -> dynamicLookupFunction()
Commit 93c16379f28104b079a12e7ed9787da439e54a3c by Sven Gothel
Merge with mbien's 2ea8c93d5fd27207872b97c964e3f8af5ac850c6