From: Kenneth B. R. <kbr...@al...> - 2003-06-16 15:01:49
|
> However, does the fact that : > >The OpenGL context handling and > >interaction with the window system has been > >completely redesigned and is in fact now written in Java instead > >of in C. > mean that a reasonably competent java programmer might be able to fix it? > What exactly is the problem? I just checked the source code and it looks like we planned ahead for this but just haven't stress tested it yet. See roughly line 156 in src/net/java/games/jogl/impl/windows/WindowsOnscreenGLContext.java and roughly line 142 in src/net/java/games/jogl/impl/x11/X11OnscreenGLContext.java, in particular the checking for JAWT_LOCK_SURFACE_CHANGED. I don't know whether that will be sufficient; in particular I think if a canvas is being animated and it's removed from its parent it will probably start returning JAWT_LOCK_ERROR, which will cause the GLException a few lines earlier to be thrown. -Ken |