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

  1. Path: e45-hrze.uni-duisburg.de!sn253fe
  2. From: sn253fe@e45-hrze.uni-duisburg.de (Christoph Feck)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: x ^= y ^= x ^= y;
  5. Date: 27 Feb 1996 16:21:06 GMT
  6. Organization: Gerhard-Mercator-Universitaet - Gesamthochschule Duisburg
  7. Distribution: world
  8. Message-ID: <4gvb1i$ksk@h20-hrze.uni-duisburg.de>
  9. References: <1286.6624T1439T237@cs.ruu.nl> <4gnbu5$3n2@maureen.teleport.com>
  10. NNTP-Posting-Host: e45-hrz.uni-duisburg.de
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Stephan Schaem (sschaem@teleport.com) wrote:
  14. : Wessel Dankers (wsldanke@cs.ruu.nl) wrote:
  15. : :  b) is this x ^= y ^= x ^= y; method usable with the blitter?
  16. : :     It would be possible to swap two memory locations with no
  17.  
  18. Yes, this is what SwapBitsClipRectRastPort() does.
  19.  
  20. : :     extra memory required in three Blit calls. Is the blitter
  21. : :     equally fast with copying as with XOR'ing?
  22.  
  23. It is always faster to allocate a temporary bitmap and
  24. use three BltBitMap() calls.
  25.