aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* JOCL File Layout: Have *-java-src.zip inside jar folderSven Gothel2023-05-071-4/+2
|
* Remove Windows dll-rename, adopting to cpptasks.jar changev2.4.0Sven Gothel2023-01-231-9/+0
|
* scripts: use gluegen's renamed setenv-build-jogl-* -> setenv-build-jogamp-*Sven Gothel2020-01-0415-30/+30
|
* fix windows build scriptsSven Gothel2020-01-042-3/+3
|
* native.tag.jar: Revert explicit inclusion of *.symbols fileSven Gothel2020-01-041-1/+1
| | | | reverting commit a4293575bb9fadf71c8e8c59d7384f69c6718b2f
* native.tag.jar: include *.symbolsSven Gothel2020-01-021-5/+9
|
* javadoc: fixSven Gothel2020-01-021-3/+9
|
* Depend on jogl-all-noawt.jar instead of jogl-all.jar, allowing mobile device ↵Sven Gothel2020-01-022-7/+7
| | | | w/o AWT (iOS)
* all build scripts: make.jocl.all-host-macos.sh make.jocl.all-host-linux.sh ; ↵Sven Gothel2020-01-024-0/+80
| | | | Add iOS build scripts
* update make-all scriptSven Gothel2020-01-011-5/+16
|
* Native CC: Set usehighleveltool=true (e.g. ld via clang) writesoname=true ↵Sven Gothel2019-12-261-0/+2
| | | | (required by android)
* Bug 1417 - Android: Manifest*-android* can no more have 'Name: <folder>' ↵Sven Gothel2019-12-262-2/+32
| | | | | | | | | directives for apk The 'Name <folder>' leads new apk to claim the missing resources (the folder actually) and fails to install the apk. Hence removed tagging the folders sealed.
* Bug 1417: Android: Adapt to GlueGen's 'aapt.signed' d8 usage and use ↵Sven Gothel2019-12-2625-246/+183
| | | | | | | manifest SDK API [min=21, target=28] Also fix all make/scripts using Java11 as 'host compiler' and Java8 as target-rt-jar, as well as adapt to GlueGen's new Android 'setenv-android-tools.sh' for new SDK/NDK as of 2019-12-10.
* Bug 1363: Java 11: Use new Android SDK 24 for Eclipse Android .classpathjava11Sven Gothel2019-09-041-1/+1
|
* Update CSS; Add responsive viewport design tagSven Gothel2019-05-061-0/+2
|
* Update CSS; Add responsive viewport design tagSven Gothel2019-05-061-0/+2
|
* Bug 1190: Adapt cross build scriptsSven Gothel2019-04-086-60/+11
|
* Bug 1367: Adapt to TempFileCache & TempJarCache ChangesSven Gothel2019-04-031-1/+1
|
* Bug 1316: MacOSX: Keep *.dylib (Don't move to *.jnilib)Sven Gothel2019-03-301-9/+0
| | | | | | | | Since Java8 (or even earlier), JRE on OSX uses *.dylib native library suffix instead of *.jnilib when automatically searching and loading them. This is not easily being recognized by JogAmp, since we explicitly name the native libraries with full path when testing with our TempJarCache.
* Merge pull request #1 from ghost/masterSven Gothel2019-03-262-1/+108
|\ | | | | adding support for Android x86 platforms
| * added workaround to list devices in case platform only supports ↵Xavier Hallade2015-01-091-1/+6
| | | | | | | | | | | | CL_DEVICE_TYPE_GPU (and not CL_DEVICE_TYPE_ALL). That's the case with PowerVR OpenCL driver on Android devices.
| * added support for Android x86 platformsXavier Hallade2015-01-081-0/+102
| |
* | Bug 1295: Add linux-aarch64 GNU/Linux AArch64 supportXerxes Rånby2016-12-121-0/+39
| | | | | | | | | | scripts/make.jocl.all.linux-aarch64-cross.sh: New crosscompile script
* | Bump scripts to jre1.8.0_66rcSven Gothel2015-11-164-8/+8
| |
* | Bug 1268: Adapt to GlueGen commit 2034bbfac88b7d1360f9c939e173ff758f7f47acSven Gothel2015-11-151-0/+10
| |
* | Fix OS X 32-bit builds for OpenCL 1.2 and 2.0Wade Walker2015-11-082-4/+4
| | | | | | | | | | | | Copies changes from Sven's commit f7c50fca34df0b5d393ffab0da09bce19ddfba64 into the two new config files for OpenCL 1.2 and 2.0, so the fix will be present in all three versions.
* | Fix compilation of OpenCL 2.x headers on OS XWade Walker2015-11-088-8/+16
| | | | | | | | | | | | | | The include files were getting the OS X framework files from OpenCL/*.h, instead of the local stub files from CL/*.h, which meant that OpenCL 2.x-related things were undefined. Changed OpenCL 2.x stub files to refer to local .h files only. Maybe later change 1.x also, but leaving it for now to minimize disruption to working code.
* | Fix command queue test for IntelWade Walker2015-11-081-1/+6
| | | | | | User events start as CL_SUBMITTED instead of CL_QUEUE on Intel.
* | Fix CLProgramTest for Intel OpenCLWade Walker2015-11-082-7/+24
| | | | | | | | | | | | Added a couple of differences in test results for programs recreated from binaries (the programs are executable and have binary length > 0), and avoided the CL kernel creation test on a binary because it segfaults like it does on AMD drivers.
* | Fix CLProgram build lock to work on Intel OpenCL implementationWade Walker2015-11-081-16/+21
| | | | | | | | | | The Intel OpenCL implementation calls the clBuildProgram notify function on a different thread, so had to change a reentrant lock to a semaphore to allow this.
* | Fix generated files dependency check; remove unused include pathsWade Walker2015-11-081-27/+16
| | | | | | | | | | | | Fixed the dependency check for generated files; previously we were looking at the wrong path, and always regenerating all files. Also removed some include paths that don't contain any files, and renamed some filesets so it's more clear what they contain.
* | Remove unused stuff from build.xmlWade Walker2015-11-081-49/+15
| | | | | | | | | | | | | | | | Removed header file downloader task which was no longer used (and not really possible to use, given the amount of manual tweaking needed to get gluegen to run on a new set of header files). Removed some commented-out lines that were obsolete. Fixed some formatting. Removed some ARMv6-related stuff that made no sense for JOCL (was inherited from JOAL). Added some forgotten dependency paths.
* | Replace erroneous tabs with spaces.Wade Walker2015-11-081-23/+23
| |
* | Add versioned interfaces for CL 1.1, 1.2, and 2.0Wade Walker2015-11-084-12/+23
| | | | | | Now all three derive from CL, which is currently 1.1.
* | Remove CLGL interfaceWade Walker2015-11-0815-84/+35
| | | | | | | | | | This removes the last sub-interface that would have to be separately versioned for future versions of OpenCL. After this, new OpenCL versions will only create one new interface and one new implementation.
* | Remove creation and all references to CL*Binding interfacesWade Walker2015-11-0825-425/+104
| | | | | | | | This completes the removal of all CL*Binding interfaces; all tests pass at this point.
* | Remove use of CL*Binding interfacesWade Walker2015-11-0815-177/+122
| | | | | | In preparation for removing the interfaces themselves
* | Add ability to access newer CLImpl versions for devicesWade Walker2015-11-084-3/+39
| | | | | | | | | | | | Added a CLPlatform method to return a CLImpl version specific to a device. This lets the user get a CLImpl12 or CLImpl20 instance which they could then cast to the right type and use to access newer CL functions than those in the default CLImpl11 object.
* | Factor out common custom C and Java code to reduce duplicationWade Walker2015-11-0815-881/+221
| | | | | | | | | | | | | | | | | | Consolidated C custom code so common functions are only defined once in the 1.1 version, then are called from the 1.2 and 2.0 version. Pulled common code in CLImpl up into the autogenerated implementation class and removed the hand-written implementation (since it was left empty). Factored custom Java code out so there was as little duplication as possible across the three CLImpl versions, with common code for all three versions in clImplCustomCode.java.
* | Add explicit version number to original CL impl classes.Wade Walker2015-11-089-36/+35
| | | | | | | | | | This makes all three versions (1.1, 1.2, and 2.0) use the same naming convention, and sets me up to use the unversioned name to factor out code common to all three.
* | Add OpenCL 1.2 and 2.0 headers and CLImpl classesWade Walker2015-11-0823-58/+7780
| | | | | | | | | | | | | | Added stub includes for OpenCL 1.2 and 2.0. Added new CLImpl versions for 1.2 and 2.0 to the build, but left them unused for now. The CL bindings used by JOCL are still generated from OpenCL 1.1, so the existing Java code will be able to stay mostly unchanged in the future.
* | Remove copy of generated Java files to build-temp directoryWade Walker2015-11-082-23/+12
| | | | | | | | This build step doesn't seem to be needed; can just read the files where they're created in the build directory and everything works the same.
* | Upgrade OpenCL headers to standard Khronos version 1.1Wade Walker2015-11-088-93/+176
| | | | | | | | | | They were previously a pre-release version of 1.1 that had some manual changes and upgrades. This moves to the canonical versions downloaded from khronos.org.
* | Remove unused file cl_render_ext.hWade Walker2015-11-082-66/+1
| | | | | | | | | | This originally held definitions that hadn't been finalized before the release of OpenGL 1.1, but later those were put in the normal set of header files, making this file redundant.
* | Make gluegen output messages more informativeWade Walker2015-11-081-14/+14
| |
* | JOCL QueueThread extends InterruptSource.Threadv2.3.2Sven Gothel2015-10-031-1/+2
| |
* | Include Khronos derived glcorearb.h before cl_gl.h, avoiding typedef ↵Sven Gothel2015-07-143-13/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mismatch w/ APPLE's GL LLVM's clang reports a typedef mismatch of GLintptr and GLsizeiptr between the Khronos derived glcorearb.h (from JOGL) and APPLE's gltypes.h when producing 32bit builds. +++ In file included from /usr/local/projects/jogamp/jocl/build-macosx-java6/gensrc/native/jocl/CLAbstractImpl_JNI.c:15: /usr/local/projects/jogamp/jogl/make/stub_includes/opengl/GL/glcorearb.h:604:19: error: typedef redefinition with different types ('ptrdiff_t' (aka 'int') vs 'intptr_t' (aka 'long')) typedef ptrdiff_t GLintptr; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gltypes.h:51:18: note: previous definition is here typedef intptr_t GLintptr; +++ I.e. Khronos uses ptrdiff_t (aka 'int' on 32bit), where APPLE uses intptr_t (aka 'long' on 32bit). On OSX 32bit both ('int' and 'long') have the same sizeof value, i.e. 4 bytes, see below, hence the ABI is compatible! However, clang produces a typedef mismatch. Fix includes the Khronos derived (JOGL) glcorearb.h before cl_gl.h, hence favors the former 'canonical' definition. +++ OSX 10.10 32bit: sizeof int: 4 sizeof long: 4 sizeof long long: 8 sizeof intptr_t: 4 sizeof uintptr_t: 4 sizeof ptrdiff_t: 4 sizeof size_t: 4 sizeof float: 4 sizeof double: 8 sizeof long double: 16 OSX 10.10 64bit: sizeof int: 4 sizeof long: 8 sizeof long long: 8 sizeof intptr_t: 8 sizeof uintptr_t: 8 sizeof ptrdiff_t: 8 sizeof size_t: 8 sizeof float: 4 sizeof double: 8 sizeof long double: 16
* | Remove obsolete Netbeans build filesWade Walker2015-07-129-1866/+0
| | | | | | | | The new Jogamp standard Ant build has been working correctly for a while now, so we can delete the old Netbeans build files safely.
* | Remove stub includes that are duplicates of gluegen's and jogl'sWade Walker2015-07-1210-8032/+22
| | | | | | | | | | | | Removes jocl stub includes that are already defined in gluegen and jogl, and refers to those in gluegen and jogl instead. Requires the literalInclude parameter to the gluegen Ant task, since it must now refer to files outside the jocl project.
* | Add debug targets to match those in gluegen and joglWade Walker2015-07-063-3/+14
| |