aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Clock: Rename currentTimeNanos() -> currentNanos() as it represents the ↵Sven Gothel2023-03-063-18/+26
| | | | duration since module startup and not time.
* Fix Clock for performance counter: Add currentTimeNanos() since module ↵Sven Gothel2023-03-063-44/+168
| | | | | | | | | | | startup, retrievable via getMonotonicStartupTime(). (performance) Settings two long fields in getMonotonicTime() and creating Instant and using Duration for high-frequency counter is too expensive. currentTimeNanos() subtracts the startup time from the current monotonic time and returns the resulting duration in nanoseconds, which lasts for 292 years since module startup. This satisfies performance counter requirements.
* Add PerfCounterCtrl, a simple performance counter controllerSven Gothel2023-03-061-0/+44
|
* Add Clock, implementing proper monotonic and wallclock time using Instant ↵Sven Gothel2023-03-064-45/+196
| | | | | | | | | (sec + nsec), currentTimeMillis() is also monotonic now, reused by Platform. Dropped Platform.currentTimeMicros() Clock and its implementation was copied from jaulibs, a spin-off from Direct-BT. The implementation uses `clock_gettime(CLOCK_MONOTONIC, &t)` and is considered safe and high-performant as it avoids a kernel call via VDSO (GNU/Linux).
* Buffers: Add put[34][bsifd](..) and array-put variants for ↵Sven Gothel2023-03-061-1/+468
| | | | | | flexibility/performance. Notable: The array-put is slower than small range single-puts, e.g. put3i(..).
* Next JogAmp Release to be 2.5.0, mark w/ developer RC + timestamp tagSven Gothel2023-02-011-3/+3
|
* GlueGen: Mark 2.4.0 as released.v2.4.0Sven Gothel2023-02-011-2/+2
|
* MappedByteBufferInputStream: Reduce dependency to PlatformSven Gothel2023-01-231-5/+5
|
* NativeLibrary.enumerateLibraryPaths(): Reduce relative/absolute path mapping ↵Sven Gothel2023-01-231-9/+12
| | | | to 'java.library.path', others are absolute
* JNILibLoaderBase.loadLibraryInternal(): Produce own detailed exception if ↵Sven Gothel2023-01-231-3/+6
| | | | | | lib couldn't be loaded (avoid showing misleading orig exception) .. and detail some debug output. Both, own exception and debug output expose NativeLibrary.getSystemEnvLibraryPaths()
* NativeLibrary.enumerateLibraryPaths(): Using addPaths() ensures given 'path' ↵Sven Gothel2023-01-231-14/+51
| | | | | | is being resolved as absolute-canonical as required for System.load*() Further, detailed DEBUG messages are added on -Djogamp.debug.NativeLibrary
* NativeLibrary: Add getSystemEnvLibraryPaths(), i.e. LD_LIBRARY_PATH, PATH, ↵Sven Gothel2023-01-231-0/+35
| | | | .. content
* Windows java-win64.bat launch script: Set LIB_DIR to absolute path as ↵Sven Gothel2023-01-233-7/+6
| | | | required by System.load*()
* Remove Windows dll-rename, adopting to cpptasks.jar changeSven Gothel2023-01-233-19/+5
|
* Bump cpptasks.jar, commit 19c854265956942497dc89444a9ee84f18383671 (Support ↵Sven Gothel2023-01-232-0/+1
| | | | | | | | | | | | | | | native windows dll-names) Add support for Windows dynamic library target, i.e. NAME.dll instead of libNAME.dll. This is now required when linking a GLUENAME1.dll to TOOLNAME1.dll, where GLUENAME1.dll is loaded via System.loadLibrary() and TOOLNAME1.dll required to be found. Might be a change in the current ming64 toolchain. Before this change, the library name 'libTOOLNAME1.so' was written into `libGLUENAME1.so` and hence could not be found (manually renamed to a dll name). Now we can also drop the manual rename of libNAME1.so -> NAME1.dll, finally :)
* Formatting: BindingJNILibLoader, AWTEDTExecutorSven Gothel2023-01-232-29/+29
|
* jogamp-androidtasks: Update key and sign parameter: sigalg 'SHA256withRSA', ↵Sven Gothel2023-01-201-6/+9
| | | | keyalg 'RSA', keysize '2048', validity '365', digestalg 'SHA256'
* jogamp-androidtasks: Drop fixed 'android.api.level.min', 'use ↵Sven Gothel2023-01-202-4/+3
| | | | android.api.level' (default: level 24 or 'N')
* check-java-major-version: Add proper alt versionSven Gothel2023-01-201-1/+1
|
* android aapt: add includeAntRuntime="false" (warning off)Sven Gothel2023-01-201-0/+1
|
* HowToBuild: Update Debian >= 11Sven Gothel2023-01-171-11/+2
|
* HowToBuild: Remove Windows 32bit; Update Window 64bit toolchain, fix MacOS ↵Sven Gothel2023-01-171-28/+10
| | | | cmake version
* Update Windows build/test scripts, remove 32-bit windows scriptsSven Gothel2023-01-176-98/+4
|
* Build: jogamp-env: Set minJava{8,9,11,17,21}, allowing detailed JVM ↵Sven Gothel2023-01-171-32/+56
| | | | attributes and reuse it.
* HowToBuild: adoptopenjdk -> adoptium, openjdk-11 -> openjdk-17Sven Gothel2023-01-151-10/+10
|
* Build scripts: MacOS + Windows: Use JDK-17 to build our Java-1.8 APISven Gothel2023-01-156-7/+8
|
* src/junit/com/jogamp/gluegen/test/junit/generation/test1.h: Fix warnings re ↵Sven Gothel2023-01-151-3/+3
| | | | 'const' qualifier
* TestRecursiveLock01, TestRecursiveThreadGroupLock01: 'yield()' -> ↵Sven Gothel2023-01-152-6/+6
| | | | 'yield_thread()' to avoid potential Java>17 collision (JEP 361)
* TestIteratorIndexCORE: Fix template usageSven Gothel2023-01-151-11/+11
|
* SecurityUtil: Skip System's SecurityManager action for getSecurityManager() ↵Sven Gothel2023-01-151-7/+31
| | | | and doPrivileged() for Java17+
* Default build is JDK-17, prepare up to Java-21 (next LTS); ↵Sven Gothel2023-01-156-35/+91
| | | | | | | | PlatformPropsImpl: Remove static OSXVersion and Version* vars, add JAVA_17 and JAVA_21 flag. PlatformPropsImpl's static OSXVersion is JOGL specific and will be moved into its GLContextImpl. PlatformPropsImpl's static Version are not required and eats up memory where it can be used transitionary.
* build.xml: Always set source w/ target version, avoid build WARNINGSven Gothel2023-01-151-0/+1
|
* Replace AccessController.doPrivileged() w/ SecurityUtil.doPrivileged()Sven Gothel2023-01-1414-38/+58
|
* Eclipse: Update settingsSven Gothel2023-01-141-1/+5
|
* Eclipse: Add jdt settingsSven Gothel2023-01-142-0/+17
|
* MacOS: Add description to produce fat OpenJDK libraries for x86_64 and aarch64Sven Gothel2023-01-142-1/+33
|
* Eclipse: Use JDK 1.8.0 JRE container to avoid Java 11 modulesSven Gothel2023-01-141-1/+1
|
* Fix unit test1.hSven Gothel2023-01-141-2/+2
|
* MacOS: Add fat universal build w/ x86_64 + aarch64; Bump min SDK version >= 11.0Sven Gothel2023-01-144-7/+25
|
* fix windows build scriptsSven Gothel2020-01-042-3/+3
|
* native.tag.jar: Revert explicit inclusion of *.symbols file -> implicit ↵Sven Gothel2020-01-042-4/+19
| | | | | | | inclusion/exclusion based on build.dynamiclibs Exclude *.symbols files implicitly when building 'build.dynamiclibs' and include *.symbols files implicitly when not building 'build.dynamiclibs' (static libs)
* native.tag.jar: include *.symbolsSven Gothel2020-01-022-1/+2
|
* javadoc: enable framesSven Gothel2020-01-021-0/+1
|
* javadoc stylesheet: Apply JogAmp Style ..Sven Gothel2020-01-021-19/+26
|
* OpenJDK 11 javadoc stylesheet and resourcesSven Gothel2020-01-023-182/+603
|
* Handle special junit treatment via make/lib/gluegen-cpptasks* (i.e. iOS)Sven Gothel2020-01-023-2/+8
| | | | Otherwise the build won't produce dummy junit test results for jenkins etc.
* all build scripts: make.gluegen.all-host-macos.sh make.gluegen.all-host-linux.shSven Gothel2020-01-022-0/+16
|
* iOS scripts: Use GLUEGEN_CPPTASKS_FILE instead of -DisIOS*=trueSven Gothel2020-01-022-2/+4
|
* Bump iOS 12.2 -> 13.2Sven Gothel2020-01-022-2/+2
|
* jogamp-fat.jar Main-Class VersionApplet -> GLWindowSven Gothel2020-01-011-1/+1
| | | | | | As we can no more rely on having AWT headful system, use JOGL/NEWT GLWindow to simply dump the version. Hence 'java -jar jogamp-fat.jar' behaves similar to 'etc/test.sh'.