Re: JOGL Updates ... (2)

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: JOGL Updates ... (2)

Sven Gothel
Administrator

Version 2.0.2-rc-20130404
  - Maven 2.0.2-rc20130404
  - http://jogamp.org/deployment/archive/master/gluegen_656-joal_420-jogl_951-jocl_773/

- OSX CALayer / Java7 issues should be fixed w/ this version 'once and for all'
  - repaint() component after CALAyer attachment,
    to avoid garbage and to have rendering result w/o animator
  - run root CALayer ops on main-thread to avoid late GC
  - NewtCanvasAWT/CALayer position fix: Force re-layout via resize

- NEWT/Android: Fix NewtBaseActivity pause/stop behavior,
  - invisible only at onStop()
  - reset states at onCreate()

- New Version Scheme (Bug 588)
  - 'Implementation-Version' refers to 'human readable' version string
- Add JPEG decoder (Bug 671)
 

On 03/25/2013 03:21 AM, Sven Gothel wrote:

> JOGL Updates
>
> Brainstorming some JOGL updates for all not reading the git logs.
>
> - Maven 2.0-rc11post08
> - Latest aggregated build
>
> - GLEventListenerState / GLStateKeeper (Bug 665 GLContext/GLDrawable re-association)
>     - Preservation of GLEventListenerState at followup destruction,
>       restore it at next creation - using GLStateKeeper interface.
>
>     - GLStateKeeper interface is implemented and fully functional
>       w/ GLWindow.
>
> - Exclusive Context Thread (ECT) via AnimatorBase and GLAutoDrawable:
>   - [get|set]ExclusiveContextThread(..)
>   - See unit tests TestGearsES2NEWT, TestExclusiveContext*
>   - On certain GL impl, context switch is still expensive,
>     ECT allows you to keep a single context current.
>   - git sha1 224fab1b2c71464826594740022fdcbe278867dc
>
> - GLJPanel
>   - Uses FBO for offscreen rendering
>   - Uses GLSL texture vertical flip if available
>   - git sha1 e92823cddc54b0f4fa71e234061a21de6ee5248c
>              59a1ab0312492a251a0efc700d040a5f71e88611
>              d143475e995e473c142fd34be2af6521246f014a
>
> - OSX Enhancements
>   - Java7 build incl. removal of Java6 dependencies
>   - CALayer self-contained layout fix
>     - fixes [most of] the misplaced CALayer bugs
>     - HELP: Need support detecting remaining bugs!
>   - Perform all main-thread tasks (CALayer and NEWT)
>     w/o infinite blocking.
>     Impl. 'streams' commands to main-thread
>     while attempting to determine desired states in an async fashion.  
>
> - NEWT MouseEvent
>   - enhancing rotation API / semantics
>
> - NEWT KeyEvent (Bug 678, 641 and 688)
>   - enhancing keyCode, keyChar - adding keySymbol semantics
>   - deprecated: KEY_TYPED
>
> - NEWT/Android Enhancements
>   - more reliable rotation/scroll gesture detection,
>     i.e. 2-finger scroll -> NEWT's rotation event.
>
>   - demonstrating w/ GearsES2
>     - 2 finger pinch zoom, fast zoom w/ a 3rd finger
>     - 2 finger (close to each other) rotation/scroll
>     - 1 finger drag rotation
>     - keyboard visible now via 4 finger pressure > 0.7f
>
>   - Pause w/o finish(), i.e. Home or Menu
>     - Using GLEventListenerState / GLStateKeeper, see above
>
>   - Map KEYCODE_BACK semantics, either (Bug 677):
>     - keyboard invisible, or
>     - send to KeyListener:
>       - consumed by NEWT KeyListener, or
>       - activity.finish()
>
>   - Proper pixel format selection
>     - git sha1 85d70b7d38885fa8ba6374aa790d5a296acc8ec1
>
> - PNGJ Updates
>   - interlace support
>   - palette/indexed support
>  
> - GlueGen RecursiveLock
>   - fix deadlock, corner case of TO reached but lock not acquired
>
> .. and more detailed changes, since ..
>
> ~Sven
>

