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

  1. Path: news.rwth-aachen.de!hathi!svent
  2. From: svent@hathi.informatik.rwth-aachen.de (Sven Thoennissen)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Fastest way to copy 1 bitmap to another?
  5. Date: 6 Feb 1996 12:56:05 GMT
  6. Organization: RWTH -Aachen / Rechnerbetrieb Informatik
  7. Message-ID: <4f7j55$c3m@news.rwth-aachen.de>
  8. References: <4f5uco$9sq@canopus.cc.umanitoba.ca>
  9. NNTP-Posting-Host: hathi.informatik.rwth-aachen.de
  10. X-Newsreader: NN version 6.5.0 #3 (NOV)
  11.  
  12. umpaul18@cc.umanitoba.ca (Kenneth Paulson) writes:
  13.  
  14. >Currently I'm using BltBitMap(), but I was wondering if there is a faster 
  15. >way.  I don't need any masks, and the data is 640x160x4 with all planes 
  16. >being copied.  A speed increase would be nice, so I'd appreciate any help.
  17.  
  18. Ok this is no speedup for you routine, but it could be an improvement
  19. on compatibility.
  20.  
  21. Have you tried it out on graphics boards?
  22.  
  23. I use BltBitmapRastport() to blit a bitmap of depth 2 into a rastport
  24. with depth 8. On EGS, I had to set writemask to %00000011 (otherwise
  25. thee other 6 planes are zeroed).
  26.  
  27. Note: If you use SetWriteMask(), this is a 3.0 function. for 2.0, write
  28. the writemask value into the rastport manually.
  29.  
  30. bye
  31. sven
  32. --
  33.  svent@pool.informatik.rwth-aachen.de
  34.  http://www-users.informatik.rwth-aachen.de/~svent/
  35.  - - - - - - - K2000 - Anime - Amiga - MidiTracker development - - - - - - - -
  36.  "There is a power greater than science that rules the world."
  37.