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