home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: netnews.upenn.edu!dsinc!scala!darren
- From: darren@scala.scala.com ("Darren M. Greenwald")
- Subject: Re: QBlit() waits for blitter to finish... ??
- Message-ID: <1996Jan3.194458.9030@scala.scala.com>
- Date: Wed, 3 Jan 1996 19:44:58 GMT
- References: <4c1v3q$hhs@wumpus.cc.uow.edu.au> <4cb2kv$4ku@news.rwth-aachen.de>
- Organization: US Research and Development - Scala Inc.
-
- In article <4cb2kv$4ku@news.rwth-aachen.de> svent@informatik.rwth-aachen.de (Sven Thoennissen) writes:
- >beato@wumpus.cc.uow.edu.au (Michael Beaton) writes:
- >
- >
- >>Hi,
- >> I'm trying to use QBlit() and it doesn't seem to work like I thought it
- >>would. My understanding was that I could call QBlit() with a bltnode and it
- >>would return after it had put the bltnode in the queue. Then when the blitter
- >>has finished, my task would be interrupted and the next bltnode in the queue
- >>would be processed and my task would continue.
- >> Could someone please explain how QBlit() should work, if it works how
- >>I thought it should, then at least I'll know its something I've done wrong.
- >
- >hi michael,
- >
- >yes I think thats the way QBlit goes. I dont have the rkm right here now,
- >but an inner voice says to me that your process is to be notified somehow
- >if your bltnode is done. I don't know how, got to look it up at home.
- >
-
- He is basically correct. The blitnode has an optional cleanup routine,
- but in most every case you will end up needing to use it to signal the task
- or at least set a flag that the blit is done. Note though that for
- small to medium blits it could be that the everything is done fast
- enough that QBlit() returns after the blit is done. This is more likely
- true if there are no other queued blits waiting in the queue (and of
- course that is the common case) and the blit is relatively small.
-
-
- --
- -----------------------------------------------------------
- Darren M. Greenwald | Scala Inc. R&D /
- Senior Systems Engineer | darren@scala.com o
- -----------------------------------------------------------
-