Hi,
With JoGL since 1.1b4, on Windows, When you create and destroy GLCanvas, the speed can slow down drasticaly.
In fact, what’s happen, seem that the GLContext are not free, and the driver can’t create a hardware accelerated GLContext.
So the bug depand on the Video memory you have, the video resolution you have, and the size of GLCanvas you use.
For example, on my Dell 8600 with 128 Mo video Ram, and screen resolution of 1920x1600, I can create only 1 GLCanvas, not 2.
I have investigating the source code, and doing some test.
The problem seem to come from the WindowsGLContextFactory.checkForDummyContext method.
And more particulary on SetPixelFormat.
When the code go up to this line, the GLContext are not free.
If in the method WindowsGLContext. choosePixelFormatAndCreateContext you jump the checkForDummyContext, all is Ok.
Have you some idea ?
I’m currently investigating on native side, CreateDummyWindow.