Re: Mono or Multi-process ?
Lou Batayte (lbatayt%r2d2++at++relay.nswc.navy.mil)
Fri, 3 Nov 1995 12:43:01 -0500
> But you do want to mix compute tasks with rendering to use the CPU when
> the graphics pipe is busy doing other things like clearing the screen or
> writing lots of pixels. The last thing you want to do if running single
> threaded is do a large block of computations in one go, unless it's after
> a really heavily pixel limited operation like drawing your sky polygon, or
> you can afford it because of rounding to your swapinterval.
If I do the folowing:
swapbuffers();
RGBcolor(255,255,255);
clear();
where does the CPU hang, waiting for a graphic action to finish, assuming the
swapbuffers is rounding to the swapinterval.
This archive was generated by hypermail 2.0b2
on Mon Aug 10 1998 - 17:52:00 PDT