WGL.wglDeleteContext(long) doesn't return

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

WGL.wglDeleteContext(long) doesn't return

Cedric Mayer
Hello all,
On our application (using NASA's WorldWind), using JOGL 1.1.1, it has been noted that sometimes (it's not really reproductible) when disposing our JPanels, the method WGL.wglDeleteContext(long), called by WindowsGLContext.destroyImpl() and GLContextImpl.destroy(), doesn't return and take 100% of the CPU (and it's annoying because we need to perform other tasks afterwards, like restarting the application). I was not able to find why as I couldn't find its implementation in the source code (only the header wingdi.h).
If someone has its source code I'll be glad to check, otherwise if someone can check...
Thank you!
Reply | Threaded
Open this post in threaded view
|

Re: WGL.wglDeleteContext(long) doesn't return

Michael Bien
Hello Cedric,

sorry but we don't maintain JOGL 1.1.1. We are currently at JOGL 2 and a lot has changed since 1.1.1.
If the bug also applies to JOGL 2... sure we will try to fix it.

best regards,
michael
Reply | Threaded
Open this post in threaded view
|

Re: WGL.wglDeleteContext(long) doesn't return

Cedric Mayer
Thank you for your answer. I would have liked to see 1.1.1 native code :-) but alas', I will try to update JOGL to version 2.
Best regards,

Cedric
Reply | Threaded
Open this post in threaded view
|

Re: WGL.wglDeleteContext(long) doesn't return

Sven Gothel
Administrator
On Tuesday, June 01, 2010 09:06:02 Cedric Mayer [via jogamp] wrote:
>
> Thank you for your answer. I would have liked to see 1.1.1 native code :-)
The source code is in our SCM, of course.
Checkout the version yuo desire and look at it :)

> but alas', I will try to update JOGL to version 2.

I guess that would be the most productive task.
Would acually love to see Worldwind running with JOGL2 again.

Thank you very much and give us a heads up when
we help, ie deployment for JOGL/Worldwind JNLP's .. etc.

Cheers, Sven

> Best regards,
>
> Cedric