home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2493 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: Hermes.grace.irl.cri.nz!maths!peterm
  2. From: peterm@maths.grace.cri.nz (Peter McGavin)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Demo/game to OS friendly part II
  5. Date: 31 Jan 1996 23:33:38 GMT
  6. Organization: Industrial Research Ltd
  7. Message-ID: <PETERM.96Feb1123338@tui.maths.irl.cri.nz>
  8. References: <john.hendrikx.47u5@grafix.xs4all.nl>
  9.     <PETERM.96Jan29164036@tui.maths.irl.cri.nz>
  10.     <4ek6bo$84n@xmission.xmission.com> <4ekl5d$51@serpens.rhein.de>
  11. NNTP-Posting-Host: tui.grace.cri.nz
  12. In-reply-to: mlelstv@serpens.rhein.de's message of 30 Jan 1996 09:33:49 +0100
  13.  
  14. mlelstv@serpens.rhein.de (Michael van Elst) writes:
  15. >butlerm@xmission.xmission.com (Mark David Butler) writes:
  16. >>For backward compatibility you could have an AUTOSYNC mode where all 
  17. >>graphics operations are executed synchronously.
  18. >
  19. >Not really necessary as graphics operations _are_ already async now.
  20.  
  21. Current high-level gfx calls have a queue limit of 1 (or less than 1).
  22. BTW: What is the correct way of waiting for an async gfx operation to
  23. complete?  One could use OwnBlitter()/WaitBlit()/DisownBlitter(), but
  24. it's not always clear whether the blitter is used.
  25.  
  26. On the other hand, QBlit() is too low-level (insists on hardware
  27. register banging).
  28.  
  29. >One problem with message passing is overhead of task switches.
  30.  
  31. I agree.  However task switches are not a problem for large gfx
  32. operations like copying an entire bitmap.  This is akin to a large IO
  33. request in DOS.  Perhaps the system should have a mechanism for
  34. batching trivial gfx operations, something like buffered IO in DOS.
  35. -- 
  36. Peter McGavin.   (p.mcgavin@irl.cri.nz)
  37.