Article View: comp.sys.amiga.tech
Article #10853Re: Unsupported Programming Practices
From: Tomas G. Rokicki
Date: Sat, 07 Jan 1989 00:24
Date: Sat, 07 Jan 1989 00:24
16 lines
1130 bytes
1130 bytes
> > Is there some call one can make which ensures any blitter usage from the > > previous graphics library call will complete before returning? > Would OwnBlitter() work for this? I assume that the sequence : > Draw(...); > OwnBlitter(); > Can't possibly give you the Blitter before the Draw call has finished > with it. Nicht, won't work. Even after OwnBlitter() the blitter could very well be doing a blit; you need a WaitBlit() after that before using the blitter. The correct technique is WaitBlit(). This assumes that Draw() (or the other graphics routines) do not return with more than one Blit pending (yes, a Draw can require multiple blits). Can this be guaranteed, Dale? -tom
Technical Details
Message-ID:
<5932@polya.Stanford.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!lll-winken!ames!pasteur!agate!ucbvax!decwrl!labrea!polya!rokickiReferences:
<8901060406.AA22607@postgres.Berkeley.EDU> <84277@sun.uucp>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!lll-winken!ames!pasteur!agate!ucbvax!decwrl!labrea!polya!rokicki From: rokicki@polya.Stanford.EDU (Tomas G. Rokicki) Newsgroups: comp.sys.amiga.tech Subject: Re: Unsupported Programming Practices Message-ID: <5932@polya.Stanford.EDU> Date: 7 Jan 89 00:24:46 GMT References: <8901060406.AA22607@postgres.Berkeley.EDU> <84277@sun.uucp> Organization: Stanford University Lines: 16