[wxGLCanvas] GL commands don't work

ABE Hiroshi hiroshi at arlivre.ddo.jp
Tue Jul 3 18:15:23 PDT 2007


Thank you VZ for your prompt reply.

Let me confirm.
The child thread have the View3D reference and the thread call the  
View3D::snapshot(). Actually the child thread doesn't call the OpenGL  
command directly. All the GL commands send via the member function.  
This is the situation.

I thought all the process memory space shares between threads so  
OpenGL does. So I designed this way.

Is this a bad idea?

Thank you very much.

On 2007/07/04, at 9:54, Vadim Zeitlin wrote:

> On Wed, 4 Jul 2007 09:35:38 +0900 ABE Hiroshi <hiroshi.abe at na- 
> net.ornl.gov> wrote:
>
> AH> Is it possible that a child thread control the main thread's
> AH> GLcanvas?
>
>  I'm not an OpenGL expert but I would be pretty much surprised if  
> this were
> possible, at least under Windows where only the thread which created a
> window can use it later.
>
>  Regards,
> VZ

ABE Hiroshi
  from Tokorozawa, JAPAN





More information about the wx-users mailing list