--
health & wealth
mailto:[hidden email] ; http://jausoft.com
land : +49 (471) 4707742 ; fax : +49 (471) 4707741
Timezone CET: PST+9, EST+6, UTC+1


signature.asc (911 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: JOGL Updates ... (2)

gouessej
Administrator
Another Mac bug for you:
http://www.ardor3d.com/forums/viewtopic.php?f=10&t=12590&start=10#p25059

It is reproducible even with your latest aggregated build.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: JOGL Updates ... (2)

Sven Gothel
Administrator
On 04/06/2013 02:37 AM, gouessej [via jogamp] wrote:
> Another Mac bug for you:
> http://www.ardor3d.com/forums/viewtopic.php?f=10&t=12590&start=10#p25059
>
> It is reproducible even with your latest aggregated build.

This doesn't seem to be a JOGL bug,
but some sort of assumed GL2 compatible context,
which in this case is not.

Would be helpful, if they run the failing code w/ -Djogl.debug=all

Invite them to join this discussion, or simply send them my reply.

+++

Caused by: javax.media.opengl.GLException: Not a GL2 implementation
   at jogamp.opengl.gl4.GL4bcImpl.getGL2(GL4bcImpl.java:34622)
   at com.ardor3d.scene.state.jogl.JoglLightStateUtil.setTwoSided(JoglLightStateUtil.java:197)
   at com.ardor3d.scene.state.jogl.JoglLightStateUtil.apply(JoglLightStateUtil.java:47)
   at com.ardor3d.renderer.jogl.JoglRenderer.doApplyState(JoglRenderer.java:1747)
   ...

++

      @Override
      public final boolean isGL2() {
          return _context.isGL2();
      }

      public final GL2 getGL2() throws GLException {
          if(!isGL2()) {
              throw new GLException("Not a GL2 implementation");
          }
      }

+++

~Sven


signature.asc (911 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: JOGL Updates ... (2)

gouessej
Administrator
He uses a Mac Book Air with an Intel HD 3000 graphics chip. GL4bc is used. This problem only occurs with this configuration. I asked him to enable all logs, reproduce this bug with a simple example without Ardor3D and create a bug report.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: JOGL Updates ... (2)

Sven Gothel
Administrator
On 04/06/2013 11:41 AM, gouessej [via jogamp] wrote:
> He uses a Mac Book Air with an Intel HD 3000 graphics chip.
> GL4bc is used.

If GL4bc would have been used, contest.isGL2() should have returned true.

> This problem only occurs with this configuration. I asked him to enable all
> logs, reproduce this bug with a simple example without Ardor3D and create a
> bug report.

That would help a lot.

Thx, Sven




signature.asc (911 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: JOGL Updates ... (2)

Sven Gothel
Administrator
In reply to this post by gouessej
On 04/06/2013 02:30 PM, Sven Gothel wrote:
> On 04/06/2013 11:41 AM, gouessej [via jogamp] wrote:
>> He uses a Mac Book Air with an Intel HD 3000 graphics chip.
>> GL4bc is used.
>
> If GL4bc would have been used, contest.isGL2() should have returned true.

Note: OSX only has core GL >= 3.2, nothing w/ compatibility but GL 2.x




signature.asc (911 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: JOGL Updates ... (2)

gouessej
Administrator
That was mainly my fault. Ardor3D doesn't support forward compatible profiles. In this case, I have to call getMaxFixedFunc(true). This chip has a partial support of OpenGL 3.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: JOGL Updates ... (2)

jmaasing
In reply to this post by Sven Gothel
It is sad, I hoped that 10.8 would support at least 3.3 core.
Here is a good link about the supported extensions and such in OSX https://developer.apple.com/graphicsimaging/opengl/capabilities/index.html
Reply | Threaded
Open this post in threaded view
|

Re: JOGL Updates ... (2)

gouessej
Administrator
Thanks for the link.
Julien Gouesse | Personal blog | Website