Wade Olsen (wade++at++fnord)
Mon, 10 Jan 1994 17:18:22 -0800
The sample program has definitions for the GL routines getsize and
getorigin. These are faster versions than the GL counterparts because the
GL must make a request to the X server and wait for a responce. But since
this application watches for resize events it knows what the window size
is. But if performer asks for the window size before the app gets some
indication of the window size then performer might be using garbage from
my version of getsize. A quick and resonable fix might be to stick some
default values in win_x_size and win_y_size right after they are allocated
out of shared memory. I wrote this example using Perf1.1 on IRIX 5.*.
I'll bet that compiler differences and not initializing these variables
is the culprit. Sorry.
Regarding applying this approach to an existing application, be careful!
The order things happen in is very critical. It might be easier to take
a working program and make incremental changes (the example for instance)
and morph it into your final application. Then again, maybe not :-).
I'm trying to come up with a multi-pipe version of this. I'll post it here
when I can get it working.
> twice, once when I called pfConfig, and again when I called XtRealizeWidget.
> Can you tell me what conditions generate this error?
>
> I am running Performer 1.0 and Motif 1.1 on an IRIS 4D/440 Reality Engine
> with IRIX 4.0.5G. Thanks.
>
> James Covington LT USN
> Naval Postgraduate School
> Monterey CA
>
>
>
>
>
>-- End of excerpt from james covington
-- ------------------------------------------------------------------------------- Wade Olsen, wade++at++sgi.com, 415-390-1023, Silicon Graphics Computer Systems
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:08 PDT