commit 8126c9e9e4fd33f86d2c298f7a2cad4b0f838074 Author: Sven Gothel Date: Thu Oct 2 20:42:19 2014 +0200 Bug 1085: Fix GLJPanel regression while printing w/ invisible GLJPanel: Zero size panel size This is a regression due to commit 84f367a73c5b16dcebfd877e82e1c2cb90ae74ce: GLJPanel Cleanup: Remove initial FBO reshape; ** Propagate reshape only if differs from panel-size; ** <- this one Use pre-fetched panel-size. Above commit only issued 'sendReshape' if the reshape-size differs from the actual panel-size. Note: The reshape-size is propagated to panel-size either in [1] initializeBackendImpl(..) or [2] handleReshape(..) @ paintComponent. While printing w/ an invisible GLJPanel the reshape-size has not yet propagated to the panel-size (see above) and two consecutive reshape calls will cause the last one to be dropped. With this patch we have: GLJPanel.addNotify() GLJPanel.reshape.0 null resize [paint] [ this 0x0, pixelScale 1x1, panel 560x420] -> 0x0 * 1x1 -> 0x0, reshapeSize 0x0 GLJPanel.reshape.0 null resize [paint] [ this 560x420, pixelScale 1x1, panel 560x420] -> 560x420 * 1x1 -> 560x420, reshapeSize 560x420 GLJPanel.setupPrint: scale 1.000000 / 1.000000, samples 0, tileSz -1 x -1 GLJPanel.createAndInitializeBackend.1: [printing] 560x420 @ scale 1x1 -> 560x420 @ scale 1x1 A commit 0afcbef35ca262a826db025c053dc09a60a0596b Author: Sven Gothel Date: Thu Oct 2 20:34:38 2014 +0200 Bug 1085: Increase and fix DEBUG verbosity in GLJPanel to catch reshape regression during print commit c85e0566c55cdc99668dd373e6b6b8b66a557c8e Author: Sven Gothel Date: Wed Oct 1 23:51:33 2014 +0200 Bug 1084: Fix GLProfile Mapping regarding hardware priority, honor software/hardware attribute of all profiles GLProfile's mapping code does not consider the following combination: - GL4 software - GL3 hardware and hence maps GL4-software -> [GL2ES2, GL2GL3], where GL3-hardware -> [GL2ES2, GL2GL3] is desired. This combination has recently been observed on Mac OSX 10.9.5, which includes a software GL 4.1 implementation. However, other systems could be affected as well. +++ Fix GLProfile.computeProfileImpl(..): Only use the higher profile, if hardware-accelerated or none of the lower profiles offers hardware-acceleration! This extra condition was missing for certain profiles, e.g. GL4, GL4bc, GL3, GL3bc and GL2. commit abf127cbb3e697f778decf7ce0edd0ad2f433cb7 Author: Sven Gothel Date: Wed Oct 1 04:54:42 2014 +0200 Bug 1078, Bug 1082: Fix regression (typo), add missing assignment of printGLAD in NewtCanvasAWT.setupPrint() commit 4bc2d19c4afb749a8088bf371f77a38fe7df0054 Author: Sven Gothel Date: Wed Oct 1 00:36:09 2014 +0200 Bug 1081: Fix GLJPanel Regression: Honor pre-init reshape-size at initializeBackendImpl() Commit 84f367a73c5b16dcebfd877e82e1c2cb90ae74ce removed utilization of reshape-size in case panel-size is valid, even if a reshape event happened in between: - addNotify - paintComponent initializeBackendImpl() includes now uses reshape-size IFF handleReshape is set. Before it was using reshape-size only if panel-size was invalid. TestAWT03GLJPanelRecreate01 covers this issue. commit f18d1b00e98c982ed90b55218ba28e0e223c8453 Author: Sven Gothel Date: Tue Sep 30 23:18:15 2014 +0200 Bug 1078: Add Fallback in AWTPrintLifecycle.setupPrint(): Use Onscreen GLAD if Offscreen-GLAD Realization throws an Exception (Stability) - GLDrawableFactoryImpl: createOffscreenDrawable(..) and createDummyAutoDrawable(..) Temporary catch exception during setRealized(true) of newly created GLDrawable, to unrealize the instance before propagating the exception. This handling removes a memory leak in case the exception of this method is handled and application continues to operate, e.g. as in AWTPrintLifecycle.setupPrint(). The underlying drawable gets unrealized, since it's setRealized(boolean) implementation toggles its realize-state before delegating the realize-operation. Hence this is functional. - AWTPrintLifecycle.setupPrint() Stability Catch exception thrown by factory.createOffscreenAutoDrawable(..)'s setRealize(true) to continue operation w/ onscreen GLAD. commit 962f2f597cef74b7d50e5e865d3a5647230166c6 Author: Sven Gothel Date: Wed Sep 24 01:31:53 2014 +0200 TestVersionSemanticsNOUI: Use 'V22X' to mark current version on branch b22x commit 546f9b1a03c46b63f8bb18c1b8e2c80a8b66cf7c Author: Sven Gothel Date: Wed Sep 24 01:25:49 2014 +0200 Fix all backward compatibility issues w/ 2.2.0 and 2.2.1 - Preserve fields, but make them deprecated and don't use them anymore. Using a new version with less visibility. - Revert incompatible method prototype changes - GLFBODrawable: - Completly remove FBOMODE_DEFAULT and FBOMODE_USE_DEPTH usage and deprecate them - GLRendererQuirks: - Completly remove COUNT usage and deprecate it. - Add getCount() method for future compatibility.