Login  Register

Re: Unable to create temp OpenGL context for device context

Posted by jouvieje on Nov 11, 2011; 9:56am
URL: https://forum.jogamp.org/Unable-to-create-temp-OpenGL-context-for-device-context-tp3089571p3499258.html

I've modify the unit test to reproduce the exception:
TestSharedContextListNEWT.java
TestSharedContextListNEWT2.java

The wglShareLists happens > 75% of the time (so sometimes it works).
Using the same animator for all GLWindow never show the exception. As far as I know, running different context (all shared) in different thread is possible, but may be there are some constraint on their creation. Anyway, if something looks wrong on the changes let me know.
Jérôme