summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* LICENSE.txt changes:Sven Gothel2010-09-1421-455/+533
| | | | | | | | | | | | | - Added JogAmp Community and common denominator: New BSD 3-clause license - Added note to make/lib binary file (source and license) Added source and license text for external binaries used in build process (make/lib folder). Changed 'Sven Gothel' and 'Michael Bien' New BSD 3-clause license to 'JogAmp Community' Simplified BSD 2-clause license.
* Split up method call for reusageSven Gothel2010-07-231-11/+36
|
* Merge branch 'freebsd-fixes' of http://github.com/rothwell/gluegenMichael Bien2010-07-181-0/+1
|\
| * Merge branch 'master' of git://github.com/mbien/gluegen into freebsd-fixesMark Rothwell2010-06-267-207/+233
| |\
| * | Add FreeBSD amd64 struct layoutMark Rothwell2010-06-261-0/+1
| | |
* | | Final fix for Java SE Platform query, as negotiated with Michael :)Sven Gothel2010-07-081-18/+7
| | |
* | | Merge branch 'master' of github.com:mbien/gluegenSven Gothel2010-07-071-10/+48
|\ \ \
| * | | added slice utility methods to Buffers + rudimentary test.Michael Bien2010-07-041-10/+48
| | |/ | |/|
* | | Fix: Add missing imports; Add warmup phase to primitive hashmap testSven Gothel2010-07-023-6/+22
| | |
* | | Moving ClassLoader parameter to the end, which seems to be easier to read.Sven Gothel2010-06-281-7/+7
| | |
* | | Fix regression of missing JavaSE check in case of security manager; TypoSven Gothel2010-06-261-6/+24
|/ /
* | another round of ProcAddressTable refactoring.Michael Bien2010-06-202-88/+165
| | | | | | | | | | | | | | - moved getAddressFor() from generated table to ProcAddressTable - added initEntry() to e.g. eagerly initialize one single entry (e.g. clGetExtensionFunctionAddress which must be available first) - several utility methods mostly usefull for debugging - cleanup
* | added 'intptr_t' to the list of PointerBuffer candidates.Michael Bien2010-06-181-2/+2
| | | | | | | | TODO consider making this configurable.
* | pass a ClassLoader to all methods which load classes. (ReflectionUtil)Michael Bien2010-06-171-18/+18
| |
* | Merge branch 'master' of github.com:sgothel/gluegenMichael Bien2010-06-161-0/+90
|\|
| * Adding RunnableTask, generic notifyable Runnable wrapperSven Gothel2010-06-161-0/+90
| |
* | currently no need for a (public) MiscUtils.java.Michael Bien2010-06-102-65/+6
| |
* | refactored Platform. Simplified initializer.Michael Bien2010-06-101-34/+42
|/
* Adding DynamicLibraryBundle utility to bundle Tool and JNI native library ↵Sven Gothel2010-06-107-41/+522
| | | | | | | | | | | | | | loading and lookup Add JNILibLoaderBase.loadLibrary(String libname, boolean ignoreError); DynamicLibraryBundle provides Tool and JNI native library loading and lookup New classes: com.jogamp.common.os.DynamicLibraryBundle com.jogamp.common.os.DynamicLibraryBundleInfo com.jogamp.common.util.MiscUtils.java Change: DEBUG/VERBOSE properties 'gluegen' -> 'jogamp'
* Minor additions to nio/Buffers, util/IntIntHashMap and os/NativeLibrarySven Gothel2010-06-057-0/+45
| | | | | | | | | | | | Buffers add 'float[] getFloatArray(double[])' conversion, ready to replace all JOGL InternalBufferUtil's. NativeLibrary/DynamicLinker add global lookup method allowing Unices and OSX to lookup a symbol globally. However, this is not recommended, due to the lookup costs. Windows is not supported here. Primitive type HashMap's (IntIntHashMap): Added putAll()
* fixed handling of size_t which was broken since the introduction of Int64Buffer.Michael Bien2010-05-311-0/+4
|
* Refactored JavaType to use enums.Michael Bien2010-05-301-34/+30
|
* Fix: Prepare CMethodBindingEmitter for struct methods as wellSven Gothel2010-05-252-26/+23
|
* GlueGen/JOGL Windows x86 x86_64 BuildsSven Gothel2010-05-161-2/+2
| | | | | | | | | | x86: Using mingw 20100514, gcc 4.5.0 - clean - passed all junit.run tests x86_64: Using mingw-w64-bin_x86_64-mingw_20100515_sezero.zip, gcc 4.4.5 20100513 - clean - passed most junit.run tests, still buggy
* Move HashMapTest to junit.run; Unify classes to only 'Test' in their name if ↵Sven Gothel2010-05-109-88/+422
| | | | they are a junit test.
* ReflectionUtil: Added callStaticMethod(..)Sven Gothel2010-05-051-8/+48
|
* Fix privileged access (applet)Sven Gothel2010-04-281-9/+16
|
* Fix broken buildSven Gothel2010-04-281-1/+1
|
* small optimizations in fast pimitive HashMaps (Arrays.fill(), local variables).Michael Bien2010-04-271-19/+44
| | | | also improved javadoc and fixed exception messages.
* Fix GLProcAddressResolver regression: Loop through all names until found or ↵Sven Gothel2010-04-271-8/+8
| | | | n/a. Return 0 if not found, no Exception
* Using Buffers.isDirect(), due to Java <= 1.5 limitationsSven Gothel2010-04-261-1/+1
|
* renamed method.Michael Bien2010-04-244-20/+5
|
* Refactored ProcAddressTable generation.Michael Bien2010-04-248-248/+246
| | | | | - ProcAddressTable is now the common superclass for all tables - Removed ProcAddressHelpers and added FunctionAddressResolver extension mechanism
* Use JNILibLoader in the junit testSven Gothel2010-04-243-3/+61
|
* IntIntHashMap (and friends) is now Iterable. Added iterator testcase.Michael Bien2010-04-211-5/+90
|
* added getKeyNotFoundValue() and some javadoc to IntIntHashMap.Michael Bien2010-04-211-13/+36
|
* Fix Exception Handling ..Sven Gothel2010-04-202-29/+50
|
* Importing files from JOGL (preserving history)Sven Gothel2010-04-196-35/+222
| | | | | | | | | git mv src/nativewindow/native/JVM_Tool.c src/native/common/JVM_Tool.c git mv src/nativewindow/classes/com/jogamp/nativewindow/impl/NativeLibLoaderBase.java src/java/com/jogamp/common/jvm/JNILibLoaderBase.java git mv src/nativewindow/classes/com/jogamp/nativewindow/impl/jvm/JVMUtil.java src/java/com/jogamp/common/jvm/JVMUtil.java git mv src/nativewindow/classes/com/jogamp/nativewindow/impl/NWReflection.java src/java/com/jogamp/common/util/ReflectionUtil.java Adding own JogampRuntimeException and Debug class
* Added keyNotFoundValue semantics, for primitve types it defaults to -1 now.Sven Gothel2010-04-191-3/+17
|
* remove duplicated file while importingSven Gothel2010-04-191-149/+0
|
* Moving imported files to proper placeSven Gothel2010-04-194-0/+0
|
* code review (http://jogamp.org/bugzilla/show_bug.cgi?id=396): improved ↵Michael Bien2010-04-191-12/+20
| | | | exception handling in NWReflection and NativeLibLoaderBase. goal was to prevent catch(Throwable) and to fix or document empty catch blocks where it makes sense.
* final large refactoring to move to com.jogamp.*.Michael Bien2010-04-191-1/+1
|
* Push custom loadLibrary handling down to NativeWindow NativeLibLoaderBase; ↵Sven Gothel2010-04-191-2/+66
| | | | | | X11AWTGLXGraphicsConfigurationFactory: Encapsule whole block in lock/unlock to minimize context switch git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@2021 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fix: JAWTUtil has to JAWTNativeLibLoader.loadAWTImpl() as well. Use ↵Sven Gothel2010-04-191-0/+6
| | | | | | NWReflection.isClassAvailable() if possible. NWReflection.getClass() takes boolean init. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1956 232f8b59-042b-4e1e-8c03-345bb8c30851
* Tested: - Linux / X11 / GL3 / GL2 / ES1 / ES2 - Using etc/profile.jogl ↵Sven Gothel2010-04-191-11/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | JOGL_ALL . ./setenv-jogl.x86.sh JOGL_ALL - Java2D/GLJPanel: demos.jrefract.JRefract - GLCanvas: demos.gears.Gears - Newt/Nativewindow (demos.GLInfo, demos.es2.RedSquare, demos.es2.RedSquare) - with multiple instances of different GL profiles, ie java demos.es1.RedSquare -GLES2 -GLES1 java demos.GLInfo -GLES2 -GL2 - GL 3.1 test with demos.GLInfo java demos.GLInfo -GL3 java demos.GLInfo -GL3 -GL2 with NVIDIA 180.37.05 JOGL Enable parallel GLProfiles: - GL holds it's GLProfile - GL / GLBase added: hasGLSL() getGLProfile() - Removed all hardcoded GLProfile checks - Make GLProfile an instance of GLCapabilities - GLCapabilities needs GLProfile in constructor, or null for the default GLProfile - All GLProfiles are singelton mapped objects, setup and verified at static init. - All GLDrawableFactories in GLDrawableFactory are singelton objects, setup at static init. - GLDrawableFactories.getFactory() needs an argument, which leads to GLProfile, ie NativeWindow, AbstractGraphicsConfiguration, GLCapabilities or GLProfile. - EGLDrawableFactory takes GLProfile as an argument, being able to take the singleton role as ES1 or ES2 - EGLDrawableFactory loads ES & EGL libraries _local_, otherwise the symbols produce a collision (Unix/PC-Emulation). TODO: Check on Windows/WinCE ! - Fixing etc/profile.jogl JOGL_ALL EGLGraphicsConfigurationFactory - Added eglGetConfigs -> GLCapabilities -> eglChooseConfig, in case the simple eglChooseConfig fails. - Using given chooser, is null, use DefaultGLCapabilitiesChooser Moved FixedFuncUtil.class -> jogl.util.jar, otherwise the FixedFuncUtil pipeline cannot be used without emulation. GLDrawable Rename getChosenGLCapabilities() -> getGLCapabilities(), since all GLCapabilities access functions return the current state. Add getGLProfile() NativeLibLoader[Base] Added 'addLoaded' and 'isLoaded', so all LoadAction implementation can use it and circumvent double library loading. GlueGen Split openLibrary -> openLibraryLocal / Global, utilizing as an optional flag (global), which is true per default. TODO: How to do this on Windows ? TODO: Verify Windows and MacOSX !! git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1922 232f8b59-042b-4e1e-8c03-345bb8c30851
* JOGL Added OpenGL 3.0 and 3.1 support 3.0 as part of GL2 (extensions only) ↵Sven Gothel2010-04-191-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3.1 forward compatible as GL3, ie doesn't contain the GL2 fixed function stuff etc Added code to retrieve a 3.0/3.1 context: X11/GLX and Windows/WGL TODO: MacOSX !! Updated GL and GLX extensions Fixing auto GLProfile selection, determine if GL2ES[1] uses GL2 or ES Usage of the unified GraphicsConfiguration of NativeWindow for all platforms. Sure, the broken OS (Win32/MacOSX) have a update mechanism for theit queried Capabilities after drawable creation. Adding X11/GLX GLXFBConfig usage and fixing it's attribute mapping Fixing GLX/X11 FBConfig/XVisual query function's memory leak, using a manual implementation, which copies the data and calls XFree. Added WGL extension WGL_ARB_create_context Tested: Linux x86 and x86_64 GL2, ES2 and ES1 Note: Nvidia driver couldn't make the succesfully created 3.1 context current. TODO: Verify Windows and MacOSX !! git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1919 232f8b59-042b-4e1e-8c03-345bb8c30851
* Continue moving javax.media.nwi -> javax.media.nativewindowKenneth Russel2010-04-191-3/+3
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1881 232f8b59-042b-4e1e-8c03-345bb8c30851
* Continue moving javax.media.nwi -> javax.media.nativewindowKenneth Russel2010-04-191-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1880 232f8b59-042b-4e1e-8c03-345bb8c30851
* Start moving javax.media.nwi -> javax.media.nativewindowKenneth Russel2010-04-191-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1879 232f8b59-042b-4e1e-8c03-345bb8c30851