XForms: Does a child process draw in a GLCanvas ?

From: Nicolas Castagne (Nicolas.Castagne@imag.fr)
Date: Thu Jun 14 2001 - 14:47:20 EDT

  • Next message: Steve Lamont: "Re: XForms: Does a child process draw in a GLCanvas ?"

    # To subscribers of the xforms list from Nicolas Castagne <Nicolas.Castagne@imag.fr> :

            Hi,

            I have a small problem using Xforms in my quite nice ( -:) )
    multiple process app. I did imagine a solution, but i wonder if there is a
    better - or simpler - one.

            All the forms, objects and Xevents are to be managed by the parent
    process, except, if possible, the draw acton in a GLcanvas.

            This GLcanvas is quite long to draw, so that I'd like one of the
    child process to perform drawing operations.

            I may achieved this using a GLbuffer shared in a shared memory
    space. The parent process would ask the child to draw in the buffer, and
    when finished the child would send a message to the parent so that it
    performs the buffer swap.
            This solution may be a bit heavy indeed...

            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 ?"

            Last but not least :
            Any other idea ?

            Thx all,

            NC;

            
    --------------------------------------------------------------------
    Nicolas Castagne

    Doctorant ICA - ACROE
            Laboratoire Informatique et Creation Artistique
            Association pour la Creation et la Recherche
                    sur les Outils d'Expression
    INPG, 46 av Felix Viallet
    38 000 Grenoble, France

    tel : (33) 4 76 57 46 60

    ATER ENSIMAG
    --------------------------------------------------------------------

    _________________________________________________
    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 - 14:52:45 EDT