home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!portal!danb
- From: danb@shell.portal.com (Dan E Babcock)
- Subject: Re: Chunky Pixels vs. Bitplanes (was: Chunky Chip Set...)
- Message-ID: <C03uC5.15o@unix.portal.com>
- Sender: news@unix.portal.com
- Nntp-Posting-Host: jobe
- Organization: Portal Communications Company -- 408/973-9111 (voice) 408/973-8091 (data)
- References: <1992Dec30.115759.22097@mpifr-bonn.mpg.de> <doiron.0ka3@starpt.UUCP> <1992Dec31.011428.2926@mpifr-bonn.mpg.de>
- Date: Thu, 31 Dec 1992 03:43:17 GMT
- Lines: 45
-
- In article <1992Dec31.011428.2926@mpifr-bonn.mpg.de> mlelstv@specklec.mpifr-bonn.mpg.de (Michael van Elst) writes:
- >In <doiron.0ka3@starpt.UUCP> doiron@starpt.UUCP (Glenn Doiron) writes:
- >
- >Thus bitplane devices are usually same speed as chunky pixel devices. But
- >you can scale bitplane devices easily with the obvious performance advantages.
- >You can never scale chunky pixel devices.
-
-
- Well, that's misleading. If you are talking about a blitter-per-plane type of
- architecture, the only one created (a few years ago from National) was a dismal
- flop. Too expensive with minimal advantages.
-
- >>You are doing the same transformations 8 times, once for each bitplane.
- >>This is not 8x the number of transformations? You deny facts?
- >
- >Again, with the example of doubling a bitmap you handle multiple pixels
- >at a time which exactly compensates for the number of bitplanes.
-
- No, it can rarely exactly compensate. The bitplane version of the algorithm
- will require the use of more temporary data, slowing it down. The best
- case is almost-as-fast.
-
- >Special-case optimizations. Right. But the "special cases" cover most graphics
- >operations.
-
- Except silly little things like drawing lines. Who'd ever want to draw a line? :-)
-
- >>See above. You still have to clear the other bitplanes. And some chunky
- >>hardware supports color expansion, too, where you take a single-bit image
- >>and can expand all 0's to one color and 1's to another. Of course, a
- >>similar thing could be done for planar, but you still have the
- >>masking/shifting/bandwidth on unaffected pixels problems. (Say it 3 times
- >>real fast.)
- >
- >The special hardware cannot magically expand the pixels since the bitmap
- >in the frame buffer (VRAM) needs all pixels to be defined. In chunky you
- >cannot write single bits into a pixel and have any speed advantage.
-
- No, the VRAMs contain a color register. The "1" expands to whatever color was
- previously loaded. Again, this allows text writing and polygon filling to be
- done 4 times faster than usual.
-
- Dan
-
-
-