commit 64feda2fa7611627e31f55ecc7cf86e290fdf4e3 Author: Sven Gothel Date: Fri Sep 16 13:17:12 2011 +0200 test scripts commit edbee9a1f34929e9bd3119bac88ab1c759c569a3 Author: Sven Gothel Date: Fri Sep 16 13:15:34 2011 +0200 NEWT/WindowImpl: Remove wait for position (keep waitForSize for reparent/fullscreen) Window position is not deterministic enough and slows down processing while sync on it commit e228acfcf5be36fb161043bb2ae21f8d60bc6ca4 Author: Sven Gothel Date: Fri Sep 16 12:40:46 2011 +0200 NEWT Cleanup: AWT driver fix, WindowImpl createNative .., minor edits AWT driver fix - setVisible at creation, using reconfigureWindow impl (fixed WindowImpl createNative .., - no double visibility check on creation - visible:=true anyway for later creation, if failed or not available yet commit aca09874bd3abe651f88ead28154fa2feefbd6a6 Author: Sven Gothel Date: Fri Sep 16 10:57:25 2011 +0200 minor edits commit 85f60adb5ae675af4bf81c0a7e69ec836aa50a4b Author: Sven Gothel Date: Fri Sep 16 10:57:08 2011 +0200 waitForPosSize/createWindow: exclude 0/0, at creation wait for size as well - 0/0 may result in -1/-1, which is impl. specific (X11), might get deleted if causes more harm than ham - waiting for size after creation is actually a good thing todo commit 01f0384825688335d1d639553f58fbb2d6f0f592 Author: Sven Gothel Date: Fri Sep 16 07:58:00 2011 +0200 test scripts commit f51a03d5c0555263b0eff392a1c438fdea7a99d5 Author: Sven Gothel Date: Fri Sep 16 07:57:47 2011 +0200 Test NEWT Parenting: Incr. test duration to 600ms (new state poll of reparenting may take ~400ms) commit 9f385a88d1d9560de98cf1fc79308aee3d633838 Author: Sven Gothel Date: Fri Sep 16 07:54:22 2011 +0200 NEWT Window: Allow positionChanged(..) notification for child windows commit 4e3f2e5bf35c05e0c7ccf4995bcb4dbdf23f18cd Author: Sven Gothel Date: Fri Sep 16 07:26:34 2011 +0200 Fix AWT Test Cases: Use AWT-EDT for modifying visible frame and call validate() afterwards commit 3b402dad37065c17e657aa276b838739755ef477 Author: Sven Gothel Date: Fri Sep 16 07:25:41 2011 +0200 NEWT/Reparent: Make new local position/size persitent if not promoted natively (invisible or recreation) commit 4217453ef443519bbfdb9f18571d7143a3aabeae Author: Sven Gothel Date: Fri Sep 16 04:21:37 2011 +0200 test scripts commit fc5ca7819562ddec251ad8aa0c96b0ddeece61d3 Author: Sven Gothel Date: Fri Sep 16 04:21:21 2011 +0200 NEWT/X11: Fix ABOVE handling, notify Java on reparentNotify, cleanup of setFullscreenEWMH commit 0e9935a8f9e2969e4ddd96dbc043473d9f336c3a Author: Sven Gothel Date: Fri Sep 16 04:18:00 2011 +0200 NEWT/Reparenting: Give Composite WM some slack, sleep(100); Minor edits/fixes commit 417b83ebd6c4147a290deeb88047bf64e2a27917 Author: Sven Gothel Date: Fri Sep 16 04:15:42 2011 +0200 NewtCanvasAWT: Minor edits, prefer requestFocusInWindow() in requestFocusAWTParent() commit 1b631f6448e3e2ccbc8f0550819b6a75a8ab4e7c Author: Sven Gothel Date: Thu Sep 15 15:09:44 2011 +0200 test script commit b872484873c7ac4e3a75587ccd10c79626479d34 Author: Sven Gothel Date: Thu Sep 15 15:09:28 2011 +0200 jogl test applets: Add Graph Tests commit ed6fcf8543f9116c8e0bc9e5220b6b0158c3a4ed Author: Sven Gothel Date: Thu Sep 15 15:08:38 2011 +0200 JOGLNewtApplet1Run: Add gl_alpha, gl_multisamplebuffer and gl_nodefaultkeylistener ; Cleanup commit 54b92eb3240d3d6e4686faf48504e1ecfb385869 Author: Sven Gothel Date: Thu Sep 15 15:07:39 2011 +0200 Graph Fonts: Decorate w/ PrivilegedAction if required commit d341b3160c4af3bc1efb91c995abb44368f628a5 Author: Sven Gothel Date: Thu Sep 15 15:06:38 2011 +0200 Graph Demos: Make GLEvenListener 'standalone'; UIScene to common package; Cleanup commit baa88fe536b0b8a70cadabe5412120a9168dec11 Author: Sven Gothel Date: Thu Sep 15 13:26:06 2011 +0200 JOGLNewtAppletBase: Use proper context ClassLoader; Add ElektronenMultiplizierer (NEWT Applet Runner) commit 42129070c5262c7f6c881c41a70fcb4550c33efa Author: Sven Gothel Date: Thu Sep 15 07:19:30 2011 +0200 Add JOGL/NEWT Applet Runner; Add JOGL Applet Tests; Rename applet test version commit fa5fdc4cbbe93da290d6cea49188aa5e8738b032 Author: Sven Gothel Date: Thu Sep 15 05:44:15 2011 +0200 NEWT (Manual) Test Case: Add fullscreen and alwaysOnTop at window creation commit 0b753d75c36af7dd5bb0864f02b934a51991e658 Author: Sven Gothel Date: Thu Sep 15 05:43:29 2011 +0200 NEWT X11/Windows: Fix AlwaysOnTop (startup and change) commit 1b7844b9422472aa1c5089ed8c4918eb6ebcfd23 Author: Sven Gothel Date: Thu Sep 15 05:41:49 2011 +0200 NEWT/WindowImpl: Allow fullscreen at window creation commit 5986c56f506ebab1c26e3eb7f8130018d97bc202 Author: Sven Gothel Date: Thu Sep 15 05:40:01 2011 +0200 ant build: don't delete jar/lib on 'one.dir', but 'clean' only commit b20d7adfe5be3ca14b717a2462fcb90ae6f44762 Author: Sven Gothel Date: Wed Sep 14 13:41:27 2011 +0200 NEWT setAlwaysOnTop(): X11 impl. / fix setFullscreen(false), child-win bug commit a245d530274908427806a9a00242256f372c6552 Author: Sven Gothel Date: Wed Sep 14 13:39:34 2011 +0200 NEWT setAlwaysOnTop(): Allow windows to stay permanent on top; TODO: X11/Windows commit f45753d2da46786b023166f805bacbc3bdce71c1 Author: Sven Gothel Date: Wed Sep 14 13:08:16 2011 +0200 Fix X11/Translucency (NV): Don't enable GLX.GLX_TRANSPARENT_TYPE; Always chooseConfig if translucent Don't enable GLX.GLX_TRANSPARENT_TYPE (X11) - if enabled, NV driver results in odd transparency effect (very high transparency) Always chooseConfig if translucent (X11) - recommended idx shall stay -1 if translucent, allowing our default chooser to pick up the proper config. this was previous reached due to the unavailable GLX_TRANSPARENT_TYPE request, which is now removed (see above) Allow translucency for non FBConfig, XVisual's only commit 430eff8c3ffab8c69c149ba1c633d2b03f2ef2d3 Author: Sven Gothel Date: Wed Sep 14 09:50:36 2011 +0200 Minor edits: generics, test script commit 3972522e561f3d47ce4b0abce0cfa428d97f11bd Author: Sven Gothel Date: Wed Sep 14 09:49:37 2011 +0200 Relocated VersionApplet commit d78568abedd21947a94f4dbadad42cbb5e7fb203 Author: Sven Gothel Date: Wed Sep 14 05:39:22 2011 +0200 Remove duplicates in jogl.test.jar, jogl.util.jar, jogl.util.fixedfuncemu.jar commit c015e19f2f3648fd729cfb3a53798c71983afc4b Author: Sven Gothel Date: Wed Sep 14 03:03:04 2011 +0200 HowToBuild += libXrender-devel commit 91c71262f9f06b23c30eeb204d262b61ce75af2c Author: Sven Gothel Date: Wed Sep 14 01:33:44 2011 +0200 jogl test.compile post one.dir, before zip archive commit 12cc839326d5d054da54af7c08b66040ac32f2ff Author: Sven Gothel Date: Tue Sep 13 23:46:37 2011 +0200 New FHS: using jogamp-current commit b6ce9ccb7a2a5272881a16671294902df0b56de3 Author: Sven Gothel Date: Tue Sep 13 22:08:34 2011 +0200 Don't generate android.jar pre default, incl atomic jar/jnlp in 7z commit 7aadcac585aff5ad98a89973248a9b39bbabf0a4 Author: Sven Gothel Date: Tue Sep 13 21:57:06 2011 +0200 Use native atomic jar's in jogl atomic jnlps commit 0e8bc4086446e58a565ee4e05ba3db184df7dc6b Author: Sven Gothel Date: Tue Sep 13 21:52:31 2011 +0200 Fix all jnlp files commit b43776adf41023424e862779ae2978e3dc576956 Author: Sven Gothel Date: Tue Sep 13 21:51:41 2011 +0200 Fix atomic JNLP files commit 709d137d6f5ae86c185ee93b81b258be7e2c2c49 Author: Sven Gothel Date: Sun Sep 11 06:26:51 2011 +0200 Unify applet/application version test files: add jogl prefix commit 3a224e7cad3afd5eac6ba7fbdfd080e9f7ce8d6e Author: Sven Gothel Date: Sun Sep 11 06:21:18 2011 +0200 New FHS: jars in jar/ commit 31587f24ff495bec22d70bd0308d5e721dc80bd2 Author: Sven Gothel Date: Sun Sep 11 06:12:37 2011 +0200 Promote jogl.test.jar to build/jar commit fa9bbe89d3a6f52f23c567dd3c6fc617273ba7b7 Author: Sven Gothel Date: Sat Sep 10 16:45:00 2011 +0200 Fix VersionApplet package name commit de9a419a315d16edee2c5da74bbf7ea1f89bef30 Author: Sven Gothel Date: Fri Sep 9 17:53:25 2011 +0200 NEWT/Window: CreateWindow - Wait for user req. position: Fix about window-decoration/insets size commit a59026f8956c9291e6e3c8b9defd618586edd742 Author: Sven Gothel Date: Fri Sep 9 16:50:10 2011 +0200 disable test of NV swap group - but add explicit test case (disabled) for documentation purposes commit 92b16b225bac55350d55a634c11b78ceaaf424e4 Author: Sven Gothel Date: Fri Sep 9 15:57:03 2011 +0200 test scripts commit de0fe22e6f08de6430cf3219bd6e31b52f7da8d1 Author: Sven Gothel Date: Fri Sep 9 15:56:44 2011 +0200 NEWT: Window default pos ; FullScreen - FullScreen - lock parent window if child - X11: more sophisticated EWMH FS usage - X11: set window 'Above' before FS and at focus - allow window WM default position at window creation - default position { -1, -1 } as hint to native WM to gather a suitable default position - wait until user-pos or WM-pos reached - reconfigureWindow* - allow -1 values for pos/size to mark no-change commit 8def3e243401a0fe8ce606de6a54381a65626f15 Author: Sven Gothel Date: Fri Sep 9 15:43:51 2011 +0200 *GLContext: resetStates(); getPlatformExtensionsString(); GLX/WGL NV_swap_group support; setSwapInterval(); resetStates() - fixes a bug where X11GLXContext impl. resetState() !! - marked all with @Override tag - ensured super.resetStates() is called at end (oops) getPlatformExtensionsStringImpl()* - fixes a bug where X11GLXContext overrides GLContext cached GLX extension string query - marked 'final' in GLContext to avoid bugs - using abstract 'getPlatformExtensionsStringImpl()' called by ExtensionAvailabilityCache Add premiliry GLX/WGL NV_swap_group support - thought it might be a solution to sync swap of 2 windows - none of my drivers/platforms support it, event though extension is avail on Linux Promote setSwapInterval() (1 up) - bumped above API up to public GLContext - those extension should not spam the GL interfaces .. hmm commit 2083ba25be5ce9b55cc2f5a420f17c3bb5ff1750 Author: Sven Gothel Date: Fri Sep 9 15:34:01 2011 +0200 X11Util: Catch X11 Error on XCloseDisplay commit 4191e406178cdd900030a1ec3919476aab527734 Author: Sven Gothel Date: Thu Sep 8 05:24:57 2011 +0200 JOGL: Make GLProfile shutdown()/initSingleton() functional, ie. proper recreation of all resources - Release all GLDrawableFactory instances at shutdown, [re]create them at initialization - Release GLContext resources (availability map) as well commit b55cda4f1d0d2dda875e16deb8a42cfa3f8af65d Author: Sven Gothel Date: Thu Sep 8 03:55:49 2011 +0200 Add 'older' NEW UI Requirements List - 2010-06-01 commit a9289ce0fde4d4d344e4ab895790642383226cb4 Author: Sven Gothel Date: Thu Sep 8 03:53:33 2011 +0200 NEWT/ScreenMode: X11 fixes ; Ensure Screen's size is set if screenMode changed ; Enhanced tests; Catch NV/XRANDR/GL bug X11 fixes - X11Screen properly uses it's display's connection decorated in lock/unlock (for ScreenMode etc) Ensure Screen's size is set if screenMode changed - ScreenImpl's ScreenModeListener updates it's screen size so 'external' changes will be detected. Enhanced tests - Verify more data rel. ScreenMode Catch NV/XRANDR/GL bug - Read TestScreenMode01NEWT/TestScreenMode01bNEWT comments commit 3812f3400e5156622ae1c11178bacc675941693b Author: Sven Gothel Date: Thu Sep 8 03:44:30 2011 +0200 Minor edits, dead code, test invocation commit 28b0df6c300494a2b54c07fdf43ef04f5f1b0073 Author: Sven Gothel Date: Thu Sep 8 03:43:54 2011 +0200 Destruction of GLAutoDrawable shall not remove them from AnimatorControl (due to recreation) ; NEWT/Window: Remove isValid() API entry - always true! Destruction of GLAutoDrawable shall not remove them from AnimatorControl (due to recreation) - Completes commit b65e1e76d413b70e5593173e6bd36d30675554a6 - WindowImpl: - volatile: windowHandle/visible fields (memeory sync critical) - destroy must set visible := false, to avoid immediate recreation via a display call of another thread, ie an animator. NEWT/Window: Remove isValid() API entry - always true! - NEWT/Window's can always be recreated. - redundancy in API is even worse than redundancy in impl. :) commit f1c375df106f0f9f6c90772b61a501b4280997fa Author: Sven Gothel Date: Wed Sep 7 23:15:45 2011 +0200 Minor edits/cleanup: unused var, final commit 2c99aac7680070d2e0bc6339ef60ac108ff0f171 Author: Sven Gothel Date: Wed Sep 7 03:30:24 2011 +0200 Revert 98f9eef8279680a7fbd3fccb5840381faf1d5c01: removeNotify makes NEWT child invisible again commit 6ff7ba18a549a3fef9fcb01a2944bd0907799864 Author: Sven Gothel Date: Wed Sep 7 02:09:23 2011 +0200 Fix commit e1ecd85a9d5877861cde35baababb298d1339898 - send resize event Completes fix 2934c9814daf7ae053c3f03957961a2e62125aee Turns out it's more safe to send out the resize events to the listener, since the native event messaging is not reliable in some cases. commit 2a21725feb298462900c5f3af849e83a524fbddf Author: Sven Gothel Date: Wed Sep 7 01:49:18 2011 +0200 test scripts commit 2934c9814daf7ae053c3f03957961a2e62125aee Author: Sven Gothel Date: Wed Sep 7 01:48:51 2011 +0200 Fix commit e1ecd85a9d5877861cde35baababb298d1339898 - send resize event on ScreenMode Change commit 83204c6da355d3e641fb320f889b100dcd59a2a4 Author: Sven Gothel Date: Wed Sep 7 01:34:53 2011 +0200 ScreenImpl: Debug - drop stack dump commit 98f9eef8279680a7fbd3fccb5840381faf1d5c01 Author: Sven Gothel Date: Wed Sep 7 01:34:34 2011 +0200 NewtCanvasAWT: setNEWTChild() shall not be public - removeNotify shall not make NEWT child invisible (?) commit b65e1e76d413b70e5593173e6bd36d30675554a6 Author: Sven Gothel Date: Wed Sep 7 01:33:42 2011 +0200 GLWindows Lifecycle Destroy: Don't remove itself from animator-ctrl - recreation is possible commit e1ecd85a9d5877861cde35baababb298d1339898 Author: Sven Gothel Date: Wed Sep 7 01:32:22 2011 +0200 NEWT/Window: Cleanup Actions: Reparenting, Fullscreen and Decoration - don't assume size/pos change - hence don't set window's values, but wait for satisfaction - don't send resize events on our own, just rely on the event mechanism - fullscreen: don't wrap action around invisibility from Java, Win7 flashes otherwise. Clients who benefit from it (X11) impl. it natively. - fullscreen exit: validate pos/size in case of a child window, like reparenting. Otherwise the container might gets confused (eg. AWT). commit 3766fc329ec27c09f7e71bbf705defc44a8bedac Author: Sven Gothel Date: Tue Sep 6 16:25:18 2011 +0200 NEWT/ScreenMode: setCurrentScreenMode() shall only act if new mode differs; On X11 use Thread.sleep(), more cooperative. In case newMode == currentMode, this caused an error, since X11 would never receive mode change events. Thread.sleep() is nicer for the X11/WM .. cooperative multitasking :) commit 667d3f6a08ba5c4574df0d4f3fd27a47dc1c228d Author: Sven Gothel Date: Tue Sep 6 16:21:42 2011 +0200 NEWT/WindowsWindow: call sizeChanged() if invisible as well no reason to supress this information, it's sent only once (like X11) commit fbcbd66a47ae16d59b0a00e2900b0d561a22eeb1 Author: Sven Gothel Date: Tue Sep 6 16:20:39 2011 +0200 NEWT/X11Window: Remove unused 'windowReparented()' callback; Remove redundant DBG_PRINT on _NET_FRAME_EXTENTS commit 9c316a0f015bf0ce519fa7abf62f52e3aa21f701 Author: Sven Gothel Date: Tue Sep 6 16:19:31 2011 +0200 NEWT Cleanup: Remove DEBUG_WINDOW_EVENT, .. commit b9abecf078de8c1f936422f9e1fce84d7826c959 Author: Sven Gothel Date: Tue Sep 6 16:06:26 2011 +0200 Test ScreenMode: Minor changes - less wait/timing commit a69e3bc4aa148c8d84bb3caa449846ab8e74fab4 Author: Sven Gothel Date: Tue Sep 6 07:23:19 2011 +0200 Fix test case for commit 68f5a97ef165a39769040e36114c572c7d0f1abd commit 575f3002ccb6091014ff9959a9eb54b53b501351 Author: Sven Gothel Date: Tue Sep 6 07:16:49 2011 +0200 X11Util/Display Lifecycle: Reuse pending (unclosable) Display connections See commit 9ed513e9a9616f6028084df4c650c8caf31ea49d (bug 502) Since we cannot close Display connections (X11/AMD), at least we reuse them to not bloat the memory for long term applications commit 1b3411d8099761e6fec2d2edfa9b86b33d9b2c8a Author: Sven Gothel Date: Tue Sep 6 07:14:08 2011 +0200 NEWT: Sync User-Lifecycle Sync User-Lifecycle: Display, Screen: createNative(), destroy(), isNativeValid() sync on instance (used by multiple threads) commit 086ea0a1abeb625f900edbf8513e3f1358b72f8e Author: Sven Gothel Date: Tue Sep 6 06:58:51 2011 +0200 NEWT/X11Screen::setCurrentScreenMode: Use device's 'user' Display connection instead of on-the-fly temp one commit 68f5a97ef165a39769040e36114c572c7d0f1abd Author: Sven Gothel Date: Tue Sep 6 06:57:49 2011 +0200 NEWT/ScreenMode: Remove Cloneable on Immutable .. makes no sense commit b8bca22927dfecf6ccee790fa14df78023367ad2 Author: Sven Gothel Date: Tue Sep 6 03:52:39 2011 +0200 _NET_FRAME_EXTENTS: Remove annoying Warning message. 1 Compiler warning commit 282048672d1aca5e647fe661ef6b2ddd9ad992c4 Author: Sven Gothel Date: Tue Sep 6 02:57:18 2011 +0200 test scripts commit 4faa65ee907a78649e118717574c96031dc9e79b Author: Sven Gothel Date: Tue Sep 6 02:56:07 2011 +0200 NEWT/Window/Insets: Implement proper Inset usage ; Cleanup WindowImpl::reconfigureWindowImpl Implement proper Inset usage (window decoration size) - Insets are either polled (updateInsets()) or event driven (insetsChanged()) - Insets are used for size/pos calculations from Java side - Natural size/pos in NEWT is client-area, ie w/o Insets - Adding setTopLevelPosition()/setTopLevelSize() for top-level values, ie including insets WindowImpl::reconfigureWindowImpl - Use flags to pass down the requested action to the native implementation - Impl. all native actions: visible, decoration, reparent, resize, fullscreen - Always use size/pos in client-area space, impl. shall use Insets to tranform them - Remove double-setting of (reparent/fullscreen), which where introduced due to buggy impl. code - Fix return from fullscreen position: Was overwritten with FS position (0/0) - Fix decoration change: Remove visible toggle - not required, and actually disturbing X11Windows/WindowsWindow: Added/Fixed Insets impl. Tests (manual): - TestSharedContextVBOES2NEWT utilizies proper window layout using Insets - TestParenting03bAWT uses window layout for reparenting commit 7ea8aa31e055ba95a062c87ec4d606f73c2504fa Author: Sven Gothel Date: Tue Sep 6 02:42:11 2011 +0200 NativeWindow/NEWT: Cont. refinement of Insets usage Completes commit d4670328991c02a6f11f8873ea7a2331f17d0ef0 commit d4670328991c02a6f11f8873ea7a2331f17d0ef0 Author: Sven Gothel Date: Sun Sep 4 20:32:46 2011 +0200 NativeWindow/NEWT: Refine Insets definition for size and position, read and write access commit 70b495519094de5fcca37da68fbbf8762eecbe28 Author: Sven Gothel Date: Sun Sep 4 20:25:45 2011 +0200 Unify Immutable/WriteCloneable Usage ; Remove Clonable for ImmutableOnly types commit 7df4a53090c0dce45c5148166d7816064db997ba Author: Sven Gothel Date: Sun Sep 4 19:49:11 2011 +0200 NativeWindow: Add new Insets/InsetsImmutable commit b75630d3d28b5d2f92a0eeadae5b910a078e2c5d Author: Sven Gothel Date: Sun Sep 4 18:56:39 2011 +0200 Remove prev. Insets impl commit 2964e18b2f1190d12914634d24583370d98d29c5 Author: Sven Gothel Date: Sun Sep 4 10:57:54 2011 +0200 WindowsDWM: Check all methods for availability - Cleanup header commit 3c97d2e40571d1c5c164797d9fd8d0bc8231708a Author: Sven Gothel Date: Sun Sep 4 10:51:59 2011 +0200 Test Multisample/Translucency: Remove implicit alpha settings see commit 3ea949b6a14c1ba631cb41b7439af86b21db4c05 commit c8e147620c55ff16e9d687bb36a4374e97e82176 Author: Sven Gothel Date: Sun Sep 4 10:51:16 2011 +0200 Complete translucency support for Win32 - tested w/ NEWT https://jogamp.org/bugzilla/show_bug.cgi?id=517 - Adding some Windows DWM entries to GDI (manual) for translucency support - Add translucency setting in WindowsWGLGraphicsConfiguration* commit 3ea949b6a14c1ba631cb41b7439af86b21db4c05 Author: Sven Gothel Date: Sun Sep 4 10:24:42 2011 +0200 NativeWindow/JOGL: Cleanup Caps doc and implicit related values. Capabilities setBackgroundOpaque -> setAlphaBits GLCapabilities setOnscreen <-> setPBuffer setSampleBuffers -> setAlphaBits commit fabc77b4c04b562371d27d5a0203dd52dcd634e4 Author: Sven Gothel Date: Sat Sep 3 03:13:56 2011 +0200 test script .. commit bbdd6f95687da343bf7a6550c3bc9bb4444116e5 Author: Sven Gothel Date: Sat Sep 3 03:13:45 2011 +0200 Complete translucency support (core w/ X11 (only) - tested w/ NEWT) DefaultGLCapabilitiesChooser: - Add penalty for opaque mismatch: dbl-buf > opaq > stencil GLGraphicsConfigurationFactory: - Case no-chooser && has-recommended-idx: - Only use recommended index if caps is opaque, otherwise use default chooser to validate translucency NativeWindow Capabilities: - transparent default values -> 0 Added NEWT Test: TestTranslucencyNEWT Added command line translucency/undecorated options for TestGearsES2NEWT commit 9955e053ac28d1dc1f6722893d7989d5e2b710c3 Author: Sven Gothel Date: Sat Sep 3 02:58:05 2011 +0200 Revert commit 8dc31bcaa3ee3a2407d1960ab42d094cac642876: Implicit setUndecorated(true) if Capabilities !isBackgroundOpaque(). The original manual logic allows better control commit 2f12b219988dd28b1b2c191afc94b7704022a84a Author: Sven Gothel Date: Sat Sep 3 02:34:59 2011 +0200 JOGL/X11GLXGraphicsConfiguration: Query opaque/transparent by XRender 'alphaMask' cfg commit a4dd1cafd84dc0977fa3d558a6af7f8988f1628b Author: Sven Gothel Date: Sat Sep 3 02:33:55 2011 +0200 NativeWindow X11: Add DSO Xrender dependency commit 2501d93d80468b0c38897e99a8eabac08e70e7b4 Author: Sven Gothel Date: Sat Sep 3 02:33:12 2011 +0200 Fix XRenderFindVisualFormat return capacity (commit dcb0cc571298be90d0db7ad00fef835fe5fdc46d) commit dcb0cc571298be90d0db7ad00fef835fe5fdc46d Author: Sven Gothel Date: Sat Sep 3 01:41:36 2011 +0200 NativeWindow/X11: Add XVisualInfo.Visual opaque long access ; Add XRenderFindVisualFormat for translucent window config commit 8dc31bcaa3ee3a2407d1960ab42d094cac642876 Author: Sven Gothel Date: Sat Sep 3 00:32:45 2011 +0200 NEWT Window: Implicit setUndecorated(true) if Capabilities !isBackgroundOpaque() commit 002da0e057795c2f0679119c70f27ca914d9283b Author: Sven Gothel Date: Fri Sep 2 16:43:46 2011 +0200 NEWT: Respect 'setUndecorated(true)' before native creation (ie. startup w/ undecorated window) commit eda2da8a1a01d59edd8e74fa0387bb3dee3eb681 Author: Sven Gothel Date: Fri Sep 2 09:05:00 2011 +0200 Add GL Version 4.2 in GLContext Query - Add verification via glGetIntegerv(GL_MAJOR_VERSION|GL_MINOR_VERSION) Status (Using 4.2 beta driver): - Windows NV: Created and verified - Linux AMD: Creates even non existing ones, 4.2 (available) verification returns 0.0 - Linux NV: Created but verification fails, returns 0.0 commit 01f4e4290f0d093f164c83316bd884046c44494f Author: Sven Gothel Date: Fri Sep 2 03:33:36 2011 +0200 Test Gears ES1/ES2: Fix shared destruction commit a14998effa6b071b79b04a5e72622aff09be8911 Author: Sven Gothel Date: Fri Sep 2 03:06:23 2011 +0200 Test Gears ES1/ES2: Fix lifecycle check (shared gears) commit 800747a6f474966e77cc717aac71a34a3b009d20 Author: Sven Gothel Date: Fri Sep 2 02:42:25 2011 +0200 TestParenting02NEWT: Don't move parent window -> lots of WM fighting / flickering commit 22ff61dab242305bdb91c7c70f9e03291fb5d869 Author: Sven Gothel Date: Fri Sep 2 02:40:23 2011 +0200 Test GLSLSimpleProgram: Add proper destroy .. commit 7f670735a6ca5945ab18769c597b80a1d5c86bb6 Author: Sven Gothel Date: Fri Sep 2 02:38:58 2011 +0200 Gears/RedSquare ES1/ES2: Add proper destroy/init lifecycle incl. assertion checks; Use swapInterval ; RedSquareES2 use VBO RedSquareES2 use VBO. - On Windows/NV we had to re-issue (pass down to GPU) the vertex attribute data (vertex/color), otherwise glDrawArrays crashes .. Probably a GL impl. bug. Hence we use VBO to minimize the data upload. commit b4b9041daf6004d041d789cb564b839fac0fb149 Author: Sven Gothel Date: Fri Sep 2 02:18:39 2011 +0200 Fix NEWT/Window/Windows: setSize/setPosition/reconfigure: 'nop size' -1x-1 -> 0x0 Windows: setPosition was invoking setSize (new size propagation) even w/ nop size, let WM event wmSize invoke setSize. commit 7cc793a3c6310085f0e2f89d425b94fe7965c79f Author: Sven Gothel Date: Fri Sep 2 02:16:19 2011 +0200 GLArrayDataWrapper: Allow vboTarget '0' -> no VBO commit f17f55189a3877928c881c7f12274e413960f600 Author: Sven Gothel Date: Thu Sep 1 16:16:54 2011 +0200 test scripts .. commit c6e740bf86fbedb247ebfec5442111ad87ac4423 Author: Sven Gothel Date: Thu Sep 1 16:16:43 2011 +0200 Test TestBug463ScaleImageMemoryAWT: Use UI Locking and AWT-EDT create/dispose commit 59b18566d4fd19153dcd667bed44a1660762a5f9 Author: Sven Gothel Date: Thu Sep 1 16:16:11 2011 +0200 Test PIXMAP/BITMAP: Can't expect GL2/ES2 - might be SW OpenGL commit 54fbda81866b732719c2e211727c893a4196fd6e Author: Sven Gothel Date: Thu Sep 1 16:15:34 2011 +0200 Test ElektronenMultiplizierer: Unix coding of shader source (failed on Windows/NV) commit 640cb3999d712a04d1bb1262a55db4e404bcf26c Author: Sven Gothel Date: Thu Sep 1 06:18:38 2011 +0200 TestScreenMode01NEWT: Validate window size after FS toggle commit 51161b199d8c281ec19130565954353303cf44c6 Author: Sven Gothel Date: Thu Sep 1 06:12:50 2011 +0200 NEWT/X11/Fullscreen: Fix Leaving FullScreen NativeCode: "XChangeProperty( dpy, w, _NET_WM_STATE, XA_ATOM, 32, PropModeReplace, [ FULLSCREEN, ABOVE ] .." shall only be issued if entering FS, otherwise [ FULLSCREEN, ABOVE ] will be set on the client side at leaving FS, which is not intended. This caused a size reset to fullscreen size/mode. WindowImpl: Used WindowImpl.this.width and WindowImpl.this.height, where w and h should be used, the FS and pre-FS values. commit 1aa8d4caa1d437b8c0f703c94848906458b10066 Author: Sven Gothel Date: Thu Sep 1 02:59:09 2011 +0200 test script commit 3f8eeeec5e9166588c0af32f67da6341b28a9e2d Author: Sven Gothel Date: Thu Sep 1 02:58:54 2011 +0200 NEWT/X11 Bug 502 regressions: WM_DELETE_ATOM, .. etc couldn't be catched, etc. Use EDT X11 Display connection (DPY) for whole display/screen/window lifecycle, but the user utilization (OpenGL, ..). Only using the same DPY for creation and event dispatching allows catching WM_DELETE_ATOM 'ClientMessage's. Sync X11Window.c w/ commit 4dbb8731219212e27c9afb769a1c62b32bd230a6 - remove 'test' code .. use orig lines commit f8606b9415628ceac0a522c70d2109711a0db8d2 Author: Sven Gothel Date: Thu Sep 1 02:54:22 2011 +0200 GLSL ShaderState: verbose = DEBUG ? true : false commit 820231dafec032e70f3aaf7f01cf11ff4839e3cc Author: Sven Gothel Date: Thu Sep 1 02:53:59 2011 +0200 Test ElektronenMultiplizierer: Add original author information, split GLEventListener/Test, .. Add original author/artist information: Dominik Ströhlein (DemoscenePassivist) Split GLEventListener/Test code Add key right/left for frame +/- 120 (fwd/bwd in time) Proper header doc formate Minor cleanup commit ba7854976bbf63db51acf4f1c61b88cef63c385b Author: Sven Gothel Date: Thu Sep 1 02:50:37 2011 +0200 Test Gears: Use proper 'java' author tag commit cb61a6481b28c926d2c27dd4644440b7bc02336c Author: Sven Gothel Date: Thu Sep 1 02:49:44 2011 +0200 Test: Add RedSquare ES1 and ES2 standalone tests commit e8ec19edb5332d5246901966b45082e4c6790901 Author: Sven Gothel Date: Thu Sep 1 02:48:27 2011 +0200 Tests: Exchange GL2, ES1 GLEventListener to ES2 - mobile test preparation. commit 5bcb6d13859d96649e30e02cbc4e9cbe5417a23e Author: Sven Gothel Date: Wed Aug 31 17:34:21 2011 +0200 revert: a7340fd941b26d633c438cb5adb22f2c30a5cff0 NativeWindow X11 Error Handler: If quiet do not print message on stderr. commit dde3b106c9c4a8086982546c27d74de7dcd824eb Author: Sven Gothel Date: Wed Aug 31 15:48:50 2011 +0200 X11Util.createDisplay() -> X11Util.openDisplay(): Better name match to XOpenDisplay/XCloseDisplay commit 013e8ed7a90b026410468848b6b627e77c232f86 Author: Sven Gothel Date: Wed Aug 31 15:46:52 2011 +0200 test script .. commit a7340fd941b26d633c438cb5adb22f2c30a5cff0 Author: Sven Gothel Date: Wed Aug 31 15:46:29 2011 +0200 NativeWindow X11 Error Handler: Even if quiet, print message on stderr. commit 07bc291382eb76c4dd06a82f78ab3b121cfd9f81 Author: Sven Gothel Date: Wed Aug 31 15:45:50 2011 +0200 X11OnscreenGLXDrawable: Mark dead GLX_WINDOW code dead commit 6987035cc4dbcabbb677772539d7da780b48eaf4 Author: Sven Gothel Date: Wed Aug 31 15:44:36 2011 +0200 glXCreateContextAttribsARB: Use NIO for attributes Was intended to fix bug 515, which it doesn't. However, NIO usage is fine in this case. commit d48097a2492e17b1082bdf497df732fd49d7d1c9 Author: Sven Gothel Date: Wed Aug 31 15:43:36 2011 +0200 NEWT/X11 Display: CloseDisplay in same order as creation (ATI); Adding DisplayRelease0; Using 'EDT' suffix for display arguments CloseDisplay in same order as creation (ATI) - This enhanced the erroneous bug 515 (b54497155815852744adb657816cb4057948dae2) situation with closing the display connections. However, some SIGSEGV still slipped through. Adding DisplayRelease0 - Intended for cleaning up resources. Currently a NOP. Using 'EDT' suffix for display arguments - To mark the semantics of the display connection, which may be for window or EDT now. commit b54497155815852744adb657816cb4057948dae2 Author: Sven Gothel Date: Wed Aug 31 15:33:22 2011 +0200 Workaround for X11/ATI fglrx bug 515 - Multiple Display Connections https://jogamp.org/bugzilla/show_bug.cgi?id=515 commit c75785dcc4758b3d865c5ccf6677389ab112d2fb Author: Sven Gothel Date: Wed Aug 31 03:25:48 2011 +0200 DynamicLibraryBundle*: Use generics for better spec - following gluegen commit cfb9e118e020707842e6b5136b07f5ab149540c1 commit 490a6ebf64d767f5395554da78dda96ebb59b0fc Author: Sven Gothel Date: Wed Aug 31 02:28:18 2011 +0200 Unit Tests: Remove redundant GLProfile.initSingleton(boolean) calls commit 980aad0b8c6ba60d1d8c64d4af95c156362a5beb Author: Sven Gothel Date: Wed Aug 31 02:26:49 2011 +0200 UnitTests NEWT: Place GLProfile.initSingleton(true) to @BeforeClass method, ensuring init after UI Lock commit fdd0f9cc3c6d9843b128e09ed6f1cbea1d812512 Author: Sven Gothel Date: Wed Aug 31 02:24:41 2011 +0200 UnitTests AWT: Remove GLProfile.initSingleton(true) and ensure AWT-dispose happens on AWT-EDT We will use the default implicit call of GLProfile.initSingleton(false). (This is the same case as for AWT applets as.) We shall create extra test cases for AWT + GLProfile.initSingleton(true) to test it's stability. However .. to nail down our test instability w/ AMD's fglrx driver we move to the default behavior. commit 71d691db8c631cb2b2fac6e61a1027d3d30008a2 Author: Sven Gothel Date: Wed Aug 31 02:19:49 2011 +0200 UnitTest UI: SingletonInstance Lock at @BeforeClass - before all other sub-class calls commit 072dc4b6e9bdc501873633fff824802d3948a636 Author: Sven Gothel Date: Tue Aug 30 22:49:25 2011 +0200 Test: Cleanup warnings; Add GLProfile.initSingleton(true) call for fluctuating NEWT tests Add GLProfile.initSingleton(true) call for fluctuating NEWT tests - Some of these tests even fail in the state, i.e. cause a JVM stack dump around an early GLX createContext method only when issued via Jenkins. The Ubuntu 11.04/64bit Jenkins node runs 2 nodes (32 and 64 bit). TODO: Find cause. commit f3c58e61ad9b1ad1d1c193d6f538776fb4de1dac Author: Sven Gothel Date: Tue Aug 30 22:05:19 2011 +0200 TestFocus01SwingAWTRobot: Run AWT destruction on AWT-EDT commit 71b7087455fc23ec640d9d64342aaaaff42d3c7e Author: Sven Gothel Date: Tue Aug 30 19:40:25 2011 +0200 TestGLDebug*: Remove Thread.dumpStack() .. commit f90a7e72e957fa345575a9a5378c7f9edcbfb7ae Author: Sven Gothel Date: Tue Aug 30 19:39:32 2011 +0200 TestAWTTextRendererUseVertexArrayBug464: Run AWT destruction on AWT-EDT This fixes the _XSend X11 error on GLX commands using AMD driver .. proper cause unknown, but probably a race or condition or threading issue (Display usage by diff threads). commit 7df34910488d930123cb5fd09f3075f6599bc98e Author: Sven Gothel Date: Tue Aug 30 19:35:42 2011 +0200 Cont w/ 5a7811ecd23a3ab1af62b243c82d362431793a57: test-x*.sh commit 5a7811ecd23a3ab1af62b243c82d362431793a57 Author: Sven Gothel Date: Tue Aug 30 19:30:19 2011 +0200 Use GlueGen's setenv-build-jogl scripts from commit 4a75b64107e157ff1db3991cf89bf8d856ddc0e6 commit 6b951024dcb3ba85e2d1dd042f1a8c60054277f5 Author: Sven Gothel Date: Tue Aug 30 18:13:34 2011 +0200 SWT/AWT Test: Run AWT destruction on AWT-EDT, issue shell.close() before shell.dispose() This fixes the _XSend X11 error on GLX commands using AMD driver .. proper cause unknown, but probably a race or condition or threading issue (Display usage by diff threads). commit bcea6b67bafaaabf2b1c43989fb13c0e4bf82c98 Author: Sven Gothel Date: Tue Aug 30 16:46:36 2011 +0200 Fix NEWT regression due to fix of bug 502, commit 9ed513e9a9616f6028084df4c650c8caf31ea49d In case of exessive destroy/create (the NEWT reparenting test cases), some dpyEDT events are slipping through the event dispatcher. This fix uses issues more XSync on both Display connection in case of 'requestFocus' and 'closeWindow'. 'requestFocus' also uses the dpyEDT to issue the XSetInputFocus(..), since it's EDT related. commit be7995cb57c4ffa1ea71f8fc292fc0b3df5de212 Author: Sven Gothel Date: Tue Aug 30 15:50:01 2011 +0200 Complete commit cb4e73183103c13d8bcf7c7667e1b9ea181e1f5f (sorry) commit cb4e73183103c13d8bcf7c7667e1b9ea181e1f5f Author: Sven Gothel Date: Tue Aug 30 15:42:59 2011 +0200 NEWT Window/WindowImpl: Add generics - addChild()/removeChild() return boolean, see Collection::add/remove commit 6ed38932604db50b5e62d5ee6e2d0385810bb67c Author: Sven Gothel Date: Tue Aug 30 15:42:10 2011 +0200 Tests: Comment GLProfile.initSingleton(false), which is redundant / implicit. commit 1ac5a3f0643a761d2d9e217883da73ad993a91b9 Author: Sven Gothel Date: Tue Aug 30 15:41:00 2011 +0200 ShaderState Usage/Test: Add setShaderState(GL) for pre-use attachment to the GL context ; GLArrayDataClient-GLSL: Check if ShaderState is attached. ShaderState Usage/Test: Add setShaderState(GL) for pre-use attachment to the GL context - test cases utilize ShaderState before useProgram() was invoked, hence we need an API entry to attach the ShaderState explictly GLArrayDataClient-GLSL: Check if ShaderState is attached. - catch error case of non bound ShaderState to GL context commit 736d1c5d27e0cee36993f74dca787aefd3df7d18 Author: Sven Gothel Date: Tue Aug 30 15:37:47 2011 +0200 JAWTWindow.getLocationOnScreen(): Add proper JAWT lockSurface() ; X11Util: use System.err ; TestParenting02AWT: use GearsES2 JAWTWindow.getLocationOnScreen() - Add proper JAWT lockSurface() - Turns out that the parent location query of a NEWT child to an [J]AWT window didn't lock the window commit 78b7732498099e1cc6bbedfa7437bb3c8955cfc5 Author: Sven Gothel Date: Tue Aug 30 14:12:18 2011 +0200 Proper classpath for all javah commands, using 'rootrel.build' commit 444eaa259116f7985711164512607ad46015fa4b Author: Sven Gothel Date: Tue Aug 30 03:51:10 2011 +0200 NEWT: Add comment in API doc ; Use more generics in impl. commit 9ed513e9a9616f6028084df4c650c8caf31ea49d Author: Sven Gothel Date: Tue Aug 30 03:50:31 2011 +0200 Workaround (Fix) for Bug 502: Multithreading issue w/ libX11 1.4.2 and libxcb 1.7 bug 20708 See https://jogamp.org/bugzilla/show_bug.cgi?id=502 Since the libX11/xcb code doesn't seem to be fixed anytime soon a better usable workaround is required than using a system property to enable 'over locking'. It turns out that the race condition is related to the parallel X11 Display connection usage of GLX/OpenGL and event dispatching. This workaround utilizes 2 X11 Display handles, one for windowing/OpenGL and one for event dispatching. This approach allows us to cont. multithreading use w/o locking the display and works on both implementations, the old bug-free libX11 and the 'new' buggy one. Downside is the little resource overhead of the 2nd X11 Display connection .. well. - Removes the property: 'nativewindow.x11.mt-bug' commit 9c64f265f4e3aaef85b7f017493e3695f46e00b3 Author: Sven Gothel Date: Tue Aug 30 03:42:27 2011 +0200 minor: update script / vsync changes in test w/ 2 windows commit 7f2da7bb878813817efab0eb01bbf274065ef6c6 Author: Sven Gothel Date: Tue Aug 30 03:41:38 2011 +0200 GLSL DataArray/Handler: Remove ShaderState state and pass it through: ShaderState.getShaderState(gl) This removes the dependency of a GLSL GLDataArray object to a specific ShaderState and enables sharing of this VBO data, i.e. via a shared context. Test: TestSharedContextVBOES2NEWT commit cd31c4f0dc7a5f5595e0ca2f0e815d3814ebd94e Author: Wade Walker Date: Thu Aug 25 20:59:32 2011 -0500 Fix classpaths to work with Java 7's javah Java 7's javah requires all referenced classes to be classpath, even if they're just method parameters and never instantiated. Java 6's version of javah didn't require this. commit b8b25bb01b826e1216551c8f3d192bcec670e265 Author: Sven Gothel Date: Wed Aug 24 18:35:22 2011 +0200 Update README.txt and REPOSITORIES.txt commit 5047b00127d976281098c39bee2d211fdbda5123 Author: Sven Gothel Date: Wed Aug 24 01:57:16 2011 +0200 NEWT/ScreenMode: Fix Bug 456 - Reset to orig ScreenMode when exit (normal or ctrl-c) ; Generics Coding commit 006f0ffdc63c35b0aed229b626db00c358c9399f Author: Sven Gothel Date: Wed Aug 24 01:54:31 2011 +0200 Cleanup: Java Generics Use and Removed Unused Methods commit f91a3c7744e88c795600c8f9bb9ac6b0a279ff03 Author: Sven Gothel Date: Wed Aug 24 01:51:10 2011 +0200 GLCapabilitiesImmutable: No need to extend WriteClonable explicitly, extended by super class commit 4a77b439ca85a29c1cf5ac5043c4ef03c4206e0d Author: Sven Gothel Date: Tue Aug 23 15:02:13 2011 +0200 Fix Bug 500: gl.getGL4() fails even though the context is GL4 commit 2bf46093aa45a5948c200a7e83b130a636a7cd37 Author: Sven Gothel Date: Mon Aug 22 20:39:58 2011 +0200 Also tackles bug 510, only lookup global on Android. See gluegen commit 58469fd2343039c195a88d0b171ba9af2dce40be commit 9f3812280c8a1f32996e08c42029d0c8750757cc Author: Sven Gothel Date: Mon Aug 22 17:26:47 2011 +0200 test.sh .. commit 55dae6968075cd082f7a9b8060f0912669e7aa78 Author: Sven Gothel Date: Mon Aug 22 17:26:13 2011 +0200 API Change GLArrayDataWrapper/GLArrayDataServer: Add vboTarget to wrapper cstr and add interleaved seg. vboTarget is required in case of interleaved segments to allow eg. interleaved indices. commit 16e5b7e6c14497b932f58ed38fc03c48656fdb09 Author: Sven Gothel Date: Mon Aug 22 16:48:15 2011 +0200 Fix regression of commit 6c346d98f04e2355210960fe9ffde47432f04d62, where GLDataArrayHandler throws an exception in cstr if not VBO, but VBO usage is determined later commit 87ff90fb03216737df70ff83246664b7fba2663e Author: Sven Gothel Date: Mon Aug 22 16:38:45 2011 +0200 Fix regression of commit 6c346d98f04e2355210960fe9ffde47432f04d62, where VBO/attribute binding wasn't updated (VBO data written, shader change/switch attribute on same location) ; Optimized interleaved GLSL VBO binding, hence split up GLArrayHandler syncData/enableState commit 6602d8eb5af13dc317fff8e044db52c3388f99fa Author: Sven Gothel Date: Mon Aug 22 13:23:53 2011 +0200 test scripts: use new demos.gl2 location commit f80d1129698fb8a8af4ed6c4ad33d15d551fc913 Author: Sven Gothel Date: Mon Aug 22 13:23:31 2011 +0200 win32 test scripts: use new *all* locations commit 5b150ea8822b5bc0da6c18b7f4558a1fffe8d7ef Author: Sven Gothel Date: Mon Aug 22 13:22:27 2011 +0200 reloc test: demos.gl2.gears -> demos.gl2, etc commit 62df9dd196b229c3c532af4a166e6888599f85bd Author: Sven Gothel Date: Mon Aug 22 03:04:54 2011 +0200 NewtVersionActivity: Remove 'gears' test; Version Info: Drop NativeWindow/Newt Version since we use *all* targets commit d09063b4044ca82a805f91af550a9b9d7e7eef2a Author: Sven Gothel Date: Mon Aug 22 02:04:34 2011 +0200 Add missing GearsES2 NEWT test hook commit 2681f4c4d4c17f53530ec199de1f0c03b9a0f039 Author: Sven Gothel Date: Mon Aug 22 02:04:07 2011 +0200 Add Dominik's ElektronenMultiplizierer (GL2ES2, NEWT) version commit 6c346d98f04e2355210960fe9ffde47432f04d62 Author: Sven Gothel Date: Mon Aug 22 01:59:00 2011 +0200 Misc Rename/Reloc; GLArrayData*/PMVMatrix enhancments; Test fixes/adds (GearsES1/ES2) rename/reloc: - javax.media.nativewindow.util: DimensionReadOnly -> DimensionImmutable PointReadOnly -> PointImmutable RectangleReadOnly -> RectangleImmutable unified 'immutable' name as used within jogamp already - remove array handler from public API com.jogamp.opengl.util.GL*ArrayHandler -> jogamp.opengl.util.GL*ArrayHandler - GLArrayData: Clarify method names getComponentNumber() -> getComponentCount() getComponentSize() -> getComponentSizeInBytes() getElementNumber() -> getElementCount() getByteSize() -> getSizeInBytes() - FixedFuncPipeline: Moved def. array names to GLPointerFuncUtil enhancement: - GLArrayDataServer: Add support for interleaved arrays/VBO - GLArrayData*.createFixed(..) remove 'name' argument (non sense for fixed function) - PMVMatrix: - one nio buffer - removed 'Pmv' multiplied matrix - removed 2x2 cut down 'Mvi' normal matrix (use 4x4 Mvi) - tests: - RedSquare -> RedSquareES1/RedSquareES2 - Gears ES1 fixed + ES2 added. Both work properly and share common Gears VBO construction - Added TestMapBuffer01NEWT, testing glMapBuffer commit 47b0d317df3c860b6cf3ea10196dfee82b3b3dc1 Author: Sven Gothel Date: Thu Aug 11 18:26:39 2011 +0200 NEWT/Android: Assisting NEWTBaseActivity to simplify NEWT/Android usage. commit 655819abacb297016ea347d2ee967032c4a5a493 Author: Sven Gothel Date: Thu Aug 11 17:57:33 2011 +0200 Android Cleanup: Remove commented code, make immutables final again commit cc551ca89bf207cafc83e7c8d9b22fd866ec4a26 Author: Sven Gothel Date: Thu Aug 11 17:56:28 2011 +0200 NEWT/Android Fix: Display/Screen/Window creation ; ScreenMode Change - Remove Application Context notion in Screen/Display, use 'jogamp.common.os.android.StaticContext' - Display, Screen and Window construction is Android agnostic allowing simple GLWindow creation. - Android ScreenMode Fix: - Use unrotated screen dimension - Intercept 'orientation' configChange, which keeps running the application in case of a rotation. - ScreenMode Add: getRotatedWidth() / getRotatedHeight(), used for Screen.setScreenSize(..) which reflects the rotates dimension. - ScreenMode: getCurrentMode() allows new, not yet detected, ScreenModes commit b893ada668591187ac6866296439811036db2d95 Author: Sven Gothel Date: Thu Aug 11 17:46:38 2011 +0200 Android Cleanup: Remove EGL header & library (compile time) commit d870cb763cc0c6c995037b7db2285e1d365f09a7 Author: Sven Gothel Date: Thu Aug 11 06:19:25 2011 +0200 NEWT/Android: Add missing native code commit 60da43c2d8a8b229678209276080bf06dc44f0f8 Author: Sven Gothel Date: Thu Aug 11 06:18:49 2011 +0200 Enclose file IO access in priviledged block commit 5cf183b50d0f50d1831a6df1fa2bb70044732358 Author: Sven Gothel Date: Tue Aug 9 21:29:54 2011 +0200 Add touch event propagation to NEWT commit 0ebb4132e41a44e4a8a1dada39b824f88c48603d Author: Sven Gothel Date: Tue Aug 9 20:54:13 2011 +0200 Add AndroidWindow implementation commit 78c66acc25a89687ae898a52f885de8dd8909dd7 Author: Sven Gothel Date: Tue Aug 9 20:21:36 2011 +0200 Android: Demo NewtVersionActivity commit c644d5e23a0f3f7953c231f23e17a195c84a9a50 Author: Sven Gothel Date: Tue Aug 9 20:20:59 2011 +0200 NEWT: Make AndroidNewtEventFactory public / accessible commit 0c4537feba3d6c11f4b8fdd5bf2e436a86e3a58a Author: Sven Gothel Date: Tue Aug 9 20:20:35 2011 +0200 Test OneTriangle generalization cleanup commit 26a187c320c52b9b66f64cdce8e71954d9475714 Author: Sven Gothel Date: Tue Aug 9 20:20:04 2011 +0200 NEWT Android Display/Screen driver implementation commit 113874511f5a897c0faaabbb98fe80ec8f322157 Author: Sven Gothel Date: Tue Aug 9 20:19:30 2011 +0200 Complete Android driver reloc (constructor) commit da0391975092bbd1adce296477646b004c3562c3 Author: Sven Gothel Date: Tue Aug 9 20:17:11 2011 +0200 EGL Fixes ... - EGLDrawableFactory: createProxySurfaceImpl: add proper config choosing - EGLCapabilities/EGLGraphicsConfiguration: Add nativeVisualID - All: Avoid critical array access -> use NIO commit 991ba438bfefa1c84fc185146b355c3cf9781f3d Author: Sven Gothel Date: Tue Aug 9 20:12:28 2011 +0200 debug: remove tracker from jogl.debug=all commit ff2c2bfb69699ad00ba80f90cbfea6d4ce1ab778 Author: Sven Gothel Date: Tue Aug 9 20:12:00 2011 +0200 Adapt to DynamicLibraryBundleInfo API change ; Remove non std EGL/ES libs (Android) commit 5500015001d6e6043959f5f0252c254632f0d381 Author: Rami Santina Date: Tue Aug 9 21:11:38 2011 +0300 Graph UI and Text demo using UIcontroller. commit 4ebd4e46f1b17fce7dabf7e0290f7a3e489873ca Author: Sven Gothel Date: Tue Aug 9 20:10:42 2011 +0200 set env TARGET_PLATFORM_LIBS (linux arm cross) commit ce027cf5287d008f83c70303d38f125430195b16 Author: Rami Santina Date: Tue Aug 9 21:10:12 2011 +0300 Graph UI: Added scene controller and general scenegraph behavior. User can implement onClick, onPressed, onReleased for selected UIShape called by the controller. Selection done using color coding indexes. Controller also provides a default generic InputEventListener and GlEventListener commit 56f1fde24ddbabf0adbe1bb22654cf72aa69e9e4 Author: Sven Gothel Date: Tue Aug 9 20:10:08 2011 +0200 Android: Add android/EGL lib for linkage commit 4087b1635ec5f20befae2c812caa01b2b61f2257 Author: Sven Gothel Date: Tue Aug 9 20:09:38 2011 +0200 reloc files: NEWT Android driver, demos OneTriangle commit 91d3bf4ea69046684540402cb1fd46e70682a6c5 Author: Rami Santina Date: Tue Aug 9 20:51:12 2011 +0300 GLRunnable API Change: Return boolean indicating whether the back buffer shall be updated before swap. This allows color selection GLRunnables, executed after the GLEventListener. commit 75b7379caf263a8e44a21c2daf1fc994f4761dc8 Author: Sven Gothel Date: Sun Aug 7 07:57:07 2011 +0200 EGLPBuffer: remove 'ownEGLDisplay=true' (just wrong), add destroyImpl() commit 068e931dde12f7aae8687f54081c128f2a12fc50 Author: Sven Gothel Date: Sun Aug 7 07:56:09 2011 +0200 EGLDrawable.setRealized(true) - no update gfx-config if we already have proper EGL type. commit 6dafa27a84006502467b609efcf9aa35df2a769d Author: Sven Gothel Date: Sun Aug 7 07:54:50 2011 +0200 pbuffer caps fix: offscreen -> false commit 733cdc016ebd9764330f347febd39452e2be0535 Author: Sven Gothel Date: Sun Aug 7 07:54:18 2011 +0200 no GL_VERSION_X extensions for ES profiles commit 1bfa7a8f6e6dc5999e337aac2b9ddf118cf45a2f Author: Sven Gothel Date: Sun Aug 7 07:53:46 2011 +0200 GLProfile / eager init: Use relaxed query, if context was created while initialize shared commit e38739fa5badeb4ff9933805ae5012a0b98bbcbb Author: Sven Gothel Date: Sun Aug 7 07:51:57 2011 +0200 Don't enable DebugGL/TraceGL with jogl.debug=all commit 8f604ad1aa27455b2fdadf100c6df3e02727473d Author: Sven Gothel Date: Sun Aug 7 07:51:08 2011 +0200 incr. debug output (tests) commit 4808e9e7e9f2c6991bc25db86f2e80e42ee163c8 Author: Sven Gothel Date: Sat Aug 6 10:08:01 2011 +0200 Android: cosmetics commit 2448ef91fddecdd876ac81746e12c2a1291e82fa Author: Sven Gothel Date: Sat Aug 6 10:07:47 2011 +0200 EGL Fix: Use config-id value, bug override it w/ renderable type commit 8c1007f28396956d5ef83fbbbea78e910c1e53bd Author: Sven Gothel Date: Sat Aug 6 10:07:05 2011 +0200 EGL/Android: Favor driver's EGL/ES native library - Using Android's fails FIXME: find proper solution, instead of using hardcoded and non-std lib names commit d63ca3ad5d2acf20a8ff8f27778ef084b305260c Author: Sven Gothel Date: Fri Aug 5 22:13:11 2011 +0200 Android hacks: ClassLoaderUtil (vie Dex.., w/ native libs) ; Merged big jar ; eglGetDevice(0) fails commit 0f8a1a0d7c6ea2f712f902b57e37cbedc46b1387 Author: Sven Gothel Date: Fri Aug 5 17:46:56 2011 +0200 debug verbosity ; adaption of gluegen fix of DynamicLibraryBundle fix debug log in case no device has been initialized use gluegen's fix of DynamicLibraryBundle.isGlueLibComplete() - see gluegen commit 6281499e53555fd8ab26345ffce4c4d09bf57a09 commit e04ec76678486f1b251ed4d907a924d53aafce52 Author: Sven Gothel Date: Fri Aug 5 17:44:35 2011 +0200 add/fix: cross/egl test scripts commit 1083790b188310d47da05eca46a67f72be333b77 Author: Sven Gothel Date: Fri Aug 5 14:57:02 2011 +0200 due to JAR *all* merge, merge *-java-src.zip -> jogl-java-src.zip as well commit f87f9893cc2d271bdf547b2fb9f59ccb4d9b79ab Author: Sven Gothel Date: Fri Aug 5 14:38:16 2011 +0200 fix jogl.all-mobile.jar/jogl_mobile configuration commit 94d9bcebaa382c87cb4baa6be4b85c8789a140dd Author: Rami Santina Date: Fri Aug 5 12:35:10 2011 +0300 Fix: event mapping mismatch commit c43a0f3afdcd3c90aea1f9b233e113ab2bd83f8a Author: Sven Gothel Date: Fri Aug 5 09:52:06 2011 +0200 Add missing incl of gluegen's stdint (win32 failed) commit 159eea0080281eae5b4f97368ee1549397892fb8 Author: Sven Gothel Date: Fri Aug 5 05:35:40 2011 +0200 Complete Android cleanup (compile/apk launch) commit 4dbb8731219212e27c9afb769a1c62b32bd230a6 Author: Sven Gothel Date: Fri Aug 5 05:32:15 2011 +0200 deployment resturcturing: combine nativewindow/jogl/newt ; newt: 'driver' separation ; android cleanup remaining all-in-one jnlp's / jars: jogl-all-awt.jnlp -> jogl.all.jar jogl-all-noawt.jnlp -> jogl.all-noawt.jar jogl-all-mobile.jnlp -> jogl.all-mobile.jar native for all above: jogl-all-natives-linux-amd64.jar jogl.all-android.apk jogl.all-android.jar more may follow for each supported platfrom ++++ - newt: proper 'driver' separation - all drivers reside now in jogamp.newt.driver.* - remove intptr.cfg / use gluegen's commit 618140a07899d96cc76a1fca6ce9f26f44895ca8 Author: Rami Santina Date: Thu Aug 4 17:08:55 2011 +0300 add multitouch getPointerId data commit fa365b3118bcf71bc5466c4789a460fb0f96b41c Author: Sven Gothel Date: Wed Aug 3 16:23:19 2011 +0200 Add android src zip to eclipse classpath commit 444482f4b9a1168e0dfd29c7e2da4010cca2ca91 Author: Sven Gothel Date: Wed Aug 3 00:30:14 2011 +0200 test: remove bug 502 workaround flag commit 40bcb60a0a506606776de20071e533df759b9304 Author: Sven Gothel Date: Wed Aug 3 00:16:03 2011 +0200 Renamed jogamp.newt.opengl -> jogamp.newt.egl, properly reflecting EGL dependency, not OpenGL The native impl packages utilize EGL, not opengl, to query the proper pixelformat. commit 8c8940308c1be5e547b4a2456e8bb5c674fce9f9 Author: Sven Gothel Date: Tue Aug 2 18:37:23 2011 +0200 Hide NEWT AWT Event implementation details to jogamp.newt.awt.event commit d62d5e771052957ba2628532235d344c8d65e718 Author: Sven Gothel Date: Tue Aug 2 17:55:18 2011 +0200 Isolate android implementation details to newt/classes/jogamp/newt/opengl/android commit d6d4ebf19e46c77dd92181c9e81b5a196c250791 Author: Rami Santina Date: Tue Aug 2 17:33:26 2011 +0300 Added accessibility events mapping to newt mapped gained focus event. used 0xFFFFFFFF for unmapped events commit 0ee0e2a933bdd66d382c2745732a60b32b442877 Author: Rami Santina Date: Tue Aug 2 17:05:04 2011 +0300 android map motion pressure to newt commit ecad1c4d31e5f95879914396002437517c97d9dd Author: Rami Santina Date: Tue Aug 2 16:52:56 2011 +0300 Initial android newt input event transformation commit aad86420584d91e0e3faf220d317e25fc4db68a0 Author: Sven Gothel Date: Tue Aug 2 14:40:56 2011 +0200 Eclipse Classpath: Add android.jar commit bbbf51acf183b6fe696afd009d0ae49f6745bc40 Author: Rami Santina Date: Tue Aug 2 15:35:09 2011 +0300 Multitouch proposal MouseEvent commit ae51b15c98af2ce462cb8ff1a237dd0c51e78e80 Author: Sven Gothel Date: Tue Aug 2 14:17:43 2011 +0200 Proposal for multi touch commit 332430bd9e2a42b81b509175b43856dc25ae255a Author: Sven Gothel Date: Tue Aug 2 13:31:23 2011 +0200 Adapt latest gluegen changes for crossplatform. commit 589419b50efb63ecd8864c27eb9aeff85ad1e1c9 Author: Sven Gothel Date: Mon Aug 1 22:45:24 2011 +0200 Cont. fix 'Allow VBO/Texture Name (int) < 0' Refines spec GLArrayData and it's implementations. see commit 76f7552c4a219b116e86949f271e613ba0f6f160 see commit 4d33a2df1e991ab75817dcb44061d88d3c499cdb see commit 2dbd16fc3edf29b39ba37a11b9fbf1b2aad75c45 commit 59a5ce435cce9f44f22999ebc89a603cacd53920 Author: Sven Gothel Date: Mon Aug 1 22:09:43 2011 +0200 Test Gears GL2ES1: Favor native ES1 if available. commit f886eb1860189b5777c28eb99ddc70aaee8c865a Author: Sven Gothel Date: Mon Aug 1 22:08:55 2011 +0200 GLProfile: Allow EGL besides desktop; Desktop factories restricted to desktop profiles Allow EGL besides desktop - Initialize EGL for default EGL device, even if desktop is available Desktop factories restricted to desktop profiles - Don't use native ES1/ES2 here .. commit b6935220e6582395585834cd1d503d2f447d5656 Author: Sven Gothel Date: Mon Aug 1 22:05:48 2011 +0200 GLContext Impl: Fix Platform 'GLX' ProcAddress Caching, allow multiple types - Add platform type to key commit e91429bc17c409cd69f2abf36dfef7035e195b09 Author: Sven Gothel Date: Mon Aug 1 20:51:22 2011 +0200 Enable EGL/ES1/ES2 detection/test on desktop (using mesa's libraries) Ubuntu: sudo apt-get install mesa-utils-extra libegl1-mesa libegl1-mesa-drivers libgles1-mesa libgles2-mesa commit 5884366b39182fdc84dd1565d1727dde03606897 Author: Sven Gothel Date: Mon Aug 1 20:18:28 2011 +0200 AWT/X11 Reduce XQueryExtension 'hang' ; Impl. use XineramaIsActive() instead of XineramaQueryScreens() - Reenable creating own XDisplay for AWT components, which reduces/removes hang in subsequent XQueryExtension call (fetchScreens .. XineramaEnabled()) - Impl. use XineramaIsActive() instead of XineramaQueryScreens() Reducing memory allocation, XFree call (which was missing anyways) commit 4afe6456f631352933bd5dcb7610b516a90f29eb Author: Sven Gothel Date: Mon Aug 1 20:15:35 2011 +0200 Fix glDebugMessageInsert: Pass string length to native method instead of -1/0, avoid driver bug. commit 76f7552c4a219b116e86949f271e613ba0f6f160 Author: Sven Gothel Date: Mon Aug 1 20:14:26 2011 +0200 Cont. fix 'Allow VBO/Texture Name (int) < 0' Refines spec GLArrayData and it's implementations. see commit 4d33a2df1e991ab75817dcb44061d88d3c499cdb see commit 2dbd16fc3edf29b39ba37a11b9fbf1b2aad75c45 commit 6b82b5758d63f4cdb1028e07fc84c5f7a45d3d70 Author: Sven Gothel Date: Mon Aug 1 15:35:50 2011 +0200 Revert commit 96cbe03a943f3189531a7ec9baf680bdf1417929: Capabilities: default rgb 555 -> 888 ; Turns out such a default value change would cause too many regressions commit 077e6fc0d3e025f1c7b2467ca13fd5858c2a4e3c Author: Sven Gothel Date: Mon Aug 1 15:29:27 2011 +0200 test script cleanup commit 3ef3ff252e6d73e6d263035eb2deb8ef4d597134 Author: Sven Gothel Date: Mon Aug 1 15:29:05 2011 +0200 Cross Test linux/armv7 script: Use es1 and es2 classes commit 6b37403cdee3d1edfb90fdeba6b23ef1380b8438 Author: Sven Gothel Date: Mon Aug 1 15:28:17 2011 +0200 Use GL2ES1 profile (no emul) - complete commit a7fcfad44545e7b3f7e2f4176349588dc26d9070 commit a7fcfad44545e7b3f7e2f4176349588dc26d9070 Author: Sven Gothel Date: Mon Aug 1 15:23:38 2011 +0200 GearsGL2ES1: Fix ES1 usage FRONT -> FRONT_AND_BACK ; Use GL2ES1 profile (no emul) commit 9adc5153ff975dcf70320e722859d161fd1e747f Author: Sven Gothel Date: Mon Aug 1 15:18:54 2011 +0200 NEWT test: rgb == 555 is ok commit cdc94b8a404ee9fb9c83482038be593054cf45f5 Author: Sven Gothel Date: Mon Aug 1 15:17:58 2011 +0200 AWTNewtEvent Mapping: Unmapped value -1 -> 0xffffffff commit cb2c6e42963a018bdb73b55d4964c8abca7569d1 Author: Sven Gothel Date: Mon Aug 1 15:17:20 2011 +0200 Refine some DEBUG code (verbosity) commit 4d33a2df1e991ab75817dcb44061d88d3c499cdb Author: Sven Gothel Date: Mon Aug 1 15:16:14 2011 +0200 VBO and Texture Names: Allos (int) < 0 - unusual valid names for some GL impl. Turns out some GL impl. use VBO names like 0xa2d67443, which is (int) < 0. commit 2dbd16fc3edf29b39ba37a11b9fbf1b2aad75c45 Author: Sven Gothel Date: Mon Aug 1 15:14:39 2011 +0200 StateTracker: Map's KeyNotFound value -1 -> 0xffffffff... allowing unusual values. Impl -> final. Map's KeyNotFound value -1 -> 0xffffffff Turns out some GL impl. use VBO names like 0xa2d67443, which is (int) < 0. This is now handled in GLBufferStateTracker as well as for the others. Make methods final to restrict 'em. commit 0f0f6162cfbce1ad7db86e7e627721c4c918933c Author: Sven Gothel Date: Mon Aug 1 08:38:14 2011 +0200 Fixed regression of commit 360b86f4b5d0e440863c1749fe990e39fbabc51c commit df1c4e5553c18ccc1e0e3c24fe45697caf76654d Author: Sven Gothel Date: Sun Jul 31 21:19:36 2011 +0200 graph es2 glsl: #extension OES_standard_derivatives : require commit 78ef9bdf7ad5f1e78300208408572b9416c54578 Author: Sven Gothel Date: Sun Jul 31 21:04:01 2011 +0200 TAB -> SPACE commit 82f25e928a1abae1ae638ee82f45151c9ab59df9 Author: Sven Gothel Date: Sun Jul 31 20:51:26 2011 +0200 Add egl es test script for host (emu) commit 3037a4a0113482d233a20cdf3e2b29bdfcf22192 Author: Sven Gothel Date: Sun Jul 31 20:48:42 2011 +0200 Add crosstest script for linux/arm commit 97578d35bc6acb686cd2a7e32148218e1aed0a38 Author: Sven Gothel Date: Sun Jul 31 20:47:51 2011 +0200 ES1 Gears: Don't force fixed function emulation commit c50e9ccad092398bd45a437bb572edf32c9bb364 Author: Sven Gothel Date: Sun Jul 31 20:46:28 2011 +0200 Add ES1 Gears (w/ NEWT startup) commit 77ed6164729bd5bc1054f7b80cab2072aa787f98 Author: Sven Gothel Date: Sun Jul 31 20:45:40 2011 +0200 etc/profile.jogl: remove GL2ES12 config (impl. removed a long time ago) commit 96cbe03a943f3189531a7ec9baf680bdf1417929 Author: Sven Gothel Date: Sun Jul 31 20:45:06 2011 +0200 NativeWindow Capabilities: rgb -> 555, allows using low profile devices All GLCaps chooser will pick the highest available pixelformat, so if 32bpp is available rgba8888 will be used anyways. commit 355d1da079f9635bba3441482766f100b8c8e7ce Author: Sven Gothel Date: Sun Jul 31 20:43:41 2011 +0200 Graph Shader: def. GRAPHP to easily change precision, set to mediump; Add precision for all vars. commit 9f59125e322b80f62b791ae9af3ee6405307cbde Author: Sven Gothel Date: Sun Jul 31 20:41:49 2011 +0200 ruler.fp: Use es2 precision for all variables, otherwise es2 glsl compiler fails commit 99df2204c92eb06b37fba6ff75aa6b7f5e803502 Author: Sven Gothel Date: Sun Jul 31 20:40:56 2011 +0200 FixedFuncUtil: Name/Fix getFixedFuncImpl() -> wrapFixedFuncEmul() Fix wrapFixedFuncEmul(): - only wrap if ES2 and (!ES1 || force) - return same profile if ES1 - otherwise throw exception commit 3349511aeb68c1228e420b3c1ea1758bb75d3e03 Author: Sven Gothel Date: Sun Jul 31 20:38:09 2011 +0200 GLWindow::main(): show requested/chosen GLCaps commit d15b941d707bc286d0c33a1ead9464028e9a6c37 Author: Sven Gothel Date: Sun Jul 31 20:37:39 2011 +0200 GLProfile usage getMinDesktop() -> getMinimum(); WGL/X11 GLCaps: make attributes final commit 502c51bc5a549a79d03249863261af59aedeaeb3 Author: Sven Gothel Date: Sun Jul 31 20:35:55 2011 +0200 EGL: Set CTX_PROFILE_ES2_COMPAT if ES2; Allow any native device; Don't use libGL.so; Cosmetics EGL: Set CTX_PROFILE_ES2_COMPAT if ES2; Allow any native device for EGL - EGLDrawableFactory::getIsDeviceCompatible() -> true always, impl. shall handle all native windowing toolkit layers, if available. Don't use libGL.so - desktop GL library is exclusive for desktop bindings commit 8a456e30f400fff6bc9983fed5b10e561f4f3ddc Author: Sven Gothel Date: Sun Jul 31 20:31:12 2011 +0200 GLProfile: Fix exception; Minor Changes - GL_PROFILE_LIST_MIN_DESKTOP -> GL_PROFILE_LIST_MIN - Fix exception in glAvailabilityToString(), if no profile is available - getMinDesktop() -> getMinimum() commit f125d3d1acdb118a594a32708f6423408c4c126b Author: Sven Gothel Date: Sun Jul 31 20:18:06 2011 +0200 EGL: Collect all avail EGL caps w/o GLProfile preset ; Tolerate failing EGL.eglChooseConfig() ; Cosmetics Collect all avail EGL caps w/o GLProfile preset - pass GLProfile null for collecting all available EGL GLCapabilities, allowing EGLGLCapabilities to set the GLProfile regarding EGLConfig's renderableType. Tolerate failing EGL.eglChooseConfig() - use chooser algo, trying to pick one EGLConfig manually Cosmetic toHexString change commit 03ca640b6842c6070bcc3fb76e1c3464ea5c44a1 Author: Sven Gothel Date: Sun Jul 31 20:10:16 2011 +0200 EGL: Query EGL_RENDERABLE_TYPE, store it in EGLGLCapabilities and test w/ GLProfile compatibility EGLConfig's EGL_RENDERABLE_TYPE determines ES1, ES2 or VG usage (bitfield). We have to store and compare it's value w/ the desired GLProfile to choose a valid one, or just store it. commit 43ca6eea35ed06b462f609bd5704d9499c678927 Author: Sven Gothel Date: Sun Jul 31 19:33:04 2011 +0200 GLDrawableFactory::getFactoryImpl(): Only return the EGL factory if profile is native ES commit 2ce5d42eba3f1941141ad687498fd3955be942a5 Author: Sven Gothel Date: Sun Jul 31 19:32:02 2011 +0200 NEWT ScreenModes: Add current ScreenMode if none could be collected. On Linux/ARMv7 (Ubuntu 11.04) it appears that the native RnR methods could not collect ScreenModes. In such case, at least we add the current mode as a fallback. This allows using the current mode information. commit 8998ed04a1c0aa0f96ab463dba40e4087732cdb8 Author: Sven Gothel Date: Sun Jul 31 19:29:27 2011 +0200 JoglVersion: Add info whether shader-compiler exists or not commit 56d8fa826f78f1cadc623d8c8740d555ec2dc52b Author: Sven Gothel Date: Sun Jul 31 19:28:23 2011 +0200 ES Native Libraries: Add missing GLDebugMessageHandler code .. commit c1c8dcbb0d51e4e2a902db129e5a6991d84c5fc9 Author: Sven Gothel Date: Sun Jul 31 19:25:13 2011 +0200 JOGL: Add GLBase::isGLES2Compatible() Indicates whether this GL object is compatible with OpenGL ES2, i.e. has the extension GL_ARB_ES2_compatibility commit a7bd295f0fd5740833a0c2fb55c474d995f65819 Author: Sven Gothel Date: Fri Jul 29 12:05:43 2011 +0200 NEW unit test, use bug 502 workaround property until fixed otherwise commit 630c9ce1dc643934f276b58b4cab0e04becf9879 Author: Sven Gothel Date: Thu Jul 28 16:48:47 2011 +0200 add linux/armv7 scripts [[cross] compile clean] commit 7fe124eaf9f96b3dad5347f3301b8f7efaf96043 Author: Sven Gothel Date: Thu Jul 28 16:23:52 2011 +0200 test case GLWindow commit b622198e3ac14261f26fad385c63e35359c3530b Author: Sven Gothel Date: Thu Jul 28 16:23:32 2011 +0200 script: no need for custom linux-x86 on multilib platform commit 81a679d3b1a63ed91b7909db24e1fee58d69b3c2 Author: Sven Gothel Date: Thu Jul 28 16:23:05 2011 +0200 gl header cfg: use __unix__ define, instead of all avail variations (linux, sun, ..) commit 02791a2ac598e36c343b74ae07fe2a0e09ea7303 Author: Sven Gothel Date: Thu Jul 28 16:22:13 2011 +0200 build: add linux/armv7 support ; only add resources once w/o java source commit 783f2ee31cd7026f5bb2bcd144e8cae75accda20 Author: Sven Gothel Date: Thu Jul 28 16:20:43 2011 +0200 adapt to gluegen Platform change commit 8e8fd396c2a04837f5d25f45ed8231b114e26ae4 Author: Sven Gothel Date: Thu Jul 28 16:20:24 2011 +0200 added (c) header commit 2fdad3b074298df2f246505a52ad8325eef5b9b3 Author: Sven Gothel Date: Thu Jul 28 16:20:03 2011 +0200 updated runtime properties (debug) doc commit 0d33c08d880ab035911b0af0c87e1fdf11e7ad60 Author: Sven Gothel Date: Thu Jul 21 12:36:05 2011 +0200 fix url: .com -> .org commit c1fb37cdaff46d23717eac402abaea82e2a503f1 Author: Sven Gothel Date: Thu Jul 21 12:32:49 2011 +0200 Use GlueGen Platform's OSType enum commit afd46dbeca16a87baba61ae5bfd7767984d66197 Author: Sven Gothel Date: Wed Jul 13 03:26:22 2011 +0200 add url to opengl and khronos commit 042c81fd6d19d2f6d078b29c965862bde9f55f02 Author: Sven Gothel Date: Wed Jul 13 03:19:37 2011 +0200 Fix UML size commit 5dc5f36caf831b15c94b4d059577b1c461ea6cd3 Author: Sven Gothel Date: Wed Jul 13 03:08:39 2011 +0200 Add Documentation: OpenGL-Evolution-And-JOGL commit bdeed41cd4d48e13e1a00bf7030975ddcc79cff6 Author: Sven Gothel Date: Thu Jul 7 22:40:07 2011 +0200 Fix 'main' invocation commit 64af11278dfe4d3feb223775e0b3a83a968fcabc Author: Sven Gothel Date: Thu Jul 7 03:41:25 2011 +0200 Fix SharedResource (SR) Initialization - Catch exceptions in SR thread avoiding deadlock in blocking caller thread - Catch NPE on SR queries to return null if appropriate commit 29cc5fa0375026c09bcbfed16627fe9eb6c97846 Author: Sven Gothel Date: Thu Jul 7 03:39:43 2011 +0200 GLProfile: Initialization fix and clarifications ( GLExceptions on n/a profiles ) - GLProfile.initSingleton(boolean) (implicit or explicit) won't throw any exception anymore. Followup 'GLProfile GLProfile.get(..)' calls will throw a GLException, if n/a. Availability maybe queried via GLProfile.isAvailable(..). - GLCapabilties, GLCanvas, GLJPanel: Clarify case where GLException maybe thrown, i.e. no default GLProfile available on default device. - Remove redundant GLProfile.isAvailable(..) commit c9903cf9d4ceda09ec07ef340f8aa3d0a104e23a Author: Sven Gothel Date: Tue Jun 28 14:14:42 2011 +0200 main git source location if jogamp commit 7d21b3e694d716f4b8ce640127001e38cb059981 Author: Sven Gothel Date: Sun Jun 26 16:32:35 2011 +0200 Fix NEWT GL ctx/offscreen (GPUMemSec..) tests: Use pbuffer (i.e. hw accel GL driver) commit f73138e52eb9829b6315f552a9a159acfed040c8 Author: Sven Gothel Date: Sun Jun 26 07:48:25 2011 +0200 add property 'nativewindow.x11.mt-bug' to test script .. commit 536aafb2891ad547627ec29625fc3aad4a190e12 Author: Sven Gothel Date: Sun Jun 26 06:45:05 2011 +0200 Cleanup UITestCase helper, expose test class name via get*TestName() .. commit 56e46acce6d26e0fdc2fd317649b11f1f71f621a Author: Sven Gothel Date: Sun Jun 26 06:43:46 2011 +0200 Woraround for bug 502: X11/NEWT Stalling due to libX11/XCB Multithreading bug (libX11 1.4.2, libXCB 1.7; ubuntu 11.04, ..) - https://jogamp.org/bugzilla/show_bug.cgi?id=502 - set the boolean property 'nativewindow.x11.mt-bug' to 'true', indicating the erroneous libX11/libXCB behavior. This will enable extensive X11 locking even in NEWT. commit f405ae4ac0928fa5682f0a1f75c70cdb46e261b4 Author: Sven Gothel Date: Sun Jun 26 04:53:36 2011 +0200 X11 Nativewindow/NEWT: X11 Error Handler (JNIEnv query for thread, stack trace), cleanup - X11 Error Handler: if throwing JVM stack trace or fatal JVM error query proper JNIEnv for running thread and attach thread to JVM if necessary. - NEWT/X11: Proper XEvent polling documentation, cleanup window creation event mask commit b71946ce8b1b7ce9ca3d26c554d4a9862aabd577 Author: Rami Santina Date: Mon Jun 20 14:27:56 2011 +0300 Handle curved triangles overlaps. subdivde overlaping triangles for the case when 2 triangles intersect either by vextex of Traingle A in Triangle B or an edge in A intersects an edge in B VectorUtil: -added tri2triIntersection test (not optimized) -added seg2segIntersection test (not optimized) commit 83e82c3f72901a062cd2e73f4fc53353addcb337 Author: Rami Santina Date: Tue Jun 14 11:10:27 2011 +0300 Added handling for offcurve triangle overlaps. subdivde overlaping triangles for the case of vertex inside a off-curve boundary triangle. added vertex in triangle test (using barycentric coordinates) commit d578d3c3f1d3d8df4912ec259a186bfe562a448c Author: Sven Gothel Date: Sun Jun 12 04:00:21 2011 +0200 Minor editing (compile script, X11Window.c - cleanups) commit bd1c8685d10a82108f959aae5a2f39b5570446be Author: Sven Gothel Date: Sun Jun 12 02:55:29 2011 +0200 X11/Newt Locking: Clarify dependency of XInitThreads() hack commit fec792f54c29ea86a39330f1a2adb816003443a6 Author: Sven Gothel Date: Sun Jun 12 02:42:24 2011 +0200 Minor editing/cleanups: code/test - Don't call "NativeWindowFactory.initSingleton(true);" after "GLProfile.initSingleton(true);", since it's redundant, the former call issues the removed one. commit 090ea75c8e3e14fe7c68b5ed9a183c917e881258 Author: Sven Gothel Date: Sat Jun 11 05:08:38 2011 +0200 TestGLSLShaderState01 PerfTest: 2min timeout / swapInterval 0 / start counter after warmup commit b4160e7516103926a289490b3344415052f8e8a3 Author: Sven Gothel Date: Sat Jun 11 02:55:54 2011 +0200 Relocated SingletonInstance to GlueGen (where a ServerSocket impl. is added). Using ServerSocket in UITestCase for SingletonInstance impl. commit 17e15235e26017e21f8b7b7e0fb3a26b1798e435 Author: Sven Gothel Date: Sat Jun 11 01:51:05 2011 +0200 test bat/sh files edit .. commit 536dc9979ae965fd5fc0e14bb306c6e2d12ac584 Author: Sven Gothel Date: Sat Jun 11 01:50:42 2011 +0200 Utilize GlueGen's platform independent header for stdin.h, gluegen_stdint.h, .. (remove local copy) - Use them for gluegen code generation - Use them for native compilation (cc) commit 9ea120c599476901fdfcc39f133abf26d7d22c0c Author: Sven Gothel Date: Thu Jun 9 17:32:07 2011 +0200 windows batch files: bump to 6u26 commit f841a3a356d4d10f0e1482304148d7537b7371e7 Author: Sven Gothel Date: Thu Jun 9 17:31:40 2011 +0200 src-zip: no compression to benefit from xz/7z compression commit fec30ebb17aa728fe789b0c3cf21a0524b9337c5 Author: Sven Gothel Date: Thu Jun 9 00:43:23 2011 +0200 Simplify and fix GL2GL3 usage (save/restore) commit 423f5bf7f518433edcbf64accaf2cf5252cb4a63 Author: Sven Gothel Date: Thu Jun 9 00:42:41 2011 +0200 GLBuffers fix ; GL imageSizeInBytes fix / unit tests. - Moved implementation of prev GL imageSizeInBytes(..) -> GLBuffers.sizeof() for all GL profiles - GLBuffers.*: Added missing formats and types (GL2.1, GL3.3 and GL4.1) - GLBuffers.sizeof(): Fail fast if format/type is unhandled, or alignment invalid - Added unit test for GLBuffers.sizeof() commit 138ddda3f346db0f1d8b4bac1760d415e7dc3d70 Author: Sven Gothel Date: Wed Jun 8 05:58:07 2011 +0200 Locator moved to GlueGen's IOUtil (gluegen a87c56c95099de5b6cbc9bd8bf6f1924a3dd6387) commit 24a117c1fb0af458f70932fa48b8052c16a4fa7f Author: Sven Gothel Date: Wed Jun 8 04:25:26 2011 +0200 Locator Util: Clarify API doc a bit commit cb572e9af91b58a54ca336b82e704fa7d29577cf Author: Sven Gothel Date: Tue Jun 7 18:30:53 2011 +0200 unit test: use class global GLProfile commit 9ff2b3fccc95e5ff51b89f6a92048f12dc902647 Author: Sven Gothel Date: Tue Jun 7 18:29:40 2011 +0200 import cleanup commit 0a82b8cd8fc964c38c6d447669985d178a34f9d0 Author: Sven Gothel Date: Tue Jun 7 18:29:28 2011 +0200 NEWT unit test util, on/offscreen GLContext/NEWT window separation commit cf36398314270c2c50d55b23736e5bff8b62337d Author: Sven Gothel Date: Tue Jun 7 18:28:22 2011 +0200 Using GlueGen IOUtil (dropped StreamUtil, FileUtil); Public GLReadBufferUtil (screenshot etc) and GLPixelStorageModes - Using GlueGen IOUtil, dropping StreamUtil and FileUtil - Public (util) GLReadBufferUtil for screenshots and slow r2t (AWT less), as well as GLPixelStorageModes commit d23d1dd01cc7e3bb228d65feb8f781c4ff0e5e11 Author: Rami Santina Date: Sun Jun 5 23:12:36 2011 +0300 Graph: Remove unused imports commit dce77f00239074d33bb7dca4009e45ba87141093 Author: Rami Santina Date: Sun Jun 5 22:05:38 2011 +0300 Graph: updated inclass documentations commit 820fd3f4e45cfa79e94fad385eb47ff26a5fea2b Author: Rami Santina Date: Sun Jun 5 16:17:47 2011 +0300 Add Factory for triangulation with base Interface; misc cleanup CDTriangulation moved to impl (jogamp.graph), where additional triangulations or a wrapper to GLU triangulation can be added to triangulator. TWO_PASS_RENDERING renamed to VBAA (algorithm name) misc comments cleanups commit 64c7bea57d353729c93e1f60272e400a712ca47e Author: Rami Santina Date: Sun Jun 5 10:37:19 2011 +0300 Fix: transform to Quadratic; Refactor method names commit 9cefde9395002717bb6bfde461f4a65c69a888dd Author: Rami Santina Date: Thu Jun 2 16:00:01 2011 +0300 Font and TypecastRender generate array of OutlineShapes instead of Path2D GlyphShape and GlyphString use only OutlineShapes commit f48f1f68ed51fd83f0fa5282209b556eab39e23e Author: Sven Gothel Date: Sun May 22 06:52:18 2011 +0200 create source zip archives per default commit 5ea211cde39be9669d1f2f289abbba460398f82e Author: Rami Santina Date: Sat May 21 17:49:08 2011 +0300 Remove implicit for loops reduces temp objects commit 9e599f84bc02ef2db63b6eb1cadfa33f56dddd66 Author: Rami Santina Date: Sat May 21 15:35:37 2011 +0300 Fix: vertex in loop test; using crossing method Changed algo for in/out test of vertex wrt arbitrary polygon to crossing test since angle based is shown prune to precision errors commit 23163408131b077362439ec4f898d0ad3ce084e1 Author: Sven Gothel Date: Tue May 17 19:03:11 2011 +0200 Fix ShaderProgram double destroy() commit 4dab9cfb6526d1c53a8c796c4e102264d11dc0cb Author: Sven Gothel Date: Tue May 17 17:04:03 2011 +0200 Add all.debug target commit 2762d56385b2f64f39a49431868315e6241c60a5 Author: Sven Gothel Date: Tue May 17 16:10:28 2011 +0200 leave java source zip file in build folder (if BUILD_ARCHIVE=true) commit 61a9cd15e166cbb544d0fa59af7b6c13f0456659 Author: Sven Gothel Date: Tue May 17 13:58:40 2011 +0200 NEWT/GLContext (unit test): Wait for visibility/realized ; Add clean scripts commit f08f31480433674db753f226f15609f9eab5b6fc Author: Sven Gothel Date: Tue May 17 13:06:58 2011 +0200 GLSL unit tests: cleanup shader state tests commit 6bd444a80f2b1ec6cfac1518bf31a487de3f17b5 Author: Sven Gothel Date: Tue May 17 13:06:09 2011 +0200 FIX graph FBObject usage - 526ea7a3fb579f88a0c0a1e597387aae29d5aa06 commit 526ea7a3fb579f88a0c0a1e597387aae29d5aa06 Author: Sven Gothel Date: Tue May 17 13:03:07 2011 +0200 Fix/Extend FBObject (API Change): plain init(GL), support multiple attachTexture2D(..) (MRT) w/ tex units - plain initialization via init(GL) - dedicated texture2D color buffer attachement attachTexture2D(..) w/ tex units ( Date: Tue May 17 12:55:37 2011 +0200 JOGL/GLDebug/GLTrace: Gluegen/BuildComposablePipeline: print arguments in debug pipe; common param print commit 89c243c4b1210da083afe43b37a1180c98a54414 Author: Sven Gothel Date: Tue May 17 12:53:26 2011 +0200 Fix: GLSLArrayHandler (data has no location); Fix ShaderState (switch program: set prev. !inUse) commit dbfae67a9248296e4ad3586ffe8c05d9fb179eaf Author: Sven Gothel Date: Tue May 17 12:51:29 2011 +0200 ShaderProgram: useProgram(..) -> public commit d2d47b1ab22bdc54ff35c1466934138bcb6906b4 Author: Sven Gothel Date: Tue May 17 12:49:52 2011 +0200 GLSL UnitTest: Reloc Ruler and make local fields final commit a0777144c46d12d148556ed64ad0a9b9d6d24c0c Author: Sven Gothel Date: Mon May 16 03:48:29 2011 +0200 JUnit Test: Add 'ruler' testcase using monitor mode's mm/pixel size. commit b82a409135f3b79889499d77c8ecffc80e310a20 Author: Sven Gothel Date: Mon May 16 03:31:49 2011 +0200 JUnit Tests: Extract utility of creating a NEWT Window w/ GLContext w/o auto drawable (NEWTGLContext) commit f3de07e479c7849d0172a03bb82ce9189da5679e Author: Sven Gothel Date: Mon May 16 03:30:33 2011 +0200 Fix ShaderState useProgram() case: on && program not linked (yet) commit 2f89bf30607281bb8dc0a07b185fa403b9b0f093 Author: Sven Gothel Date: Mon May 16 03:28:25 2011 +0200 build: Query git branch/sha1 and use it if not set and tools are available; Add Java source zip file. Query git branch/sha1 and use it if not set and tools are available. This shall improve tracking of manual generated binaries/bundles. Add Java source zip file. Contains all Java source code (incl. generated ones) enhancing IDE usage, where API doc and source browsing of libs is supported (NB/Eclipse/etc). commit b58d6d6ccf9c622f2377cf6c0c3487a8897aba6d Author: Sven Gothel Date: Wed May 11 00:25:37 2011 +0200 Graph: Add comments 'n questions (FIXME?) commit f5ec2dd42244282c2a005269ae4674ab78af269a Author: Sven Gothel Date: Tue May 10 23:54:39 2011 +0200 Graph: getWinding(ArrayList vertices) test; minor renaming commit 9ceff75afcbf6c446e75c1be6b4be1e62d543f3a Author: Sven Gothel Date: Tue May 10 23:38:40 2011 +0200 Graph/Loop: More readable/verbose invert case; using Winding enum; ttf reader: Adding debug dump of font direction hint commit 192631530503b8046abcfa9b2ca6760e3f39ae66 Author: Rami Santina Date: Tue May 10 14:29:12 2011 +0300 Fix: glyph outline orientation with the removal of inversion commit 1303328b476570d94e56c9d2fc061e3b09cf538a Author: Sven Gothel Date: Mon May 9 14:25:59 2011 +0200 Loop: Fix invert; GlyphString/createRegion: Remove unnecessary on-the-fly object creation commit 4ccf5ed0cc14743a3a97d7b0dcc61e839d263a1a Author: Sven Gothel Date: Mon May 9 01:24:14 2011 +0200 Graph/UI-Demo: Use RegionRenderer for region and text, start data/gl separation (2) Complete commit 77910075c04d4c86aabf12a2853b381f804bf04a, oops, got a fs corruption. commit 77910075c04d4c86aabf12a2853b381f804bf04a Author: Sven Gothel Date: Sun May 8 05:38:38 2011 +0200 Graph/UI-Demo: Use RegionRenderer for region and text, start data/gl separation commit fbb4e5822c2da4458bfaeb728ba0eb2e45184e77 Author: Sven Gothel Date: Sun May 8 05:37:45 2011 +0200 Graph/Tests: Adapt to latest commits .. commit b96b95e44e96dace30836c14704ca73ad3f22106 Author: Sven Gothel Date: Sun May 8 05:37:07 2011 +0200 TypecastRenderer: Avoid -y direction and later y-flipping / FIXME: math must be updated .. Rami ? commit 4177630e8b8d5ddd4c32f396c457cfbb50128916 Author: Sven Gothel Date: Sun May 8 05:36:19 2011 +0200 Graph: whitespace .. commit fc5b810cb210f22572815642cdc810c7dc472319 Author: Sven Gothel Date: Sun May 8 05:36:01 2011 +0200 Graph/GLyph*: Add static factory method for non Renderer creation, separating text->OutlineShape and OutlineShape->Region step. commit 624a52690b429c486bb8946d58f77936ead41785 Author: Sven Gothel Date: Sun May 8 05:34:16 2011 +0200 Graph VBORegion*: Lazy GL alloc of resources at update(GL, ..) not constructor commit 169f4a60fee62e7742c33596c1494901d9ba8df9 Author: Sven Gothel Date: Sun May 8 05:32:52 2011 +0200 JOGL/ShaderCode: Dump proper GLSL source w/ line numbers if GLSLCode debug prop is set commit 2c5bdd6b2810d9fd19f358d92cf63e03cefeec2d Author: Sven Gothel Date: Sun May 8 05:32:14 2011 +0200 Graph/JOGL: Avoid NPE commit eefa76604706bcaa55a1a324cb4eef78dd7a030c Author: Sven Gothel Date: Sun May 8 05:31:39 2011 +0200 Graph/Font: use StringBuilder commit d60bc9c4bc4a6f99bafa8c723b3d7f3bacc80950 Author: Sven Gothel Date: Sun May 8 05:30:38 2011 +0200 Graph: RenderState (interface -> abstract) missing commit of e122b2f92b2302362569cdc9a67efd5750f46eb1 commit 9caa7eeee9408fdafa8b3bc04bd963e2fa818e13 Author: Sven Gothel Date: Sun May 8 05:29:13 2011 +0200 Graph: OutlineShape fix, cleanup OutlineShape: - add clear() - safe addEmptyOutline() - fix addOutline(..) - add addOutlineShape(OutlineShape) - commit e122b2f92b2302362569cdc9a67efd5750f46eb1 Author: Sven Gothel Date: Sun May 8 05:21:50 2011 +0200 Graph: GLSL fix, Adding renderModes bits instead of dedicated booleans, Region/GLRegion, .. GLSL fix: - allowing #version tag - add uniform textureSize (ES2) - fix int/float conversion Region/GLRegion: - non OpenGL Region and GL related GLRegion split Region/Renderer renderModes bits (def. in Region) - user creates a Renderer* impl .. and derive Region*'s from outline, possibly from a different code path. - to avoid mode explosion, a bit field is being used for now - Renderer: remove flushCache(), since non caching impl. is intended, or caching by an external user transparent object. commit f5aaaf5cd65dedba658392cc30edb24b0dc3c026 Author: Sven Gothel Date: Fri May 6 15:57:16 2011 +0200 Graph / Text: Use CharSequence as char/string interface to text rendering Implements more of John Pritchard proposal https://github.com/syntelos/jogl/commit/eadee0758babcddaa5eeaffbe046e1b09f9f550e commit eeb7c5fae3caf508fe5a6021ce700630632c6a02 Author: Sven Gothel Date: Fri May 6 15:10:42 2011 +0200 Graph: more clone() cleanup. - throw InternalError() for CloneNotSupportedException case, which never happens - AffineTransform clone() uses covariant return type as well, ie AffineTransform commit 2570c1bee6dd8b33ac2e92b533e32b69b02a2cfc Author: Sven Gothel Date: Fri May 6 14:50:56 2011 +0200 GlyphShape: Use switch block for PathIterator - adding default (exception) Implements more of John Pritchard proposal https://github.com/syntelos/jogl/commit/05a7ec92d30e1e688b1eb7cc317cad83a0e8fd60 commit d75835796900cac602f7e5789601ffba0a27efe2 Author: Sven Gothel Date: Fri May 6 14:39:17 2011 +0200 Graph: More std. functionality (equals, clone) / Better in-place transformation (cubic -> quadratic) Impl. more of John Pritchard proposal https://github.com/syntelos/jogl/commit/05a7ec92d30e1e688b1eb7cc317cad83a0e8fd60 +++ More std. functionality (equals, deep clone) of AABBox, Vertex, Outline and OutlineShape. Simplify Vertex: - Remove 2 component constructor - Add on-curve in Vertex.Factory / Constructor - Adding equals(Object) - Remove Comparable/compareTo, since we only can make an equals statement Outline/OutlineShape: Handle dirty flag for boundary (new set/remove operation) OutlineShape: Better in-place transformation (cubic -> quadratic) commit 59aa8737528743b83cf56b804c9d713bc325c97c Author: Sven Gothel Date: Thu May 5 13:07:42 2011 +0200 Merging OutlineShape.VerticesState enum type (John Pritchard https://github.com/syntelos/jogl/commit/05a7ec92d30e1e688b1eb7cc317cad83a0e8fd60#L0R59) commit 21b13e0fccf48a2396cbffb611345f02a9117bdc Author: Rami Santina Date: Tue May 3 16:43:25 2011 +0300 Cleanup nonuniform impl(method params and comments) commit 8578860e5f9f1b98651373accc53b0bfe6f07ba2 Author: Rami Santina Date: Mon May 2 19:30:30 2011 +0300 Refactor getOutline --> getPaths (actual behaviour) commit 307ba4ea320a91d5731274ed3191bea840d1fe70 Author: Rami Santina Date: Mon May 2 19:28:47 2011 +0300 Added nonuniform weight impl; misc enhancements/cleanups Seperate texcoords from shaprness Added NonUniform weight shader impl for region impl only (not text) Refactor p1y --> weight (equiv to nurbs weight) cleanup shader uniforms (rename/remove unneeded) Enhanced blending of text GPURegionNewtDemo01 - added weight W/Q to manipulate weight refactor r2t --> vbaa (matching algorithm name) commit 73ce473d7bf4de653bb23baa318cc8cdcb03e8ce Author: Sven Gothel Date: Sun May 1 08:12:59 2011 +0200 UITest AWTRobot: Use AWT double click TO commit cf2ebbf3e584e7f7a15c323633a495b119ece37e Author: Sven Gothel Date: Sun May 1 06:40:46 2011 +0200 UI Tests/Robot: Attempt to stabilize UI tests (focus/input) Focus: Always programmatic, clear global focus state upfront Key/Mouse Input: Retry w/ optional focus request if lost .. Dropped redundant robot delays, ie between keypress/release. commit 05a11c5918f12e376d89b0fcb237e4afe356278c Author: Sven Gothel Date: Sun May 1 06:35:38 2011 +0200 UI Unit Tests: OO rework of EventCountAdapter Key/Mouse: Track 'pressed' state Focus: Simplify 'focused' state tracking commit ff91e88700339dac7e91ffcf7ee3f43c446a4e37 Author: Sven Gothel Date: Sun May 1 01:12:56 2011 +0200 UI Unit Tests: Add test name to log and singleton lock, better log output commit 9ffd8a9687770a4cadb5df19ec206436f9a9b0e4 Author: Sven Gothel Date: Fri Apr 29 01:35:21 2011 +0200 Fix GLDebugMessages synchronous setting 39a8ca392d7302831f5689979c4ce89145b732af, only set if ARB commit 39a8ca392d7302831f5689979c4ce89145b732af Author: Sven Gothel Date: Thu Apr 28 22:09:31 2011 +0200 GLContext GLDebugMessages: Add synchronous status/dumpStack; Remove length in aliased glDebugMessageInsert. - GLDebugMessages add synchronous status - defaults to true - GLContext/GLDebugMessages add dumpStack() if jogl.debug.DebugGL is set - Remove param length in aliased glDebugMessageInsert. commit 23bc6204b5e518e397e4ee4cdbe06f789970ee4f Author: Sven Gothel Date: Thu Apr 28 11:23:32 2011 +0200 GLRunnable Injection Thread Test: Slow down injection to 10Hz commit 09a63b963c2bd4212a072c373b36511478721daa Author: Sven Gothel Date: Thu Apr 28 11:22:27 2011 +0200 Unit Test Framework SingletonInstance: setup file unlock/delete asap commit a34adb62a78c033a5caf27f3660b18bfc3e59edd Author: Sven Gothel Date: Thu Apr 28 08:15:11 2011 +0200 Fix glsl unit tests: NV needs to have explicitly turn off vsync / Fix 'sed' havoc: gcu_ -> mgl_ uniform names commit a66acbec16c339db66d5f9242f44b3b539808b99 Author: Sven Gothel Date: Thu Apr 28 08:12:26 2011 +0200 ShaderState Switch Program: Only disable current program if no new one; Better toString formating commit b7f5600f842e4e438eba51711b4aa9b23d5789bc Author: Sven Gothel Date: Thu Apr 28 01:12:30 2011 +0200 GetDebugMessageLogARB/AMD 'messagelog' param is return value, hence can't be of type String commit 25944aa4dbb86f5087718e8c9b798018d403b222 Author: Sven Gothel Date: Thu Apr 28 00:59:02 2011 +0200 Utilize general validation of fbcfg (further validation w/ query), refines f50f40e0fb2789537ecc19f8eaff439b24294a65 commit 50f0e0cd916324779ded008089dbc1b95193295a Author: Sven Gothel Date: Tue Apr 26 19:45:30 2011 +0200 MacOSX/CGL Add CGLGetShareGroup() commit e007bb306124411e0232e51d16aa493cbd361f74 Author: Sven Gothel Date: Tue Apr 26 08:10:10 2011 +0200 Newt Window: Missing change of f47230cb4649df13260ac56c5dae6c01dad7c1e7 (remove invalidate()) commit 68aeb5dcd9f282a0a3ce6210808ce6b92063e229 Author: Sven Gothel Date: Tue Apr 26 07:55:48 2011 +0200 test script commit 2da29975e345fd3554436027f59b6f46ace22bcb Author: Sven Gothel Date: Tue Apr 26 07:54:11 2011 +0200 Graph Demos: Add F4 key to exit; Proper exit sequence w/ animator.stop() after window is destroyed to exit the JVM commit 360b86f4b5d0e440863c1749fe990e39fbabc51c Author: Sven Gothel Date: Tue Apr 26 07:53:27 2011 +0200 ShaderState: Add 'ownUniform()/ownAttribute()'; rename glFunction -> function; switch program enh. ; Graph lifecycle Add 'ownUniform()/ownAttribute()' allowing to reset all bound uniforms/attributes, not just active ones plus handling the lifecycle of the owned attributes (destroy). This simplifies the lifecycle of all shader attributes. Rename glFunction -> function .. well, the GL attribute marks them GL related already Switch program enhancement. If switching to new program (unlinked), issue glBindAttributeLocation .. Graph lifecycle cleanup using the above .. commit f47230cb4649df13260ac56c5dae6c01dad7c1e7 Author: Sven Gothel Date: Tue Apr 26 07:47:19 2011 +0200 Newt Window: Remove 'invalidate()' method, only 'destroy()' is required (and makes sense) - WindowImpl/GLWindow: Cleanup destroy code .. - Tests: sync / remove FPS stderr print commit 6e499630c878ff74c81c1c6c84542230a48e2c5d Author: Sven Gothel Date: Tue Apr 26 07:41:47 2011 +0200 NativeWindow/X11: Simple cleanup/generalization .. commit a9a52941ca052d6262dbad49acc0d3646730bae8 Author: Sven Gothel Date: Tue Apr 26 07:41:17 2011 +0200 NEWT/X11 WindowClosing: End dispatch loop since Display could be destroyed after Java callback commit 727ad54808664e3028fee64cfca98dd9f0bcfbf6 Author: Sven Gothel Date: Mon Apr 25 15:54:35 2011 +0200 ShaderState: 'Update' vertexAttribMap on enable ShaderProgram: - shaderCode's HashMap -> HashSet - adding HashSet for attached ShaderCode - link: allow relink, attachShader only if not yet attached - new add(gl, ShaderCode, ..) method, allowing compile/attach pre linkage - remove boxing of integer 'id', use generics style (warnings) - rename: glReplaceShader -> replaceShader, glUseProgram -> useProgram - fix: replaceShader - hashCode _is_ 'id' ShaderCode: - remove boxing of integer 'id', use generics style (warnings) - hashCode _is_ 'id' ShaderUtil: Use generics style (warnings), static names commit e24ea541924d365c8a0896245436ca55e1575a22 Author: Sven Gothel Date: Mon Apr 25 15:43:21 2011 +0200 Use less updated animator fps commit 61647a8da2279e1bf04a7bbe09a8912d70e90162 Author: Sven Gothel Date: Mon Apr 25 15:39:55 2011 +0200 graph/glsl: AMD need vertice attrib location 0 .. commit 41f73bf3bb8127dcfbbfb815bc7487007b47253c Author: Sven Gothel Date: Mon Apr 25 15:38:35 2011 +0200 Fix GLSL Shader tests .. commit 90bfd948586881b20704f33acbb74514d27faefe Author: Sven Gothel Date: Mon Apr 25 13:44:16 2011 +0200 FPSCounter def to 5*60 frames (each 5s at 60Hz) ; Test: each 1s commit 42f7784ecfef4ca0016775f41c520957c2bf09a6 Author: Sven Gothel Date: Mon Apr 25 10:26:47 2011 +0200 test scripts commit 83f79535ff424cc31411c156ec4706ddd5bf0dd2 Author: Sven Gothel Date: Mon Apr 25 10:20:41 2011 +0200 GLContextImpl.createContextARB(..): Use impl. GLProfile to determine requested context .. this fixes the bug where [GL2ES2/GL4bc] didn't fetch GL4bc, but a GL2 old context. commit 6cc35a9171db43f6c7551cc1c89202c08c88eae9 Author: Sven Gothel Date: Sun Apr 24 14:13:18 2011 +0200 jogl.debug.DebugGL enables new DebugMessage/Output feature commit 72484bf9f6e5109982cfa825f167f10d29061ff0 Author: Sven Gothel Date: Sun Apr 24 14:12:33 2011 +0200 Graph: Fix AMD shader complain (version) ; No Attributes in fragment program ; Disable FPS draw at start commit 769e370f1c6948a02780466ebbc7f0c509eede26 Author: Sven Gothel Date: Sun Apr 24 14:10:46 2011 +0200 Fix junit tests: Enable FPSCounter (missing from ea819ff768d507c37a981c1ab0bdc0cad32c6a87) commit 1687976556fd38178e8dd85bcb0bdc86d8f542fa Author: Sven Gothel Date: Sun Apr 24 12:25:48 2011 +0200 NEWT Event Types: Use final modifier if possible commit 4366809395292f3b8191e2d437099627d02cac08 Author: Sven Gothel Date: Sun Apr 24 12:25:22 2011 +0200 GLDrawableHelper: listener's locking cleaned ; Fix generics (warnings) .. GLDrawableHelper always locked access to it's listeners, hence no copy is required for add/remove a listener. Writeout generics (warnings) commit 00effd256a12eb4729fac2a823f80f05cc62c619 Author: Sven Gothel Date: Sun Apr 24 12:23:04 2011 +0200 Fixed a few GL method's String parameter (explicit gluegen String declaration) commit 668cd63f16abc9e7e9929d6bd1b786bf0664aace Author: Sven Gothel Date: Sun Apr 24 12:22:07 2011 +0200 Misc cleanup, strings etc commit 6c0ad949be979d5fed95a1166d59100f7bf5580f Author: Sven Gothel Date: Sun Apr 24 12:21:36 2011 +0200 Add unified support for GL_ARB_debug_output and GL_AMD_debug_output. If GL_ARB_debug_output is not available, but GL_AMD_debug_output exist, fallback to the latter, offering generic aliased methods translating the delta (AMD category <-> ARB source/type). Generic aliased methods reside in GLContext* Enable/Disable via GLContext and GLAutoDrawable. To enable the GLDebugOutput feature GLContext.enableGLDebugMessage(true) or GLContext.setContextCreationFlags(GLContext.CTX_OPTION_DEBUG) shall be called _before_ context creation via GLContext.makeCurrent()! In case GLAutoDrawable is being used, GLAutoDrawable.setContextCreationFlags(GLContext.CTX_OPTION_DEBUG) shall be issued before context creation via GLContext.makeCurrent()!. After context creation, the GLDebugOutput feature may be enabled or disabled at any time using this method. Verify both unit tests for usability. commit ea819ff768d507c37a981c1ab0bdc0cad32c6a87 Author: Sven Gothel Date: Sat Apr 23 06:20:45 2011 +0200 New FPSCounter, impl. by GLWindow and GLAnimatorControl (fps perf related API change) - Don't fetch System.currentTimeMillis() by default and for every frame (performance) - Default behavior is FPSCounter switched off - Enable by frame interval, ie measure each 60 frames. - FPSCounterImpl is default impl. used by impl. FPSCounter class (reduce code/redundancy) - Might be promoted to GLAutoDrawable ?! commit f5e0656fe20925d8c921d1b4cc70acd02dfbf9fd Author: Sven Gothel Date: Sat Apr 23 06:14:38 2011 +0200 GLContextImpl: GLContextLock -> RecursiveLock RecursiveLock maintains a queue of waiting Threads, ensuring the longest waiting thread will be notified at unlock. Delete GLContextLock. Cleanup HashMap generics style. commit 48201a6ea6471eb5951edb735b36156ab3410a15 Author: Sven Gothel Date: Sat Apr 23 06:12:10 2011 +0200 Refactored graph: Reduce/remove data copy/recreation; Shader cleanup - Pass the current GL context object where it's required - Introduce RenderState (which has ShaderState) to acquire/change shader related data (Region) - Shader Cleanup: User import for common stuff; use req. version - Reduce/remove data copy/recreation in *Region implementation - UI/RIButton: Use defaults I like :) commit 54f58c0cb990eb2b4fc8c3be785cc47bde575f37 Author: Sven Gothel Date: Fri Apr 22 14:29:12 2011 +0200 ShaderState: Validated impl./state-handling / Added comments Capable of glBinAttribLocation(..) Proper state check (has program, linked program, ..) for attrib/uniform methods. commit c1688186ece849002650bdb667a71bbcc628a684 Author: Sven Gothel Date: Fri Apr 22 06:10:25 2011 +0200 test: reflect GLArrayData changes bf8a54b502f0fcd930e12a8bbda65f9538e8a2f7 commit 25dc5304c7e775b2c70ff72eff8b40541257592e Author: Sven Gothel Date: Fri Apr 22 06:09:08 2011 +0200 FBObject: Add validation / API cleanup Added validation of FB/render buffer creation using glGetError(), due to users trouble of determine the root cause of erroneous application behavior. This change shall help tackling bug: 492 and 495 https://jogamp.org/bugzilla/show_bug.cgi?id=492 https://jogamp.org/bugzilla/show_bug.cgi?id=495 commit bf8a54b502f0fcd930e12a8bbda65f9538e8a2f7 Author: Sven Gothel Date: Fri Apr 22 06:03:44 2011 +0200 GLArrayData API and impl. changes +++ Remove GL parameter for - createFixed(..) - createGLSL(..) validation at client/server array data happens at 1st enableBuffer() call, no current context or profile required at creation time. Added ShaderState for createGLSL(..) clarifying dependency to the ShaderState, passing it down to the GLSLArrayHandler, which also removes the TLS GLContext.getCurrent() call. +++ Partially reverted ab48dac3f4419ceac51fdf059f310f0f0499c4d7 factory methods: removed added vboTarget parameter, since all createFixed and createGLSL are GL_ARRAY_BUFFER (VBO). Adding createData(..) factory method in GLArrayDataServer allowing diff vbo targets, ie GL_ELEMENT_ARRAY_BUFFER .. or none. commit d72745fa32a86a3820e5220643a01153e3f21fe7 Author: Sven Gothel Date: Fri Apr 22 05:52:06 2011 +0200 NEWT GLWindow: Remove context current check for swapBuffer() call The spec doesn't require a current context for a swap buffer call, however, if required .. as user shall encapsulate it by himself, or use the GLEventListener model. Motivation: Reduce TLS GLContext.getCurrent() calls. commit fa5c609fa107a456930e74b247af819851ed1fe9 Author: Sven Gothel Date: Fri Apr 22 05:47:07 2011 +0200 GLBufferSizeTracker/GLBufferStateTracker: Remove Redundancy GLBufferStateTracker.isBoundBufferObjectKnown() is redundant, since it's 'get' method added it if not yet known. GLBufferSizeTracker removed above mentioned call, fallback to std GL query, no exception. commit d921526577596882f7ff21e2e1141368c23ebed0 Author: Sven Gothel Date: Fri Apr 22 05:43:51 2011 +0200 simple cleanup/warnings commit 4f7d8a59df48d43a5b7da8bcc7dd406357474eb1 Author: Sven Gothel Date: Fri Apr 22 05:39:21 2011 +0200 reflect GLContext changes a5430cf16727fdc7bcfb17ef251018cc479d5f5d commit b3eebc2480bf96df8626d8494692ab5a3b5d88e7 Author: Sven Gothel Date: Fri Apr 22 05:38:28 2011 +0200 Fix/Add: Locator (Handle JarURLConnection and ..) new: 'public static String getRelativeOf(URL baseLocation, String relativeFile)', capable of handling a JAR file/url. Using File based relative locator, allowing better utilization in code: old public static String getRelativeOf(String absoluteFileLocation, String relativeFile) new public static String getRelativeOf(File baseLocation, String relativeFile) commit 7ac7b81d5cf10187aca8c1df85d1cf44fef299d3 Author: Sven Gothel Date: Fri Apr 22 05:33:07 2011 +0200 Fix GLProfile: Order of profiles Hi -> Low Ensure returning the highest profile always: all old: GL4bc, GL3bc, GL2, GL2GL3, GL4, GL3, GL2ES2, GLES2, GL2ES1, GLES1 all new: GL4bc, GL3bc, GL2, GL4, GL3, GL2GL3, GLES2, GL2ES2, GLES1, GL2ES1 commit a5430cf16727fdc7bcfb17ef251018cc479d5f5d Author: Sven Gothel Date: Fri Apr 22 05:30:41 2011 +0200 GLContext changes: change: putAttachedObject(String) -> attachObject(String) putAttachedObject(int) -> attachObject(int) new: validateCurrent() the 'int' mapped/attached objects are using the IntIntHashMap now commit 31d948b5f5432837c3a52e9891f60d9189011c91 Author: Sven Gothel Date: Fri Apr 22 05:28:00 2011 +0200 Texture: Change method signatures: Pass GL context object if required (remove GLContext.getCurrentGL() usage. Using function signatures explicitly require the GL [current] instance clarifies that the context must be current. Removing GLContext.getCurrentGL() reduces TLS access of current thread and hence possible performance hits. The Texture class has been chosen for this conversion [not TextureIO yet], since the enable/bind methods maybe used within a rendering loop. User already 'complained' about lack of current GLContext clarity as well. commit 0ad2f3f0b54ef0088cfbfef30c35144491effe30 Author: Sven Gothel Date: Fri Apr 22 05:20:45 2011 +0200 copy all fonts and shader to build folder, allowing ide debugging commit 9b8021b1b3d740a978e13824c3030f52d6506089 Author: Sven Gothel Date: Fri Apr 22 05:20:12 2011 +0200 ant all.ide target: use all debug flags (+vars) commit 570d7df455ee0005ced53bddeb05adb04436fe3f Author: Sven Gothel Date: Fri Apr 22 05:18:55 2011 +0200 Add GL: glGetBufferSize(int buffer) - buffer size tracking, and add comments .. commit f50f40e0fb2789537ecc19f8eaff439b24294a65 Author: Wade Walker Date: Tue Apr 12 08:57:06 2011 -0500 Fix problem with external context on CentOS 5.5 inside VMWare This fixes a problem that's analogous to one we've had on Windows; apparently querying OS-specific info like hardware device contexts or framebuffer configuration IDs from external GL contexts doesn't always work properly, especially on 32-bit OSes and from within virtual machines. commit 3dc5b9090dd84655a95958dea7e59be8fdc9662c Author: Sven Gothel Date: Fri Apr 8 21:44:48 2011 +0200 Add com.jogamp.graph disclaimer commit 324b85b0cc688f85a91e84b0b6d6a0378a79bea3 Author: Sven Gothel Date: Fri Apr 8 21:35:34 2011 +0200 Fix TAB: Replace all TAB with 4 spaces commit e104e42ba9ecda8c4094bf4b183105a6ab719da5 Author: Sven Gothel Date: Fri Apr 8 18:10:27 2011 +0200 resolve conflicts commit ba47ef11171a8da45c718c89d1e962287b504e36 Author: Sven Gothel Date: Fri Apr 8 18:07:44 2011 +0200 destroy: clear vertices/triangle arrays commit f628fc29468b7a6b821b5a47dd93224730222dc4 Author: Rami Santina Date: Fri Apr 8 18:10:54 2011 +0300 Added headers to graph.ui classes commit e6de1dcd253ef4d6ba9f584b4ed3540c85c66d2c Author: Rami Santina Date: Fri Apr 8 17:46:05 2011 +0300 Added demo GPU Resolution Indep UI - Button; RIButton - resolution independent vector based button UINewtDemo01 --> shows a testcase of a button rendered on scene. controls: 1/2: zoom in/out 4/5: increase/decrease shape/text spacing 6/7: increase/decrease corner size 0/9: rotate. commit deca38fce30548d0ee624b7c747daacafca37f24 Author: Rami Santina Date: Fri Apr 8 17:41:45 2011 +0300 TextRenderer - createString exposed; Renderer - added scale(); createString function is now public to be able to create a string without initializing textRenderer. Temp change, should be cleaned up. added missing scale transformation to renderer pmvmatrix; added glyphstring.getBounds() so not to use font.getStringBounds. since it Would be a redundant call. commit 65c77a5a8375df3c15fcf36384b700ca03c485f9 Author: Rami Santina Date: Fri Apr 8 17:35:18 2011 +0300 Fix: AABBox setLow/setHigh call resize; removes possible call error commit 7cd27e4daf27b730908f0b929385bffc2fa3c41d Author: Rami Santina Date: Fri Apr 8 17:31:17 2011 +0300 Added getBounds impl to region, returning AABBox commit c004a86e24fcc1cd026a7d1d52f61e8eafc8058a Author: Sven Gothel Date: Fri Apr 8 14:57:32 2011 +0200 Use GLArrayDataServer to handle shader attributes/data using VBO commit e48537024014104e517d988907eb102154679f88 Author: Sven Gothel Date: Fri Apr 8 14:56:18 2011 +0200 Use common constants for shader attributes (needs to be completed) commit 349a22d3a87f6e3dd87c3b4151447588969de8b6 Author: Sven Gothel Date: Fri Apr 8 14:55:40 2011 +0200 Fix: Cached GlyphString handling - Destroy removed ones - Handle overwrite/update on same key - Clarified names (size/limit) - Handle cache limit unlimited (limit := -1) and no cache (limit := 0) - Default cache limit := 256 - Comments commit ea9517a1bb3144f4ab6f3b8f1a41ced9046fd9b4 Author: Sven Gothel Date: Fri Apr 8 14:52:19 2011 +0200 Fix FBObject: Remove double stencil RB generation; Expose data (size, ..) commit ab48dac3f4419ceac51fdf059f310f0f0499c4d7 Author: Sven Gothel Date: Fri Apr 8 14:51:22 2011 +0200 FIX: Refactor GLArrayData and all it's implementations/sub-interfaces (VBO target, comments, names) VBO target: Allowing ELEMENT_VERTEX_ARRAY w/o corresponding GLSL/Fixed attribute Names: Clarified method named. Comments: Added and fixed comments commit a140ed4798896ed5d786fbe63e7241309a4b4a91 Author: Sven Gothel Date: Tue Apr 5 01:44:39 2011 +0200 Fix: DEBUG field (regression) commit 8297ef88b927e07b41760ab3e9de05bc49fd4695 Author: Sven Gothel Date: Tue Apr 5 01:44:07 2011 +0200 Fix: shaderProgram.program(); glBindAttribLocation() call; dispose/disposeImpl sequence; Use shaderProgram.program() instead of shaderProgram.id() - the id() is just a unique sequence name. Call glBindAttribLocation() after program object init and before linkage. Chain call disposeImpl() properly to fix destruction sequence: TextRendererImpl01 -> TextRenderer -> GlyphString -> Region RegionRendererImpl01 -> RegionRenderer -> Region commit 2f2879256fe999c5019bd800f564e9cb2a83a0b6 Author: Sven Gothel Date: Tue Apr 5 01:30:12 2011 +0200 Fix: Use new FBObject; Use shaderProgram.program() instead of shaderProgram.id() The new FBObject handles state transition more easily and it's usage is less complex to the caller - compared to inline usage. Use shaderProgram.program() instead of shaderProgram.id() - the id() is just a unique sequence name. commit 2d22d9a880fee84af422505e69c1642c7a505b0f Author: Sven Gothel Date: Tue Apr 5 01:22:22 2011 +0200 ShaderProgram: Add 'init(GL2ES2)', allowing GL program object creation before link stage. This is required to allow proper usage of 'glBindAttribLocation()'. commit 2e71f18aa514622b855a7f463a9d9f82b9e66d9f Author: Sven Gothel Date: Tue Apr 5 01:12:51 2011 +0200 GLContext: Added java.debug.DebugGL and java.debug.TraceGL to enable debug and trace pipeline. commit b44288b26e8ac6de0593db349725c2a288bb520a Author: Sven Gothel Date: Tue Apr 5 01:05:19 2011 +0200 Make FBObject more generic, split FBO/tex and depth/stencil attachements. Allow parametrization of each component. commit 2d681a3d1557c8cdc15fbed70a3b52d82be4052c Author: Rami Santina Date: Sat Apr 2 16:52:41 2011 +0300 Fix: p1y region set to 0.5, cleaned shader commit c2fdfa4e25a378f1d82b41417b1370a93048ab62 Author: Sven Gothel Date: Sat Apr 2 15:26:55 2011 +0200 all.ide: add one.dir to update build/jar/ commit a550afe604d8a1e63110d9f76ef04e2b493271c9 Author: Sven Gothel Date: Sat Apr 2 15:10:00 2011 +0200 Jogl build: Rebuild jar files if shaders were updated commit a6d0578e1ef46b835906ab290161cff3baa51ef8 Author: Rami Santina Date: Sat Apr 2 14:53:58 2011 +0300 Fix: removing fragments with w=0 is producing dimples with msaa commit a53f4daf23e68f1f5819c9e911f8a520ce03926a Author: Rami Santina Date: Sat Apr 2 11:35:46 2011 +0300 Fragment Shader enhancement + clean-up; in first pass the shader now discards pixels that are dropped by imlicit AA, and second pass (if executed) doesnt include them in AA clac. commit c139362afd97e92a6a20f77f60fe952f88b94ebb Author: Sven Gothel Date: Fri Apr 1 20:50:42 2011 +0200 Rendered: +enable(GL, bool) ; dumpFontNames.. commit 4c3aaeaa5e105b462d5212d049db9dcd058c94c7 Author: Sven Gothel Date: Fri Apr 1 20:07:41 2011 +0200 archive tga results commit 5857d93e2d41608b247ec18cb9129f3a6624d9ac Author: Sven Gothel Date: Fri Apr 1 20:07:04 2011 +0200 Font Names: Expose name indices allowing user to pick all names .. commit 85c3bcac2ef65aa7c6a5a4990f1e2559d691a361 Author: Sven Gothel Date: Fri Apr 1 16:15:21 2011 +0200 Graph Unit tests must have NEWT in the name / Also added UI locking commit be6b84a849763df8dbce8ade2caac95dc3cb7eec Author: Sven Gothel Date: Fri Apr 1 15:13:40 2011 +0200 more text in text demos commit d4c400b9e70550bc93ebc2c0df2cd916b9ea0b3b Author: Sven Gothel Date: Fri Apr 1 15:13:17 2011 +0200 Load fonts via File or URL . commit f47753b63c9530a6af36cb69135dee0421abfe6b Author: Sven Gothel Date: Fri Apr 1 15:11:05 2011 +0200 Font: +getName / +getAllNames / +isPrintableCharacter commit 259d018ed9511ccca0d8e792e443ce9f3d9f39ea Author: Sven Gothel Date: Fri Apr 1 15:09:51 2011 +0200 Add graph shaders and fonts .. commit 3fe39f89b7948ec6fceda0bf68ab6c5cdd9e32ed Author: Sven Gothel Date: Fri Apr 1 10:33:26 2011 +0200 Remove HashCode util and its usage commit 4dd315dec00eacfb629c4442dc42a8538d7527d3 Author: Sven Gothel Date: Fri Apr 1 07:28:07 2011 +0200 integrated typecast into jogamp. tree commit 16ba4d6f3ede9a9e35a9947d1b0cf6dba56659ac Author: Sven Gothel Date: Fri Apr 1 07:07:56 2011 +0200 Folded typecast into jogl folder commit cd8caf797faf6b08e18f85afa5a4b6cce8bc7692 Author: Sven Gothel Date: Fri Apr 1 07:06:55 2011 +0200 Folded turtle2d into jogl folders commit 4b8bd5ec58cb2edfb51bd9ee930beb9c539a8a0b Author: Sven Gothel Date: Fri Apr 1 06:48:52 2011 +0200 Final core and demo changes for jogl merge Core: - Region: Cleanup up constant names - Renderer: Add getRenderType() - TextRenderer: Add cache size limit - JavaFontLoader: Add FIXME 'Add cache size to limit memory usage' - UbuntuFontLoader: Add cache and FIXME 'Add cache size to limit memory usage' - TypecastFont: Add FIXME 'Add cache size to limit memory usage ??' Demos: - Relocated and split (main/listener) for jogl merge - Add 's' for screenshot - Text: - Add 'i' for live editing mode (until CR, backspace supported) commit e8c69e69374b6650e37594ebf104602fb06b548b Author: Rami Santina Date: Thu Mar 31 18:38:23 2011 +0300 Inclass Documentation cleanup of public API commit 1c1a7d7ad51ea2041a5a121f034d4d748827b16c Author: Rami Santina Date: Thu Mar 31 17:48:15 2011 +0300 Fix: Outline over triangulation. With triangualtion exluding outter boundary triangles not all hole vertices will be inside the boundary (float issues). Workaround, check for all vertices, need a better solution and should sync with Java Fonts. commit ecab143a041af5aa9cdd3972a980d628f540fe93 Author: Sven Gothel Date: Wed Mar 30 17:45:16 2011 +0200 Newt X11: keyPress/Release must use upper case XP_ values to match VK_ ; Set modifier properly. commit 49542d1c2963c72598c0bc23a56b2ae54c90d21a Author: Sven Gothel Date: Wed Mar 30 17:44:03 2011 +0200 ShaderCode: Remove redundant code (Use proper Locator variant) commit c604c520c174ae5f54931743cd9138c66fcefc9b Author: Rami Santina Date: Wed Mar 30 17:25:10 2011 +0300 Text Demo listener: Use keycode instead of keychar commit 69e9ae0bd6ada2177562714e301d68480eb001b8 Author: Sven Gothel Date: Wed Mar 30 16:09:59 2011 +0200 VBORegion2PGL3 -> VBORegion2PES2 commit 48d0ea92f795d2f187a418918c9246ee28848065 Author: Rami Santina Date: Wed Mar 30 17:06:15 2011 +0300 Temp: updated Testcases to onscreen commit 34f9f49738bc37cf5ddbd638f3a36d591d7d7a4a Author: Rami Santina Date: Wed Mar 30 16:47:26 2011 +0300 Set relative texSize to RegionDemo02 commit 630a9ea52b16da6badb31a98b70893f8d294b4e8 Author: Sven Gothel Date: Wed Mar 30 15:25:18 2011 +0200 Remove generics notion of Type, since Vertex _is_ the lowest denominator for our implementation and curve API commit 133edeb70921dbcae3ec7cc76f1bc6dd0cd36da8 Author: Rami Santina Date: Wed Mar 30 16:17:09 2011 +0300 Fix: RegionRenderer TwoPass Renderering, fix methodnames in Renderer commit d06d5596d18101c876c869a514e42e795ee9357c Author: Sven Gothel Date: Wed Mar 30 14:47:19 2011 +0200 Demo/Test: Use public API commit ff32688c4520373468315b6dad4ec26f481bcd00 Author: Sven Gothel Date: Wed Mar 30 14:20:14 2011 +0200 Avoid NPE in Screenshot/ReadBufferUtil commit dbc74b98eb7429cbb51f7af0572ab53ddd0d9edc Author: Sven Gothel Date: Wed Mar 30 13:56:48 2011 +0200 Refactor: Public *Renderer / Unify Region Demos / Using own Screenshot (non AWT, plain GL2ES2) Refactor: Public *Renderer - Sharing common base abstract class Renderer.java - Having public abstract classes RegionRenderer and TextRenderer - Implementation non public, accessed via factory - + shared code - + clean API (same stuff) Unify Region Demos - reduced code / path, sharing common demo/test features Text/Region Using own Screenshot (non AWT, plain GL2ES2) - Remove AWT dependency - Allow GL2ES2 screenshots - Less complex commit fca85c495e24322dd8870832fe3934fbe2d40236 Author: Rami Santina Date: Wed Mar 30 14:31:48 2011 +0300 Added inclass documentation to AABBox; Misc changes commit 2d7cc275ccea2e11deeaf02f63c7984a6c09bf4f Author: Rami Santina Date: Wed Mar 30 13:25:54 2011 +0300 Added inclass comments to OutlineShape commit e952e7dbac7a6b746b8465aa63423f1aa138ca27 Author: Sven Gothel Date: Wed Mar 30 07:28:56 2011 +0200 Renamed Hw*Renderer -> *Renderer commit 4644863fbf6e8223b7843c63f9c5466f34fc8eeb Author: Sven Gothel Date: Wed Mar 30 07:26:56 2011 +0200 Relocate Hw*Renderer -> opengl subpackage commit dbcd775a7763ca131280a8341775fdfa50c4f909 Author: Sven Gothel Date: Wed Mar 30 07:12:28 2011 +0200 Import: Ubuntu Font Family 0.71.2, http://font.ubuntu.com/ - Ubuntu Font License, Version 1.0 http://font.ubuntu.com/ufl/ubuntu-font-licence-1.0.txt commit 55356d999638491980a90cb2263b55c5d2e53e91 Author: Sven Gothel Date: Wed Mar 30 06:59:43 2011 +0200 Font Refactoring ; Misc Changes ; Demo/Test Update Font Refactoring - Notion of distributed FontSet - FontFactory may produce FontSet and/or a Font by absolute ttf file path - Adding support for free Ubuntu fonts - Remove Vertex.Factory dependency for Font creation - Typecast Impl - Fix CmapTable selection - Fix horizontal spacing of space - Misc Changes - HwTextRenderer - Offer reshape for perspective and orthogonal view - Expose PMVMatrix, allowing user to setup their own view math. Demo Update - Dump font set a-zA-Z... - Dump 'lazy dog ..' text - Action: - s: toogle 'font set' - f: toggle fps - v: toggle v-sync - space: toggle font (ubuntu/java) - formated screenshot filename w/ font name Test Update: - add font set iteration commit 5f0293b84d0146d9e750ea7e75caaa101ae3b3c3 Author: Sven Gothel Date: Tue Mar 29 15:05:49 2011 +0200 Refactoring for public: Remove Line ; public/private API cleanup commit 4ed4dc3847d8d53a3424011f3d56b00ef246a81e Author: Sven Gothel Date: Tue Mar 29 14:29:50 2011 +0200 Refactor / Use font name as file path, if not a java font commit 2a3a260aece0060f5aa03d83a177d3f373664324 Author: Sven Gothel Date: Tue Mar 29 13:09:32 2011 +0200 Same size for both tests diff technique commit 2f094d97a1cbdf14c25a7ebc1b183e20bdd6c4cd Author: Rami Santina Date: Tue Mar 29 13:26:01 2011 +0300 Updated textTextRenderer 3 views each and write to tga file commit c0eb49806a35c0618af8a61c99ba783d688fc09d Author: Rami Santina Date: Tue Mar 29 00:55:33 2011 +0300 Add debug flag for boundary tri commit b73de5a53e2e81e2acc5f8f5064e2b0b27a9804e Author: Rami Santina Date: Mon Mar 28 16:46:59 2011 +0300 Multiple snapshots r2t; Added test initial MSAA commit 8b288c20da315b24ac65d14475d3133e45007981 Author: Rami Santina Date: Mon Mar 28 14:19:38 2011 +0300 Testcase for R2T with two sizes commit 3bf42d92a3baf5e506f553fc20c71c082c39790e Author: Rami Santina Date: Mon Mar 28 11:49:57 2011 +0300 Added print screen to TGA file to be used in junit commit 23646bedac2fe9ff27e35ac167e6872afb84fc50 Author: Rami Santina Date: Mon Mar 28 10:08:12 2011 +0300 Fix: remove TTF imports commit b3d8f3548b608603b3c7fd1a03c1ebbffb95cb8b Author: Rami Santina Date: Sun Mar 27 13:19:06 2011 +0300 MSAATool Split dump to CSAA and MSAA commit 915639b05db5ed7cd0ac5b32e10b194d0f54172d Author: Rami Santina Date: Sun Mar 27 13:14:50 2011 +0300 Demo refactor variable names commit 4c37cbf64440ee1e3986afff94b74b513bed2bab Author: Sven Gothel Date: Sun Mar 27 00:35:42 2011 +0100 JAWTUtil: Just use 'sunToolkitClass' in local block commit f0581998c7398bc561df063bc1aa207a292d9881 Author: Sven Gothel Date: Sun Mar 27 00:13:16 2011 +0100 FPSAnimator: Poor attempt to wait for threads EOL after pause/stop commit 6c1d25075573625ace3cb54ce093760e1adea569 Author: Wade Walker Date: Sat Mar 26 13:38:05 2011 -0500 Make jogl builder order match gluegen builder order. This simplifies the Eclipse project creation; now that the Java builder is turned off, we can leave the order in its default state instead of reordering them. commit aa789b25e9a0a592de0a69861e9ffea26edb7adf Author: Wade Walker Date: Sat Mar 26 13:31:48 2011 -0500 Fix NPE caused by refactoring on 2/26/2011. The refactoring refers to the static sunToolkitClass when it's not initialized, which causes an NPE and makes the system think it can't do AWT locks. commit 929fc058c56781763c79015f4dbbf9e14dc808a2 Author: Sven Gothel Date: Sat Mar 26 19:26:41 2011 +0100 Font: Make font instances size agnostic (remove all size states), size is only a render time parameter. Add missing bounds/width/height queries to TypecastFont commit a7c95f26e87460b76763f26723bbd9379c9fc4cb Author: Sven Gothel Date: Sat Mar 26 19:23:47 2011 +0100 revert to 2nd pass magic fbo size 190 commit db9f53b76e510abaa82679d1068a94df78c396e2 Author: Wade Walker Date: Sat Mar 26 13:04:23 2011 -0500 Remove platform-specific JAR from Eclipse classpath. This has to be handled through the user library for SWT or it won't work on multiple platforms. commit ae00fd949a08340a1dd291d7f3e5d800feb1af46 Author: Sven Gothel Date: Sat Mar 26 12:55:39 2011 +0100 demo: add numbers to rendering text commit 654c2bfbfcfb00b5ffe67e2490cebbfa267049e4 Author: Sven Gothel Date: Sat Mar 26 12:47:05 2011 +0100 Common demo gllistener for text; Cleanup HwTextRenderer: Use GL as parameter (matching API), only update data if necessary (uniform), hold data in GLUniform commit c2c22f185fcebe8927bc5766cb5f24cba8312cb2 Author: Sven Gothel Date: Sat Mar 26 01:03:29 2011 +0100 Promote GLDrawableFactory.getOrCreateSharedContext(..) to public. commit b9aa38f304d0a4726e3a0c64d8ce7adda315baf2 Author: Sven Gothel Date: Sat Mar 26 01:02:39 2011 +0100 Fix unnecessary NPE in case of unrealized GLCanvas (getRequestedCapabilities()) commit cd71c42b6381d48b3e0cf84c3fa215a5166c50c1 Author: Sven Gothel Date: Sat Mar 26 01:01:54 2011 +0100 Fix Bug460 test commit 14c193e2ec44f6bcff6dfffa85042518e364478c Author: Sven Gothel Date: Fri Mar 25 23:39:17 2011 +0100 FPSAnimator: Avoid NPE commit ed79607e888dcb73f5ee17cde85149a3d963325b Author: Sven Gothel Date: Fri Mar 25 23:38:40 2011 +0100 Eclipse: Add swt-debug.jar to .classpath commit 28c3731a75da19661f4ed5d6208807d7c4d0fb5a Author: Sven Gothel Date: Fri Mar 25 23:15:00 2011 +0100 WindowTitle: Add r2t/msaa - Region Demos: Dump MSAA commit 0976b895fd595ca29c6854ee4cfd9c402e9d27e6 Author: Sven Gothel Date: Fri Mar 25 22:59:12 2011 +0100 TextDemo01 (MSAA): 4 samples (duh) commit a32d0c2b5a584be99f9e18d0c070cda8cfc18864 Author: Sven Gothel Date: Fri Mar 25 22:57:35 2011 +0100 TextDemo01 (MSAA): 4 samples commit 3802ffdb0a5bc84978303e342c8729ca3ba819c9 Author: Sven Gothel Date: Fri Mar 25 22:40:12 2011 +0100 sample coverage: no diff to lines commit d1e73ec50d31017bc4d1697a16e53a8cfc631a0e Author: Sven Gothel Date: Fri Mar 25 22:31:58 2011 +0100 TextDemo02 multi pass: no MSAA - right commit ca5c2da3b3e03e5fb23b1cae1edf336de7e9ab20 Author: Sven Gothel Date: Fri Mar 25 22:29:46 2011 +0100 TextDemos: Dump MSAA values, see what which AA style does .. commit c0bcd59a8cfc9296cb4569a08af9c42463e557e1 Author: Rami Santina Date: Fri Mar 25 20:42:37 2011 +0200 Fix: RenderingDemo with MULTI_PASS doesnt uses MSAA commit 731b4fe3c934d8e68d388025e20a0b0be22bf91d Author: Rami Santina Date: Fri Mar 25 12:09:43 2011 +0200 Fix: GPUTextnewtDemo02 showing r2t algo output commit 526af50c03af2e00a028caf4b8504e6c3f3c4221 Author: Rami Santina Date: Fri Mar 25 12:00:55 2011 +0200 Refactored Vertex Point PointTex GraphPoint namings Vertex class --> SVertex (Simple vertex wwhere memory impl is float[]) Point interface --> Vertex (which combines in it PointTex Interface) GraphPoint --> GraphVertex commit b01b243241635ab4d210aa88cdbff6cc5713a815 Author: Sven Gothel Date: Fri Mar 25 08:57:18 2011 +0100 updated file names commit 56de85032f687748d99af63f90b6798d14b9c04b Author: Sven Gothel Date: Fri Mar 25 08:51:24 2011 +0100 Make com.jogamp.graph.geom.plane non public: jogamp.graph.geom.plane, this incl. creating the non public FontInt interface for Path2D access commit c87998372f09466dd682f208fcddebae954c7af8 Author: Sven Gothel Date: Fri Mar 25 04:18:23 2011 +0100 Add LICENSE file commit 7f745c32c5734bc9549a16a98d158cdc01215bf5 Author: Rami Santina Date: Fri Mar 25 03:58:05 2011 +0100 Add initial GPU based curve rendering implementation, utilizing TTF fonts and manual shapes commit 6c07da79c276abef7a7c2f51b05fb1e04f7666db Author: Sven Gothel Date: Fri Mar 25 03:55:20 2011 +0100 Add com.jogamp.graph.geom types commit 49379f06ceefeaa795af05b1c890047176fe19ef Author: Sven Gothel Date: Fri Mar 25 03:48:01 2011 +0100 Add generic Font and impl TypecastFont. commit 524a7d61a4fc4a4d38aeb543b9887e787555bb71 Author: Sven Gothel Date: Fri Mar 25 03:45:53 2011 +0100 Fitting of jogamp.graph.geom.plane: double -> float, package location, use PointFactory, GeneralPath -> Path2D, .. commit 89d1a2d2ecb414d62f44cbb2e3b9bd75746943cf Author: Sven Gothel Date: Fri Mar 25 03:30:21 2011 +0100 Imported part of Harmony's awt.geom impl. 6.0-r991881, http://harmony.apache.org/ - Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 commit 5b627f588b1bb0e4cef57ffe1f9cd5efdf0f9e42 Author: Sven Gothel Date: Fri Mar 25 02:37:14 2011 +0100 Minor changes, OTGlyph: remove redundant/errorneous add-on points (origin, advanced). commit f8d03d8cd64593fdb24057ce928a07137b57f49f Author: Sven Gothel Date: Fri Mar 25 02:33:11 2011 +0100 Import Typecast r106, http://typecast.dev.java.net/ - Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 commit 694eb0c9309b3705a8bdb582f0c287aa77169996 Author: Sven Gothel Date: Mon Mar 21 07:38:11 2011 +0100 Fix Bug #460 - GLCanvas NPE commit ab93183b90e83b9aebc29031c7b88b9a3dc58ff5 Author: Sven Gothel Date: Mon Mar 21 07:13:45 2011 +0100 Fix Bug #480 (attempt) - ATI + WinXP: make context current for ARB PFD queries/selection TODO: Validate if bug is actually relates to the 'old' ATI Windows driver for old GPU's like X300 etc and unrelated to the actual Windows version ! Also ensure that the no pixelformat is being set on external context/HDC. commit 41fc808eff8d145c37d10a98eb4d8a86bda6f018 Author: Sven Gothel Date: Sun Mar 20 18:44:43 2011 +0100 Fix bug #479 - typo commit b7f148db1a2775ee9ea6af3e057995a9185d311e Author: Sven Gothel Date: Sun Mar 20 05:12:18 2011 +0100 Refine getAvailableGLCapabilitiesImpl (XGL, WGL and EGL): Sort only if size > 1 commit 3df74690ffd910314364566a8fd6eb2c8242f96a Author: Sven Gothel Date: Sun Mar 20 05:07:21 2011 +0100 Refine WGL_PIXEL_TYPE_ARB and GLX_RENDER_TYPE: WGL_PIXEL_TYPE_ARB: Results -> GLCapabilities - WGL_TYPE_COLORINDEX_ARB not supported - Only WGL_TYPE_RGBA_FLOAT_ARB makes pbuffer float Query: - Only use WGL_FLOAT_COMPONENT_NV if supported - Remove multiple WGL_PIXEL_TYPE_ARB entry GLX_RENDER_TYPE: Results -> GLCapabilities - GLX_COLORINDEX_BIT only not supported commit 85f730a91507e9d4bdeab51b97de8d395fa9eb40 Author: Sven Gothel Date: Sat Mar 19 08:46:42 2011 +0100 - LinkedList -> ArrayList (using tail) for O(1) operation - Using new IntIntHashMap clone() operation - Comment: Tuning IntIntHashMap capacity to avoid rehash commit a77ea6aabd1ddf527176a1c1c7a124e4e4b27fb8 Author: Sven Gothel Date: Sat Mar 19 08:44:01 2011 +0100 Add @Override commit 9090e69547804f589796a457a19751487038d5e3 Author: Sven Gothel Date: Fri Mar 18 05:58:29 2011 +0100 Cleanup JNI/JAWT C Header with copyright statement commit 95a42aa7d2c3465e480b0bb6d41ed85d193845c7 Author: Barcsik Attila Date: Sat Mar 12 12:09:07 2011 +0100 Fixing build errors on Solaris systems. FIX: 481 commit 0b57c668703de3717badf8e779a91e64773d7f61 Author: Michael Bien Date: Sat Mar 5 21:30:44 2011 +0100 GLStateTracker code review: - using LinkedList as stack replacement for non index based push/pop - increased initial map size since the default values already exceeds the default mapsize - size()==0 -> isEmpty() (can be significantly faster if the deque impl would change in future) - map copy with initial size - minor other changes commit b0c33118fdbeb8c7d26017b8cd4bc5f683369c8e Author: Sven Gothel Date: Sat Mar 5 04:15:30 2011 +0100 Revert Gears: Remove static main, since junit tries to load references (AWT); Remove static init as well commit 47bad30d1a3a96b962f651bf8baeee228387fcc5 Author: Sven Gothel Date: Sat Mar 5 04:11:46 2011 +0100 Fix MemoryObject: Remove unnecessary and slow hash collision action commit b663dd3d22c5d0462e34ec4227630b3470abfdff Author: Sven Gothel Date: Sat Mar 5 04:06:13 2011 +0100 junit Gears: remove AWT GLCanvas from import commit a167589233db343ac22b761d30d9dcd73016fe54 Author: Sven Gothel Date: Sat Mar 5 03:28:37 2011 +0100 Fix GLStateTracker PixelStore popAttrib(): Only write new state if corresponding push was of ClientPixelStore type commit a96aa3a46487c768f8e39440a83b2390389a6256 Author: Sven Gothel Date: Fri Mar 4 03:23:04 2011 +0100 Sync Gears (jogl-demos) commit 549156827f41d2f2e11b0a9049a3c9e434564beb Author: Sven Gothel Date: Thu Mar 3 05:34:44 2011 +0100 Add Version Applet/ link