aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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-313-0/+10
|
* Refactored JavaType to use enums.Michael Bien2010-05-301-34/+30
|
* Merge branch 'master' of github.com:sgothel/gluegenMichael Bien2010-05-283-28/+25
|\
| * Fix: Prepare CMethodBindingEmitter for struct methods as wellSven Gothel2010-05-252-26/+23
| |
| * Fix JNLPs .. vendor and urlSven Gothel2010-05-191-2/+2
| |
* | GlueGen frontpage cleanup.Michael Bien2010-05-192-57/+45
| |
* | XHTML cleanup and JogAmplification for gluegen manualMichael Bien2010-05-191-2267/+2275
|/
* GlueGen/JOGL Windows x86 x86_64 MingW BuildsSven Gothel2010-05-161-3/+4
| | | | | | | | | mingw linker option: --enable-stdcall-fixup mingw x86: link against JVM lib file, due to unresolved symbol: JAWT.dll x32: _JAWT_GetAWT@8 (stdcall) JAWT.dll x64: JAWT_GetAWT (clean) Looks like the stdcall fixup doesn't work ..
* GlueGen/JOGL Windows x86 x86_64 MingW BuildsSven Gothel2010-05-161-0/+4
| | | | | | | | | | | | | | | - mingw linker option: --enable-auto-import - mingw now links against DLLs not libs, due to a runtime error while linking against JAWT 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 all junit.run tests
* GlueGen/JOGL Windows x86 x86_64 BuildsSven Gothel2010-05-167-21/+106
| | | | | | | | | | 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
* Fix docSven Gothel2010-05-142-2/+2
|
* fix linkSven Gothel2010-05-142-2/+2
|
* Fix docuSven Gothel2010-05-142-17/+77
|
* win32.c.compiler defaults to mingwSven Gothel2010-05-142-3/+5
|
* Fix html ref ; Fix property error messageSven Gothel2010-05-142-8/+3
|
* Put junit.jar 4.8.2, antlr.jar 2.7.7 into make/lib, and use it as the ↵Sven Gothel2010-05-1213-52/+23
| | | | default, if not specified otherwise in /home/sven/gluegen.properties
* Move HashMapTest to junit.run; Unify classes to only 'Test' in their name if ↵Sven Gothel2010-05-1010-115/+117
| | | | they are a junit test.
* Add javadoc.zipSven Gothel2010-05-091-0/+3
|
* www: add proper redirection to folder wwwSven Gothel2010-05-081-0/+7
|
* Cleanup: Move scripts into their folderSven Gothel2010-05-057-0/+0
|
* ReflectionUtil: Added callStaticMethod(..)Sven Gothel2010-05-051-8/+48
|
* - JAR Manifest: Trusted-Library: trueSven Gothel2010-04-284-20/+24
| | | | | | | - Added JAR Manifest to native libs as well, otherwise our chain would become mixed code. - JNLP: Added update check = background
* 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.
* switched to nanoTime() and moved asserts to end of the benchmark.Michael Bien2010-04-272-37/+35
|
* 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
* Merge branch 'master' of github.com:mbien/gluegenSven Gothel2010-04-261-2/+15
|\
| * added javadoc target to gluegen buildscript.Michael Bien2010-04-261-2/+15
| |
* | 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
|
* Merge branch 'master' of github.com:mbien/gluegenSven Gothel2010-04-223-21/+186
|\
| * IntIntHashMap (and friends) is now Iterable. Added iterator testcase.Michael Bien2010-04-213-9/+151
| |
| * added getKeyNotFoundValue() and some javadoc to IntIntHashMap.Michael Bien2010-04-211-13/+36
| |
* | Cleanup uptodate ruleSven Gothel2010-04-222-6/+12
|/
* 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-192-7/+24
|
* 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