commit 2f2b071d60f5b630989140b1ade49d648ad78c20 Author: Sven Gothel Date: Mon Dec 19 03:43:56 2011 +0100 GLBuffer: Add NV_texture_shader HILO format and HILO16 type commit e3c2ff1c9e196d8379461f3170c72482a199b89f Author: Sven Gothel Date: Mon Dec 19 02:45:19 2011 +0100 Add jogl-all-awt-cg.jnlp commit f171a694436b7ef15802f7c3bf805bcdd76d2cf1 Author: Sven Gothel Date: Mon Dec 19 01:48:44 2011 +0100 Fix SWT test on OSX 32/64 bit ; Fix TestSWTAWT01GL for OSX Fix SWT test on OSX 32/64 bit: - Pick 32bit SWT for 32bit tests Fix TestSWTAWT01GL for OSX: - Using proper thread for AWT and SWT actions, platform agnostic but required for OSX. - Enable SWT*AWT* tests on OSX commit 7ce7febbbc81ebadb502f3a0f572a1623e7ae3a7 Author: Sven Gothel Date: Sun Dec 18 23:35:29 2011 +0100 refine 32/64 bit unit tests run (OSX) commit 57140d444b3b783bfd5e400674eb46ab780a483e Author: Sven Gothel Date: Sun Dec 18 18:00:53 2011 +0100 TestInitConcurrentNEWT: Nice window layout - don't wait/sync for start thread, only for shutdown. commit 927521af10162f2bf8c02b12cce75bd7de71dafe Author: Sven Gothel Date: Sun Dec 18 17:09:08 2011 +0100 Fix bug 531. Thx to Sebastien (finding) and Julien (fixing) it. https://jogamp.org/bugzilla/show_bug.cgi?id=531 Sorry .. we normally don't add credits in these git logs, maybe we should change that to encourage contributors!? commit 8fc2136686abeaeba42e2210ae09b509fde40cb5 Author: Sven Gothel Date: Sun Dec 18 17:06:42 2011 +0100 CgDynamicLibraryBundleInfo: Add TempJarCache usage for atomic native jar (of atomic java JAR) - GLProfile, NWJNILibLoader, NEWTJNILibLoader: Issue Platform.initSingleton() upfront within priviledge block. commit a6352f398fe22ffb7680cedd77cf93ed6b701c7b Author: Sven Gothel Date: Sun Dec 18 07:46:35 2011 +0100 Fix regression of commit 47dc069104723f3d2e8d9ebdd700182e067163d0: Lock shared surface before using it's HDC for pbuffer creation commit 7ce81cb9ec3d19cadad78a4814a94e2df7419122 Author: Sven Gothel Date: Sun Dec 18 06:37:40 2011 +0100 No GLCanvas offscreen surface (as in NEWT) - test disabled commit a257c96564e3afa9d030e348392f464cacd55ea7 Author: Sven Gothel Date: Sun Dec 18 04:24:22 2011 +0100 JAWT_DrawingSurface.c: Fail fast in case of NULL platformInfo or sizeof(platformInfo)==0 commit 5ae7fe56614cb8abaf389f945cec2ba1db262479 Author: Sven Gothel Date: Sun Dec 18 04:22:08 2011 +0100 JOGL junit.run: Add 32bit tests for OSX (fat binaries) commit d70ba0240cb46cb72c4340fca822178a5a28cc12 Author: Sven Gothel Date: Sun Dec 18 04:21:10 2011 +0100 test scripts: add argument for java data-type (32 or 64 bit) ; Add OSX 32/64 bit test script. commit caa2511f46ba904dfe21223819af2070445f80b0 Author: Sven Gothel Date: Sat Dec 17 21:57:13 2011 +0100 test scripts commit ae099e6623cf973193647495a27bcd4b25230c4a Author: Sven Gothel Date: Sat Dec 17 21:56:59 2011 +0100 MaxOSXWindowSystemInterface: deleteContext / releaseNSOpenGLLayer: - release on main-thread doesn't wait anymore - use recursive lock commit b5492631bbcfe23f9a6a292bfc5f53c7a7b8caec Author: Sven Gothel Date: Sat Dec 17 21:54:36 2011 +0100 MacOSXCGLContext Offscreen Layer: Throw exception in case drawable is not realized or texture size is invalid. commit 8e0f3ad54b5aa8ef4d71e0b85f84a34be4987b5e Author: Sven Gothel Date: Sat Dec 17 21:53:48 2011 +0100 New Interface 'OffscreenLayerOption', impl. by JAWTWindow (impl) and NewtCanvasAWT/GLCanvas (delegation) ; Fix GLCanvas OffscreenLayerSurface usage. JAWTWindow.destroy(): - No more getGraphicsConfiguration().getScreen().getDevice().close() call, since the configuration (hence the device) is passed @ creation and owned by the caller. New Interface 'OffscreenLayerOption', impl. by JAWTWindow (impl) and NewtCanvasAWT/GLCanvas (delegation) - Abstract offscreenLayer option to be delegated by using classes - Allow offscreen testing of GLCanvas as well (like NewtCanvasAWT) Fix GLCanvas OffscreenLayerSurface usage - common 'createDrawableAndContext()' for context and drawable instance creation - addNotify() calls createDrawableAndContext() after super.addNotify() to be able to lock the surface (JAWTWindow) and hence to determine offscreen usage. - reshape(...) issues recreation 'dispose(true)' in case of using an offscreen layer - dispose() explicitly destroys the JAWTWindow NewtCanvasAWT: - explicitly close the device of the JAWTWindow (as GLCanvas does) Tests: com.jogamp.opengl.test.junit.newt.parenting.TestParentingOffscreenLayer01GLCanvasAWT com.jogamp.opengl.test.junit.newt.parenting.TestParentingOffscreenLayer02NewtCanvasAWT commit 47dc069104723f3d2e8d9ebdd700182e067163d0 Author: Sven Gothel Date: Sat Dec 17 21:41:30 2011 +0100 GLDrawableFactory*.createOffscreenDrawable(): No implicit setRealized(true) @ creation GLDrawableFactory*.createOffscreenDrawable(): No implicit setRealized(true) @ creation, following deferred creation like onscreen drawables. This allows using offscreen drawables in classes like GLCanvas, where realization is deferred due to pending valid size. Only createGLPBuffer() realizes the offscreen pbuffer drawable immediatly to reduce the impact on user-code. GLDrawableFactoryImpl.createGLDrawable(): - Simplify OffscreenLayerSurface validation and check it first regardless of the chosenCaps to get a chance to use pbuffer. commit 5ebb4c2704711b4387f263484a5b820edffadf0a Author: Sven Gothel Date: Tue Dec 13 17:53:22 2011 +0100 GLDebugMessageHandler: Move Windows 32bit exclusion to init() block signaling no extension is available. commit 4beeb724b942637300044f909f5f00fdbdf42c65 Author: Sven Gothel Date: Tue Dec 13 17:02:01 2011 +0100 GLDebugMessageHandler: Disable Windows 32bit due to 32bit on 64bit JVM/OpenGL-Driver issues commit 1122f20a73e1dd912839f860efc6fcbed8c89808 Author: Sven Gothel Date: Tue Dec 13 06:55:41 2011 +0100 MacOSXCGLContext.isGLProfileSupported(): No GL3* on pre lion - early out commit 38b4f89d9d1d3e101620b54e558e90b16e87d9b1 Author: Sven Gothel Date: Tue Dec 13 04:45:39 2011 +0100 setGLFunctionAvailability(..): Reduce the calls to resetProcAddressTable() 12 -> 7 in initialization. Reducing the calls to resetProcAddressTable() 12 -> 7 in initialization, saves: Linux/AMD: 600ms -> 300ms Linux/NV: 161ms -> 112ms OSX 10.7/NV: 522ms -> 397ms Still some freezes on OSX 10.6.8/NV .. further analysis is going on. commit ed92cc34e42e334373c31a54ba601d8a9781228e Author: Sven Gothel Date: Tue Dec 13 02:56:11 2011 +0100 Fix nano -> milli (10e6 -> 1e6) .. ooops commit 84f50c99cf125e906555acd11e9375d693978d86 Author: Sven Gothel Date: Tue Dec 13 02:30:47 2011 +0100 Fix GLDrawableFactory lack of GLProfile initialization in case get*Factory() is called 1st, add tests. Add performance numbers of init/shutdown in tests. commit 567bc6a7266ca782051e052b8bab732fc8f92671 Author: Sven Gothel Date: Sun Dec 11 05:38:57 2011 +0100 JOGLNewtApplet1Run: Config and add GLEventListener before hooking GLWindow/NewtCanvasAWT to AWT Applet Container commit 395d572d4018ff474520b7157038d1769bff857d Author: Sven Gothel Date: Sun Dec 11 05:38:12 2011 +0100 GLDrawableHelper.reshape(): check whether to call GLEventListener's init() hook or not commit 9291731fec7103301ba36511ceb4375f63170e5c Author: Sven Gothel Date: Sun Dec 11 04:47:27 2011 +0100 Fix concurrency bug of GLProfile initialization ; Fix SharedResourceRunner 'dead' thread (Applets) GLDrawableFactory: - clarify: public getWasSharedContextCreated(..) -> protected createSharedResource(..) - add: getSharesResourceThread() GLProfile: - proper locking of initSingletion(..) path: - Use RecursiveThreadGroupLock and add/remove GLDrawableFactory's sharesResourceThread while creating it's the sharedResource. This simplifies and fixes GLProfile's locking code. - Fix and simplify initSingleton(boolean) API doc - mark it deprecated. - Add initSingleton() for controlled initialization only, pairing w/ shutdown(..) Remove initSingleton(boolean) calls in code and test! +++ Fix SharedResourceRunner 'dead' thread (Applets) In Applets, stopping an Applet makes the browser Java plugin interrupting and killing all related threads, including our SharedResourceRunner thread. - Validate whether the shared resource thread is alive - Catch interruption in shared resource thread and assume it's a kill signal - releaseSharedResource: clear devicesTried set commit d9bbbbad1130bbe74856ecedb7cf1d2cc124b352 Author: Sven Gothel Date: Wed Dec 7 01:40:03 2011 +0100 Update etc/test* scripts: Remove native lib config, use native-jars. Remove old JOGL jars in classpath