summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add native NEWT window parenting test. Fix some error messagesSven Gothel2010-04-304-7/+204
|
* Xorg libs/headers are in std FS location /usrSven Gothel2010-04-303-14/+14
|
* cleanup scripts ; updated win32 and win64 scripts with my environmentSven Gothel2010-04-2918-8/+110
|
* - JAR Manifest: Trusted-Library: trueSven Gothel2010-04-2816-81/+91
| | | | | | | | | | | - Added JAR Manifest to native libs as well, otherwise our chain would become mixed code. - JNLP: Set JogAmp community as vendor .. - JOGL Windows hack: WindowsWGLContext.java - temporary removed the ARB CreateContext path for Windows, due to a bug in this implementation.
* GLProfile static init within privileged blockSven Gothel2010-04-281-7/+16
|
* Fix privileged access (applet)Sven Gothel2010-04-282-1/+43
|
* Integrate deployment scripts. jar: copy-repack200-sign-pack200. jnlp: ↵Sven Gothel2010-04-288-29/+134
| | | | copy-filter
* JOGLSven Gothel2010-04-287-9/+19
| | | | | | | | | | | - Passed tests MacOSX, LinuxX64 ATI/NVidia/MesaSW, Win32(VBox - !offscreen) - timeout -> 30s - Surface validation after lock on GLContextImpl .. NEWT - declare <NSWindowDelegate> only for MacOSX >= 10.6
* Oops .. broke the tests, adding 'else' value ; fix assertion in testSven Gothel2010-04-282-3/+3
|
* Add custom.libdir property to sneak in eg a alt. GL libSven Gothel2010-04-285-3/+84
|
* JOGL Error HandlingSven Gothel2010-04-278-48/+64
| | | | | | | | | | | - Catch invalid drawable for all impl. at GLContextImpl if !created yet - GLDrawableFactoryImpl (X11/WGL) catch and fwd Throwable properly - GLProfile catch LinkageError and handle it In case of nothing is available, a final ExceptionInInitializer will be thrown, with the produced GLException that no GLProfile is available.
* Relax Junit: TestOffscreen01NEWT, ie no failure if no PBuffer availableSven Gothel2010-04-272-7/+43
|
* Merge branch 'master' of github.com:mbien/joglSven Gothel2010-04-273-5/+30
|\
| * Merge branch 'master' of github.com:mbien/joglMichael Bien2010-04-253-1/+3
| |\
| * | updated jackpot scripts, jogl distributions are now downloaded automatically.Michael Bien2010-04-253-5/+30
| | | | | | | | | | | | added patching step.
* | | test cleanupSven Gothel2010-04-271-2/+12
| | |
* | | - Fix GLProcAddressResolver regression: Use GLProcAddressResolver !Sven Gothel2010-04-2731-390/+390
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - X11GLXDrawableFactory: - Move shared resource creation/destruction into it's own thread - Remove the ATI hack (no XDisplay closing) for every Display, this is only necessary for the shared XDisplay and in case of AWT. - Newt - Display: Only pumpMessages if device is ready. - X11Display: Verify handle not null at DispatchMessage. - Common recursive ToolkitLock implementation, from src/nativewindow/classes/com/jogamp/nativewindow/impl/LockingNativeWindowFactory.java and src/newt/classes/com/jogamp/newt/Window.java, -> com.jogamp.nativewindow.impl.RecursiveToolkitLock - Unique XLockDisplay/XUnlockDisplay call via X11Util to simplify debugging. X11Util: Added debug code for XLockDisplay/XUnlockDisplay. Added fast LongObjectHashMap Added static lib loading and initialization. Removed active and passive list, as well as unused methods, to easy maintenance. Possible since the only 'uncloseable' Display might be the shareable one. - X11Lib: Added static initialization via X11Util Test: junit/com/jogamp/test/junit/jogl/demos/gl2/gears/TestGears* - Add WindowListener for quit ..
* | Merge branch 'master' of github.com:mbien/joglSven Gothel2010-04-246-12/+11
|\|
| * modifications due to method renaming in gluegen/procaddresstable.Michael Bien2010-04-245-7/+6
| |
| * Merge branch 'master' of github.com:mbien/joglMichael Bien2010-04-2454-239/+414
| |\
| * | changes due to refactorings in ProcAddressTable.Michael Bien2010-04-246-10/+10
| | |
* | | NEWT: Add missing return in recursive lock; Add MacOSX EVENT_KEY_TYPEDSven Gothel2010-04-243-1/+3
| |/ |/|
* | NEWT CleanupSven Gothel2010-04-2454-239/+414
|/ | | | | | | | | | | | | - Moved all implementation details (awt/x11/windows/macosx/..) to com.jogamp.newt.impl - Moved awt event handling com.jogamp.newt.awt.event -> com.jogamp.newt.event.awt - NEWTEvent extends java.util.EventObject - NEWTEventListener extends java.util.EventListener - Added Trace*Adapter, logging the event, incl. the time lag
* NEWT/AWT InteroperabilitySven Gothel2010-04-2445-435/+1435
| | | | | | | | | | | | | | | | | | | | | | | - Moved all event classes to com.jogamp.newt.event and the new AWT event helper to com.jogamp.newt.awt.event - Added Newt<Type>Adapter for convenience - Added AWT<Type>Adapter for - Using AWT agnostic NEWT event listener see com.jogamp.test.junit.jogl.demos.gl2.gears.TestGearsNEWT even for AWT see com.jogamp.test.junit.jogl.demos.gl2.gears.TestGearsAWT (Nice idea by mbien) - Forwarding AWT events to NEWT (refactoring) Misc - GLDrawableFactory.shutdown() is now protected and called by the JVM shutdown hook. Hence removing the validate().
* Moved event classed from com.jogamp.newt to com.jogamp.newt.eventSven Gothel2010-04-2411-35/+43
|
* Added link to UML, and JOGL WikiJOGAMP DEV TEAM2010-04-224-26/+52
|
* Merge branch 'master' of github.com:sgothel/joglJOGAMP DEV TEAM2010-04-22573-7986/+14341
|\
| * Updated UML DocumentationSven Gothel2010-04-2327-444/+1389
| |
| * Newt.AWTWindow: Set/Unset windowHandle (enables actual destroy call) / minor ↵Sven Gothel2010-04-232-15/+33
| | | | | | | | debug stuff
| * Merge branch 'master' of github.com:mbien/joglSven Gothel2010-04-235-44/+37
| |\
| | * Merge branch 'master' of github.com:mbien/joglMichael Bien2010-04-231-1/+6
| | |\
| | * | reviewed calls to lockSurface() and ensured propper unlocking.Michael Bien2010-04-235-44/+37
| | | |
| * | | Reuse recursive locking codeSven Gothel2010-04-231-37/+38
| | |/ | |/|
| * | Add missing finally unlock, if 2nd lock failsSven Gothel2010-04-231-1/+6
| |/
| * Merge branch 'master' of github.com:mbien/joglSven Gothel2010-04-226-207/+236
| |\
| | * Merge branch 'master' of github.com:mbien/joglMichael Bien2010-04-2211-177/+178
| | |\
| | * | reviewed X11Lib.XLock/UnlockDisplay() usage:Michael Bien2010-04-226-207/+236
| | | | | | | | | | | | | | | | | | | | | | | | - added lock(); try{foo();}finally{unlock();} where missing - made sure lock is called outside the try block - fixed nesting in situations with two independent locks
| * | | Newt.X11:XEventsQueued: QueuedAlready doesn't work on ATI - use QueuedAfterFlushSven Gothel2010-04-221-5/+9
| | |/ | |/|
| * | Review of using isGL2() and GL2.GL*Sven Gothel2010-04-2211-177/+178
| |/
| * Merge branch 'master' of github.com:mbien/joglSven Gothel2010-04-2213-0/+1399
| |\
| | * added jackpot 3.0 code transformator to tools/jackpotc.Michael Bien2010-04-2213-0/+1399
| | | | | | | | | | | | | | | | | | | | | - use 'setup' for initial setup (downloads jackpot). - use 'bttf' for running a jogl1.1.1 -> jogl 2 (reloaded) transformation - tools/jackpotc/test/oldgears is a jogl 1.1.1 NetBeans project - more information about jackpot is in tools/jackpotc/lib/README after setup was run
| * | Bring back GL2ES12 impl. for GL2ES1 and GL2ES2 desktop j2se and cdc. Fixing ↵Sven Gothel2010-04-2215-491/+256
| | | | | | | | | | | | profiles accordingly.
| * | Migrating gl2/gl3/gl4 -> gldesktop. Use JOGL_GLDESKTOP_.. when using ↵Sven Gothel2010-04-227-105/+72
| | | | | | | | | | | | profile.jogl script
| * | JNLP: Update Check Background - AlwaysSven Gothel2010-04-2215-2/+18
| |/
| * Add deployment scripts ..Sven Gothel2010-04-212-0/+64
| |
| * Fixed deployment timestamp propsSven Gothel2010-04-212-3/+2
| |
| * Add remark (unsigned long -> uint_32) ..Sven Gothel2010-04-212-2/+3
| |
| * JOGL GL4 preperation (cont):Sven Gothel2010-04-202-14/+538
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - updated lstjars.sh 32790c376583beccd030eecd7c56cbe66d380172 120kB jogl.gl2.jar (before flattening) 16kB jogl.gl2.jar (after flattening) Before: JOGL GL2 AWT 44 gluegen-rt.jar 84 nativewindow.all.jar 148 jogl.core.jar 116 jogl.util.jar 56 jogl.os.x11.jar 120 jogl.gl2.jar 64 jogl.awt.jar 4 libgluegen-rt.so.gz 144 libjogl_desktop.so.gz 8 libnativewindow_x11.so.gz 4 libnativewindow_awt.so.gz 4 libnativewindow_jvm.so.gz 796 total After: JOGL GL2 AWT 72 gluegen-rt.jar 80 nativewindow.all.jar 152 jogl.core.jar 116 jogl.util.jar 60 jogl.os.x11.jar 16 jogl.gl2.jar 64 jogl.awt.jar 4 libgluegen-rt.so.gz 120 libjogl_desktop.so.gz 8 libnativewindow_x11.so.gz 4 libnativewindow_awt.so.gz 696 total
| * JOGL GL4 preperation (cont):Sven Gothel2010-04-2090-2156/+1936
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - All available OpenGL versions (native/platform) are verified at GLProfile initialization and can be queried .. A mapping of major,compat -> major,minor,options is created. - Removal of temp context creation, when creating a context. This was necessary to query general availability of ARB_create_context. Due to the shared context of X11GLXDrawableFactory and WindowsWGLDrawableFactory, this is no more necessary. Due to the version mapping, the ARB_create_context paramters are known. - NativeWindow X11Lib: Added X11ErrorHandler, throwing a RuntimeException. Necessary to catch BadMatch .. etc X11 errors, eg for glXCreateContextAttribsARB Hence all X11 calls are covered now. - X11DummyGLXDrawable needs to use an own Window, otherwise GLn n>2 fails - Flattening the desktop GL* implementation, all use GL4bcImpl, which reduces the footprint dramatically. - GL*Impl.isGL*() (desktop) utilizes the GLContext.isGL*(), hence the results reflect the actual native context version. - GLContextImpl makeCurrent/create: Added workflow documentation, clarified code, defined abstract methods to have a protocol. - Removed moved files (from here to gluegen), see gluegen a01cb3d59715a41153380f1977ec75263b762dc6 - NativeLibLoader -> <TYPE>JNILibLoader - Fixed Exception Handling (as in gluegen bce53b52c8638729750c4286dbc04cb14329fd34), ie removed empty catch Throwable .. - GLContext.setSwapInterval(): Nop in offscreen case, otherwise X11IOError (NVIDIA Bug) Test: Tests - Junit - demos.gears.Gears - demos.jrefract.JRefract Platforms - Linux 64/32 ATI/NVidia - MacOsX - Windows (virtualbox 3.1.6, offscreen failed) TODO/BUGS: - FIXME ATI GLn n>2 with AWT, can't make context current, works well on NVIDIA though - FIXME GL3GL4: Due to GL3 and GL4 implementation bugs, we still choose GL2 first, if available! - Add GL 3.3 to GL3/gl3ext.h - Add GL 4.0 to GL3/gl3ext.h and fix the GL3/GL4 seperation - Rename jogl.gl2.jar -> jogl.gldesktop.jar (as done with it's native lib already)
| * code review (http://jogamp.org/bugzilla/show_bug.cgi?id=396): improved ↵Michael Bien2010-04-182-71/+86
| | | | | | | | | | | | exception handling in NWReflection and NativeLibLoaderBase. goal was to prevent catch(Throwable) and to fix or document empty catch blocks where it makes sense.