aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Cover all Offscreen tests with Assume ..Sven Gothel2010-05-171-6/+42
|
* GlueGen/JOGL Windows x86 x86_64 BuildsSven Gothel2010-05-163-10/+10
| | | | | | | | | | 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
* Junit Core Test: Add GLContext version dumpSven Gothel2010-05-122-12/+103
|
* Missing comment for last commit 6798fc1fb008eff4179f64775a7bf33cfbfd1981:Sven Gothel2010-05-119-105/+227
| | | | | | | | | | | | | | | | | | | | | | | - zip Javadocs, moved to build* dir - re-enable WGL ARB GetContext (buggy) - relaxed junit tests: src/junit/com/jogamp/test/junit/jogl/awt/TestAWT01GLn.java - GL3bc/GL4bc + AWT doesn't work with ATI currently, driver bug src/junit/com/jogamp/test/junit/jogl/offscreen/TestOffscreen01NEWT.java - All test cases, ie pbuffer detection may fail, no pixmap detection - Fix Windows ARG CreateContext - GLContext - GLVersion mapping functions: use profile bit - Fix isGL*() queries { compat|core, ..} - Pass through the profile bit (COMPAT, CORE, ES), only one can be set - GLProfile - glAvailabilityToString() add the queried HW Context info -
* ../jogl.logSven Gothel2010-05-104-22/+81
|
* Fixed comments (links)Sven Gothel2010-05-062-5/+8
|
* NEWT Windows: Add reparenting for fullscreen on child windowSven Gothel2010-05-061-1/+16
|
* A little cleanup ..Sven Gothel2010-05-068-107/+100
|
* Fix junit test: Move quit WindowListener outside of classSven Gothel2010-05-053-12/+53
|
* Newt: Add generic NativeWindow parenting, inclusive using an AWT Component ↵Sven Gothel2010-05-056-50/+629
| | | | as a parent
* Newt Window: sendEvent -> public; GLWindow must pass down sendEvent and ↵Sven Gothel2010-05-052-1/+9
| | | | requestFocus calls
* Fix commentsSven Gothel2010-05-053-45/+64
|
* Newt Windows: More checks; Use SetWindowPos(.. SHOWWINDOW ..) to make it activeSven Gothel2010-05-051-2/+12
|
* Newt X11: Add focus in/out events; Request focus with mouse clickSven Gothel2010-05-052-20/+46
|
* Newt Display Fix: Use a FQN (type:name) to map displays, otherwise ↵Sven Gothel2010-05-051-23/+38
| | | | applications with mixed types, eg AWT and X11 could reuse the wrong display
* JAWT Windows Fix: Use the JAWT window handle entry [to return it]Sven Gothel2010-05-051-2/+14
|
* Renable full test caseSven Gothel2010-05-041-3/+3
|
* NEWT Fixes (Windows/child-win):Sven Gothel2010-05-045-58/+100
| | | | | | | | | | | | | - Clarify NEWT setSize/setPosition in regards to fullscreen state - Windows: Allow child win to receive keyboard events - requestFocus: calls SetForegroundWindow and SetFocus - requestFocus when mouse clicked - add WS_TABSTOP - Windows: Allow child win to set position - TODO: child-win fullscreen as in X11 ..
* Remove critical path in shutdown ..Sven Gothel2010-05-042-4/+10
|
* NEWT Fixes:Sven Gothel2010-05-0411-109/+395
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Common native in NewtCommon.c/.h - Add simple NEWTEventFiFo, providing a pattern to spool events by an EventListener and to process them where it impacts (GLEventListener ..) - Window [X11|Windows]: setSize/setPosition: - always store the values, - only act if valid and !fullscreen - Window [X11]: - Add requestFocus - Add setTitle - Fix parent/child window creation - Fix parent/child window fullscreen (reparenting) - JUnit Test: ParentTest: - Shows parent and client window animation - Client window shall be able to go into fullscreen, ie disconnect/reconnect from its parent. Test: Focus-client + type-'f' - Both windows receive/dispatch events properly
* Add native NEWT window parenting test. Fix some error messagesSven Gothel2010-04-304-7/+204
|
* - JAR Manifest: Trusted-Library: trueSven Gothel2010-04-281-3/+3
| | | | | | | | | | | - 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-281-1/+7
|
* JOGLSven Gothel2010-04-286-8/+18
| | | | | | | | | | | - 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-281-2/+2
|
* 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-271-0/+30
|
* test cleanupSven Gothel2010-04-271-2/+12
|
* - Fix GLProcAddressResolver regression: Use GLProcAddressResolver !Sven Gothel2010-04-2728-388/+379
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-242-4/+3
|\
| * modifications due to method renaming in gluegen/procaddresstable.Michael Bien2010-04-242-4/+3
| |
| * Merge branch 'master' of github.com:mbien/joglMichael Bien2010-04-2451-218/+374
| |\
| * | changes due to refactorings in ProcAddressTable.Michael Bien2010-04-242-2/+2
| | |
* | | NEWT: Add missing return in recursive lock; Add MacOSX EVENT_KEY_TYPEDSven Gothel2010-04-242-0/+2
| |/ |/|
* | NEWT CleanupSven Gothel2010-04-2451-218/+374
|/ | | | | | | | | | | | | - 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-2443-432/+1432
| | | | | | | | | | | | | | | | | | | | | | | - 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
|
* 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
|/
* Bring back GL2ES12 impl. for GL2ES1 and GL2ES2 desktop j2se and cdc. Fixing ↵Sven Gothel2010-04-225-31/+82
| | | | profiles accordingly.