hi
I have a small application with four GLCanvas objects. Each one resists in a JPanel with GridLayout(1,1) and these are added to Separators, so that I get a similar view to a 3DModeler application (three with wireframe mode, one textured). This model is put onto a JFrame. Everything is rendered from the same (dedicated) rendering thread.
Unfortunately this application doesn’t live longer than exaclty three frames. When the fourth frame is to be rendered, the app makes problems or even crashes.
On my Linux machine (Java 6, Java 5, ATI proprietary drivers) the following message is dumped to stdout:
fglX11AllocateManagedSurface: __FGLTexMgrAllocMem failed!!
On my Windows machine (Java 5, NVIDIA) the app crashes with a HotSpot error.
Is there anything, that needs to be paid attention to (needs to be done) when more than one GLCanvas is used at the same time or when they are on a JFrame?
Any help would be appreciated. Thanks in advance.
Marvin