Regression in AWT GLCanvas?

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

Regression in AWT GLCanvas?

gouessej
Administrator
Hi

@Sven you provided me a temporary fix for Ardor3D before you released the RC8, it was necessary when there were several GLCanvas instances in the same container under GNU Linux. I removed this fix when I updated JOGL. It was working fine until... I don't know when. Now I'm forced to use this always even under Windows and with a single GLCanvas. If I don't do that, the context is not created. The fix is here:
//FIXME temporary fix provided by Sven Göthel, useless with latest fixes in JOGL 2.0 RC8
    try {
            EventQueue.invokeAndWait(new Runnable() {
                public void run() {
                                        setVisible(true);
                                        display(); // force creation via validateGLDrawable()
                                }
                        });
        } catch (InvocationTargetException e) {
            throw new RuntimeException(e.getTargetException());
        } catch (InterruptedException e) {
            throw new RuntimeException(e);
        }

JOGL 2.0 build 754 works fine. I use the aggregated build of the 23rd August.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Regression in AWT GLCanvas?

gouessej
Administrator
This post was updated on .
I was still working with the RC9 but it was broken since the aggregated build of July 25th, 2012. As I mainly use the NEWT part of Ardor3D, I did not notice something was wrong in the AWT part.

Edit.: It is still broken in the aggregated build of September 29th, 2012.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Regression in AWT GLCanvas?

Sven Gothel
Administrator
On 10/04/2012 02:40 AM, gouessej [via jogamp] wrote:
> I was still working with the RC9 but it was broken since the aggregated build
> of July 25th, 2012. As I mainly use the NEWT part of Ardor3D, I did not notice
> something was wrong in the AWT part.

Reopened, guess I identified offending commit and added a patch to test:
  <https://jogamp.org/bugzilla/show_bug.cgi?id=572>

Would it be possible for you to create a small unit test ?

~Sven




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

Re: Regression in AWT GLCanvas?

gouessej
Administrator
Sven Gothel wrote
Would it be possible for you to create a small unit test ?
It is not trivial but it would be fine if I succeeded to do so.
Julien Gouesse | Personal blog | Website