Re: Mono or Multi-process ?

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++bitch.reading.sgi.com)
Fri, 3 Nov 1995 18:52:03 +0100


> 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.

It'll wait on swapbuffers then continue, it won't wait on the clear,
You'll have breathing space after the clear to have your wicked way
with the CPU. But you may not want to call clear, it depends
what you are drawing. Look at the manual entry on pfClear.

If you are using performar you should look at the manual on pfFrame
& associated calls.

-- 
Angus Dorbie,
Silicon Graphics Ltd, UK
dorbie++at++reading.sgi.com

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:52:00 PDT

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