home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2401 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  3.9 KB

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