Re: Queued devices

New Message Reply Date view Thread view Subject view Author view

Sharon Fischler (srf++at++rose)
Mon, 4 Apr 1994 16:08:59 -0700


+>---- On Apr 4, 3:43pm, Jim Helman wrote:
> Subject: Re: Queued devices
->
->
->> While trying to learn about queued devices in/with Proformer calls, I ran
->> across the following problem. Queued devices do not appear to
->> work properly when pfMultiprocess() is called with PFMP_DEFAULT.
->> I used the code sample.c in /usr/src/Performer/src/pguide/libpf/progs to
->> add queued device calls. After some time I called pfMultiprocess() with
->> PFMP_APPCULLDRAW and the code worked fine. I have a diff of the
->> code but I was worried if make this massage to long.
->
->When something works in PFMP_APPCULLDRAW but doesn't in other process models,
->the problem is almost always that the application is making calls in the
->wrong process or is not passing information properly through shared memory.
->
->In this case, the issue is probably that GL calls should only be made in the
->DRAW process. Check out how perfly handles things. In the long term, you'd

Exactly. Make sure that your call to pfuCollectInput() is being
done in the draw process - I would venture to guess that you are
calling it in the application process.
srf.

-- 
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++
Sharon Rose Fischler - Silicon Graphics, Advanced Graphics Development
srf++at++sgi.com  (415) 390 - 1002  FAX: (415) 965 - 2658  MS 8U-590
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:14 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.