home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!munnari.oz.au!sol.deakin.OZ.AU!news.cs.uow.edu.au!cs.uow.edu.au!cc.uow.edu.au!geoff
- From: geoff@cc.uow.edu.au (geoffrey roberts)
- Subject: Depth and Device Manager Questions
- Message-ID: <1992Dec12.055906.19092@cc.uow.edu.au>
- Summary: Need help on getting Max Depth and Using Dev. Manager on graphics cards
- Keywords: Maximum Depth, Device Manager, Direct Device
- Organization: University Of Wollongong
- Date: Sat, 12 Dec 92 05:59:06 GMT
- Lines: 50
-
-
- I have a couple of questions concerning the graphics environment on
- the mac. If anyone knows that answers to these could they please
- contact me on e-mail:
-
- g.roberts@uow.edu.au
-
- 1. Question concerning depth
-
- In order to get as much information about the colour environment as
- possible, I need to get the maximum possible depth of each device. I
- realise that after (and including) system 6.0.5 I can recursively call
- the HasDepth function passing to it every possible depth. This seems
- a little long winded. Is their a cleaner way?
- Secondly, if using the HasDepth function is the only possible way of
- determining the maximum depth of a device, how can I find the maximum
- possible depth of a device before system 6.0.5? All we know is that
- it must be 8 bit or below prior to this system (if 32 bit QD is not
- installed).
- Please note that any system I use to determine the maximum depth
- will need to work on both PDS and NuBus slots.
-
- 2. Question on sample code.
-
- I have a couple questions regarding the "DirectSetEntries" sample
- code found on the February 92 Developers CD. The documentation on
- this sample code suggests that it can possibly be used possibly for
- animating on a direct device. This is exactly what I need to do!
- In this code calls are being made to the device manager, yet Inside
- Macintosh Vol II it states:
- "The display screen is not a device; drawing on the screen is handled
- by quickdraw"
- Does this apply to pre-colour machines only. ie, Can I use device
- manager calls to communicate to the graphics card - (NOT TO THE SCREEN)
- on Macintosh's with colour quickdraw? If so, will these calls work on
- machines that have a graphics card in their PDS.
- Secondly, could someone please explain the parameters that are being
- passed to PBControl? I assume that the parameters passed in this code
- are described in "Designing cards and Drivers for the Macintosh". I
- have no need for this full documentation - is there a smaller list of
- parameters for graphics cards somewhere?
- Finally, would this call work on machines that use the PDS slot for
- their graphics card?
-
-
- Thanks in advance
-
- Geoff
-
- g.roberts@cc.uow.edu.au
-