Path: 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 > > 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