Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix Clock for performance counter: Add currentTimeNanos() since module ↵ | Sven Gothel | 2023-03-06 | 3 | -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 controller | Sven Gothel | 2023-03-06 | 1 | -0/+44 |
| | |||||
* | Add Clock, implementing proper monotonic and wallclock time using Instant ↵ | Sven Gothel | 2023-03-06 | 4 | -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 Gothel | 2023-03-06 | 1 | -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 tag | Sven Gothel | 2023-02-01 | 1 | -3/+3 |
| | |||||
* | GlueGen: Mark 2.4.0 as released.v2.4.0 | Sven Gothel | 2023-02-01 | 1 | -2/+2 |
| | |||||
* | MappedByteBufferInputStream: Reduce dependency to Platform | Sven Gothel | 2023-01-23 | 1 | -5/+5 |
| | |||||
* | NativeLibrary.enumerateLibraryPaths(): Reduce relative/absolute path mapping ↵ | Sven Gothel | 2023-01-23 | 1 | -9/+12 |
| | | | | to 'java.library.path', others are absolute | ||||
* | JNILibLoaderBase.loadLibraryInternal(): Produce own detailed exception if ↵ | Sven Gothel | 2023-01-23 | 1 | -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 Gothel | 2023-01-23 | 1 | -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 Gothel | 2023-01-23 | 1 | -0/+35 |
| | | | | .. content | ||||
* | Windows java-win64.bat launch script: Set LIB_DIR to absolute path as ↵ | Sven Gothel | 2023-01-23 | 3 | -7/+6 |
| | | | | required by System.load*() | ||||
* | Remove Windows dll-rename, adopting to cpptasks.jar change | Sven Gothel | 2023-01-23 | 3 | -19/+5 |
| | |||||
* | Bump cpptasks.jar, commit 19c854265956942497dc89444a9ee84f18383671 (Support ↵ | Sven Gothel | 2023-01-23 | 2 | -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, AWTEDTExecutor | Sven Gothel | 2023-01-23 | 2 | -29/+29 |
| | |||||
* | jogamp-androidtasks: Update key and sign parameter: sigalg 'SHA256withRSA', ↵ | Sven Gothel | 2023-01-20 | 1 | -6/+9 |
| | | | | keyalg 'RSA', keysize '2048', validity '365', digestalg 'SHA256' | ||||
* | jogamp-androidtasks: Drop fixed 'android.api.level.min', 'use ↵ | Sven Gothel | 2023-01-20 | 2 | -4/+3 |
| | | | | android.api.level' (default: level 24 or 'N') | ||||
* | check-java-major-version: Add proper alt version | Sven Gothel | 2023-01-20 | 1 | -1/+1 |
| | |||||
* | android aapt: add includeAntRuntime="false" (warning off) | Sven Gothel | 2023-01-20 | 1 | -0/+1 |
| | |||||
* | HowToBuild: Update Debian >= 11 | Sven Gothel | 2023-01-17 | 1 | -11/+2 |
| | |||||
* | HowToBuild: Remove Windows 32bit; Update Window 64bit toolchain, fix MacOS ↵ | Sven Gothel | 2023-01-17 | 1 | -28/+10 |
| | | | | cmake version | ||||
* | Update Windows build/test scripts, remove 32-bit windows scripts | Sven Gothel | 2023-01-17 | 6 | -98/+4 |
| | |||||
* | Build: jogamp-env: Set minJava{8,9,11,17,21}, allowing detailed JVM ↵ | Sven Gothel | 2023-01-17 | 1 | -32/+56 |
| | | | | attributes and reuse it. | ||||
* | HowToBuild: adoptopenjdk -> adoptium, openjdk-11 -> openjdk-17 | Sven Gothel | 2023-01-15 | 1 | -10/+10 |
| | |||||
* | Build scripts: MacOS + Windows: Use JDK-17 to build our Java-1.8 API | Sven Gothel | 2023-01-15 | 6 | -7/+8 |
| | |||||
* | src/junit/com/jogamp/gluegen/test/junit/generation/test1.h: Fix warnings re ↵ | Sven Gothel | 2023-01-15 | 1 | -3/+3 |
| | | | | 'const' qualifier | ||||
* | TestRecursiveLock01, TestRecursiveThreadGroupLock01: 'yield()' -> ↵ | Sven Gothel | 2023-01-15 | 2 | -6/+6 |
| | | | | 'yield_thread()' to avoid potential Java>17 collision (JEP 361) | ||||
* | TestIteratorIndexCORE: Fix template usage | Sven Gothel | 2023-01-15 | 1 | -11/+11 |
| | |||||
* | SecurityUtil: Skip System's SecurityManager action for getSecurityManager() ↵ | Sven Gothel | 2023-01-15 | 1 | -7/+31 |
| | | | | and doPrivileged() for Java17+ | ||||
* | Default build is JDK-17, prepare up to Java-21 (next LTS); ↵ | Sven Gothel | 2023-01-15 | 6 | -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 WARNING | Sven Gothel | 2023-01-15 | 1 | -0/+1 |
| | |||||
* | Replace AccessController.doPrivileged() w/ SecurityUtil.doPrivileged() | Sven Gothel | 2023-01-14 | 14 | -38/+58 |
| | |||||
* | Eclipse: Update settings | Sven Gothel | 2023-01-14 | 1 | -1/+5 |
| | |||||
* | Eclipse: Add jdt settings | Sven Gothel | 2023-01-14 | 2 | -0/+17 |
| | |||||
* | MacOS: Add description to produce fat OpenJDK libraries for x86_64 and aarch64 | Sven Gothel | 2023-01-14 | 2 | -1/+33 |
| | |||||
* | Eclipse: Use JDK 1.8.0 JRE container to avoid Java 11 modules | Sven Gothel | 2023-01-14 | 1 | -1/+1 |
| | |||||
* | Fix unit test1.h | Sven Gothel | 2023-01-14 | 1 | -2/+2 |
| | |||||
* | MacOS: Add fat universal build w/ x86_64 + aarch64; Bump min SDK version >= 11.0 | Sven Gothel | 2023-01-14 | 4 | -7/+25 |
| | |||||
* | fix windows build scripts | Sven Gothel | 2020-01-04 | 2 | -3/+3 |
| | |||||
* | native.tag.jar: Revert explicit inclusion of *.symbols file -> implicit ↵ | Sven Gothel | 2020-01-04 | 2 | -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 *.symbols | Sven Gothel | 2020-01-02 | 2 | -1/+2 |
| | |||||
* | javadoc: enable frames | Sven Gothel | 2020-01-02 | 1 | -0/+1 |
| | |||||
* | javadoc stylesheet: Apply JogAmp Style .. | Sven Gothel | 2020-01-02 | 1 | -19/+26 |
| | |||||
* | OpenJDK 11 javadoc stylesheet and resources | Sven Gothel | 2020-01-02 | 3 | -182/+603 |
| | |||||
* | Handle special junit treatment via make/lib/gluegen-cpptasks* (i.e. iOS) | Sven Gothel | 2020-01-02 | 3 | -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.sh | Sven Gothel | 2020-01-02 | 2 | -0/+16 |
| | |||||
* | iOS scripts: Use GLUEGEN_CPPTASKS_FILE instead of -DisIOS*=true | Sven Gothel | 2020-01-02 | 2 | -2/+4 |
| | |||||
* | Bump iOS 12.2 -> 13.2 | Sven Gothel | 2020-01-02 | 2 | -2/+2 |
| | |||||
* | jogamp-fat.jar Main-Class VersionApplet -> GLWindow | Sven Gothel | 2020-01-01 | 1 | -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'. | ||||
* | make/lib/gluegen-cpptasks* set 'is64Bit' where appropriate (no impact, but ↵ | Sven Gothel | 2020-01-01 | 3 | -0/+3 |
| | | | | added for correctness) |