Dan Labute (dan++at++discreet.com)
Tue, 29 Sep 1998 13:59:40 -0400
I'm trying to do something REALLY simple, but am failing miserably.
I want to create a window in one process (UI), and attach it to
performer in another process.
In the UI process, I create an X Window, and pass it to the Performer
process via shared memory. The performer process blocks until the
X window ID is generated. Then, I use the pfPipeWindow's setWSWindow,
setFBConfigAttrs, and open methods to connect to the window as described
in the documentation.
The program hangs and never displays a window. When I comment out the
setWSWindow call, open() creates a window for me (off the Root), and
things work OK. Why doesn't it work when I call setWSWindow?
Is it that open() requires that the window actually be created? Do I
need
to call setWSDrawable too? Is my Display connection parameter wrong?
Do I need to call setGlCtx? Does the existence channels have any
effect?
Is there some mystical order to the oabove calls? Why are there no
error messages? Why is the documention (and examples) so poor in this
area?
Is what I'm doing so diffcult?
Any help would be GREATLY appreciated.
Thanks,
Dan Labute
Discreet Logic
e-mail: dan++at++discreet.com
Tel.: (514)-954-7549
This archive was generated by hypermail 2.0b2 on Tue Sep 29 1998 - 10:59:47 PDT