home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3359 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.3 KB  |  38 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: thor.cf.ac.uk!thor!san3mw
  3. From: wardle@cf.ac.uk (Mark Wardle)
  4. Subject: Re: Fastest way to clear a Window?
  5. Sender: news@cf.ac.uk (USENET News System)
  6. Message-ID: <DMIFJz.nKF@cf.ac.uk>
  7. Date: Fri, 9 Feb 1996 13:16:46 GMT
  8. X-Nntp-Posting-Host: thor
  9. Reply-To: wardle@cf.ac.uk
  10. References: <4fck5b$7mm@leofric.coventry.ac.uk> <4fcush$58b@apoll.informatik.uni-bonn.de>
  11. Organization: University of Wales College of Cardiff, Cardiff, Wales, UK
  12. X-Newsreader: TIN [version 1.2 PL2]
  13.  
  14. Andreas Malerz (malerz@athene.informatik.uni-bonn.de) wrote:
  15.  
  16. : Dave Jackson (dj@coventry.ac.uk) wrote:
  17. : : I'm writing a 3d graphics viewer thingy using intuition windows.  What I 
  18. : : want to know is, what is the fastest way of clearing a window?
  19.  
  20. : Depending on your processor, you can try to do it with the CPU itself.
  21. : The fastest way I know is the following:
  22.  
  23. : [Routine which grabs a pointer to a bitplane and then just writes all 
  24. over it ]
  25.  
  26. : This solution is systemfriendly and on a fast processor faster than the
  27. : blitter.
  28.  
  29. yeah right... like writing direct to bitplanes, assuming their internal 
  30. format is system-friendly...
  31.  
  32. then again.. what about locking layers to prevent screen disruption if 
  33. the window is moved whilst you're clearing the area...   Jeez
  34.  
  35.  
  36. Mark Wardle
  37. wardle@cardiff.ac.uk
  38.