Login  Register

Re: GLCanvas in CardLayout

Posted by Sven Gothel on Dec 09, 2011; 7:23pm
URL: https://forum.jogamp.org/GLCanvas-in-CardLayout-tp3571796p3573817.html

On Friday, December 09, 2011 07:26:51 PM gouessej [via jogamp] wrote:
>
> TUER uses a single context, it is "just" a game, it uses a single GLWindow
> unlike his own program attempting to create several GLCanvas instances.
> Maybe the problem comes from the creation of the context itself. Is there
> something common between this problem and what happens in the bug 498?
>

JOGL itself creates an internal context itself.

In my previous post where I analyzed the [NV, Ardor3D, ..] bug
I state that even though your AWT component (a GLCanvas itself as you say)
is unable to create even a temp. old non-ARB context (after failing the ARB one)
- _was_ able to properly create that shared ARB context GL 3.3.
Thats is the odd thing, hence I assumed the lack of a proper HDC/PFD-ID initialization.
(Maybe review my previous post w/ your source code .. maybe something indeed was overriden
in a way that it avoids proper initialization, but I don't know.)

Bug 498 is 'only' sporadically visible on this 32bit WinXP system .. hmm.
But your reported system is Win7 64bit .. so I doubt it's the same issue.

I have an old WinXP 32bit machine w/ a pretty old ATI mobility (RV3xx) here,
I will check w/ it later these days .. in case this is not related to the GPU driver at all.

~Sven