home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!cs.uoregon.edu!sisters.cs.uoregon.edu!mkelly
- From: mkelly@sisters.cs.uoregon.edu (Michael A. Kelly)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: Top byte of 24-bit offscreen gworld?
- Message-ID: <1992Sep4.201711.16186@cs.uoregon.edu>
- Date: 4 Sep 92 20:17:11 GMT
- Article-I.D.: cs.1992Sep4.201711.16186
- References: <28628@vedge.UUCP> <1992Sep4.181047.16762@primerd.prime.com>
- Sender: news@cs.uoregon.edu (Netnews Owner)
- Organization: University of Oregon Computer and Information Sciences Dept.
- Lines: 38
-
- In article <1992Sep4.181047.16762@primerd.prime.com> <J.Cook@ENS.Prime.COM> writes:
- >In article <28628@vedge.UUCP> brad@vedge.com (Brad Fowlow) writes:
- >>Can anyone say how quickly or terribly things might
- >>go awry if I try to keep some extra info in the top 8 bits
- >>of the pixel data of a 24-bit offscreen gworld?
- >>
- >>That byte is awfully tempting as a place for alpha stuff.
- >>And for the moment I'm not too concerned with how the code
- >>will react under system 12; I just don't want sneaking
- >>randomness to show up next week.
- >>Have I missed something in IM6 that unequivocally rules
- >>this out, or permits it? Has anyone else been similiarly tempted?
- >
- >The only think I know is that you better check the spec's on your video board.
- >Some video boards implement 32 bits per pixel and ignore the high 8 bits and
- >some board don't have the memory there to save money. Check your board and
- >the boards of any other Macs you want to run on.
-
- If the extra memory isn't available, the card should take care of that
- itself. Since there's no such thing as a 24-bit GWorld, those cards must
- be taking the extra byte into account.
-
- If a card does have the extra memory, and it uses that memory internally,
- it should still be masking off the extra byte in a 32-bit GWorld. If the
- card has the memory but doesn't use it, it doesn't matter whether or not
- it copies the extra byte.
-
- This is all assuming you're using QuickDraw.
-
- I haven't tested this, but it _should_ work that way. Please correct me
- if I'm wrong.
-
- Mike.
- --
- _____________________________________________________________________________
- Michael A. Kelly University of Oregon
- mkelly@cs.uoregon.edu Computer Science Department
- _____________________________________________________________________________
-