Re: Queued devices

New Message Reply Date view Thread view Subject view Author view

Jim Helman (jimh++at++surreal)
Mon, 04 Apr 94 15:43:08 -0700


> 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
be better off going with X-based input and window handling since OpenGL will
require it.

rgds,

-jim helman

jimh++at++surreal.asd.sgi.com
415/390-1151


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.