Re: XForms: Does a child process draw in a GLCanvas ?

From: Steve Lamont (spl@ncmir.ucsd.edu)
Date: Thu Jun 14 2001 - 15:21:53 EDT

  • Next message: Ivan Powis: "Re: XForms: Problem updating sub-form coords in dragged tabfolders?"

    # To subscribers of the xforms list from Steve Lamont <spl@ncmir.ucsd.edu> :

    > The simplest would be to let the child process draw in the window
    > created (and event-managed) by the parent.... And that gives my first
    > question : "Can a child process draw in a window created by the parent -
    > and only draw, since the event management is achieved by the parent
    > process ?"
     
    This may cause problems, since I believe that GLX uses the X wire
    protocol, leading to an Xlib async error.

    You might want to look into a multithreaded application. X11R6 has
    some support for multithreaded applications. I'm not sure how smart
    OpenGL is about multithreading, though.

                                                            spl

    _________________________________________________
    To unsubscribe, send the message "unsubscribe" to
    xforms-request@bob.usuhs.mil or see
    http://bob.usuhs.mil/mailserv/xforms.html
    XForms Home Page: http://world.std.com/~xforms
    List Archive: http://bob.usuhs.mil/mailserv/list-archives/



    This archive was generated by hypermail 2b29 : Thu Jun 14 2001 - 15:28:20 EDT