Login  Register

Re: Request for testing on OSX 1.6.0-pre6 released

Posted by InteractiveMesh on Feb 27, 2013; 5:08pm
URL: https://forum.jogamp.org/Request-for-testing-on-OSX-1-6-0-pre6-released-tp4028264p4028402.html

I successfully tested the 1.6.0-pre6 release on Mac 10.7.5 and 10.8.2, Apple Java 1.6.0_41, Oracle 7u15, 7u12/8ea with onscreen and offscreen Java 3D apps (no applets). All tests behaved as expected : the offset problem still exists, the resizing problem is solved.

While scanning the sources I found an obsolete line of code which I forgot to remove in JoglPipeline / QueryCanvas.addNotify() : 'nativeWindow.setShallUseOffscreenLayer(false);' (compare Jogl.Pipeline.createNewContext()).

Unfortunately, the recently published JOGL build is a regression http://jogamp.org/deployment/archive/master/gluegen_640-joal_404-jogl_921-jocl_752/http://jogamp.org/git/?p=jogl.git;a=summary . A new resizing problem occurred on 7u12/8ea: the size remains fixed and the scene will be stretched or compressed. Also my JOGL samples don't position correctly anymore http://forum.jogamp.org/Mac-OS-X-10-7-Oracle-JRE-7-Swing-integration-issues-td4027780.html.

In my Java 3D native OpenGL pipeline for Mac/7u12/8ea I choose following approach: when the Canvas3D becomes visible and is painted the first time the corresponding CALayer is created and its frame-property is set to the y-flipped Canvas3D's bounds relative to its parent window (neither relative to the screen nor to the parent component). Later bounds changes are only handled by JRE/AWT. This results in always correctly positioned Canvas3Ds. The z-order problem still remains and can only be solved by the JRE.

August