home *** CD-ROM | disk | FTP | other *** search
- Path: fc.hp.com!news
- From: koren@hpsrk.fc.hp.com (Steve Koren)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: WritePixelArray vs. ClipBlit vs. ...
- Date: 30 Jan 1996 19:54:36 -0700
- Organization: HP Fort Collins Site
- Sender: koren@hpsrk.fc.hp.com
- Message-ID: <oj63f8xjcpf.fsf@hpsrk.fc.hp.com>
- References: <oj6ka2yity1.fsf@hpsrk.fc.hp.com> <sqoWx*NA0@mkmk.in-chemnitz.de>
- <4e9dju$ron@sunsystem5.informatik.tu-muenchen.de>
- <oj6n379tmab.fsf@hpsrk.fc.hp.com>
- <4eldi8$5j9@sunsystem5.informatik.tu-muenchen.de>
- NNTP-Posting-Host: hpsrk.fc.hp.com
- In-reply-to: fischerj@informatik.tu-muenchen.de's message of 30 Jan 1996 15:30:16 GMT
- X-Newsreader: Gnus v5.0.9
-
-
- fischerj@informatik.tu-muenchen.de (Juergen "Rally" Fischer) wrote:
-
- > |> Well, it is not a game, it is an application. It would prefer to always
- >
- > So if you don't do animations where converting to planar cares,
- > writepixelarray8(gfx.lib) is sufficient for any 8bit screen on any
- > gfx-system (AGA and cards).
-
- Yep, but WPA8() can only handle register based modes, so it is limited
- to a maximum of 256 colors (really somewhat fewer when you subtract out
- what other apps are using). I want also to be able to draw in truecolor
- on truecolor screens - in fact, that's the case I care most about. So I
- have to use the cybergfx functions on those screen modes. Which was
- what my original problem was - I have to deal with two APIs - one for
- register modes and one for truecolor modes. It *does* work, and work
- well I might add, to call gfx lib fns on LUT screens and cybergfx fns on
- truecolor screens. But it is just annoying.
-
- Now I think we have gone full circle here :-)
-
- > mhm I don't know, is obtainpen() one of that workbench-colorsharing
- > routines ?
-
- Yes - ObtainBestPen does color sharing. Which I want, if I'm running on
- a LUT screen. No point in exclusively grabbing a bunch of pens I don't
- intend to write to. I'm trying to be a good little app (unlike many
- others which just go ahead and stomp on pens other apps are using
- because they don't *allocate* pens, just use them).
-
- > Ever though about using HAM8 ? There is a way on AGA to get Workbench
-
- Yuck. Double-yuck in fact. I want my app to be able to use any screen,
- either register or truecolor, not force some mode id that won't work on
- graphics cards. Also, HAM8 puts a serious resolution limiter of about
- 800x600+overscan on things that use it (or 640x400+os if you have a
- multisync that won't sync as low as the 800x600 scan rate). I want to
- have my program cope with *any* resolution the user wants to use, even
- if it is 2048x1600 or some such. I personally *hate* apps that limit me
- to some low resolution like 800x600 when every other screen on my system
- is 1280x1024x8 or 1024x768x16-bit.
-
- HAM8 is great for some things, but this ain't one of them, and apps that
- open HAM8 screens annoy the hell out of those of us with gfx cards.
-
- > to get Workbench
- > into HAM8 mode with just clicking on a (selfmade) prefs-icon BTW.
-
- Now you want my app to change the user's Workbench modeID? YUCK! Any
- program that even *thinks* about doing that to me immediately goes into
- the trashcan, no further questions asked. I will never *use* such
- software, and I sure as heck won't *write* it either. What does your
- icon do if my workbench is, say, 1024x768x24-bit, and you can't close it
- to open a new mode?
-
- > ? I thought you explained 24->8. 8->24 is slow seen from games, but
- > fast seen from a rendering program.
-
- Must be thinkin' of somebody else - I don't think I ever said anything
- about games vs. rendering programs, but there was another discussion
- along those lines going on.
-
- > |> applications can always speak 24 bit, and any necessary remapping is
- > |> done at display time.
- >
- > if you got multiple windows needing different pallete it becomes
- > more difficult..
-
- Sure, but with proper pen sharing it all works out. OS3.0 has all the
- fundamentals - it just lacks an API that lets me deal in 24 bit
- internally without worry about details like pens.
-
- - steve
-