home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 6677 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.8 KB  |  44 lines

  1. Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.games,alt.sys.amiga.demos,comp.sys.amiga.misc
  2. Path: comp.vuw.ac.nz!HERMES!maths!peterm
  3. From: peterm@maths.grace.cri.nz (Peter McGavin)
  4. Subject: Re: AB3D II beats Quake....
  5. Message-ID: <PETERM.96Apr1124517@tui.maths.irl.cri.nz>
  6. Date: 01 Apr 1996 00:45:17 GMT
  7. Distribution: world
  8. References: <31554EFB.5D97@plea.se> <3025.6658T1041T105@mbox.vol.it>
  9. Organization: Industrial Research Ltd
  10. In-reply-to: bizzetti@mbox.vol.it's message of 25 Mar 1996 16:26:01 GMT
  11.  
  12. bizzetti@mbox.vol.it (Fabio Bizzetti) writes:
  13. >>Ok, WritePixel isn't fast, then patch it!
  14. >
  15. >Just only the JSR/RTS is times slower than my "WritePixel" routine.
  16.  
  17. Your "WritePixel" probably doesn't handle variable width/height/depth
  18. bitmaps nor handle overlapping windows nor interact with pull-down
  19. menus nor clip to bitmap boundaries nor support a write-mask nor
  20. handle both interleaved and non-interleaved bitmaps nor synchronise
  21. with blitter functions nor handle non-standard bitmaps nor work with
  22. gfx-cards nor...
  23.  
  24. >And, "just remove JSR/RTS" means "dont use the OS".
  25.  
  26. No.
  27.  
  28. 1. The OS provides dozens of drawing functions, most of which are much
  29. faster than WritePixel() when more than one pixel is rendered.
  30.  
  31. 2. If none of the above are sufficient, the OS support direct bitmap
  32. access for native bitmaps (at the expense of compatibility/portability
  33. unless the program provides alternative routines for gfx-cards).  Then
  34. you can use your "WritePixel" routine.
  35.  
  36. 3. Even if the program uses custom gfx in a completely unthought-of
  37. way, e.g, really weird bitmap format manipulated by copper in an
  38. unheard-of way, the OS supports take-over of all custom gfx.  The OS
  39. can still be used for continuous hard-disk/CDROM access, network play,
  40. 100% compatible keyboard access, OS-calls, etc.
  41. -- 
  42. Peter McGavin.   (p.mcgavin@irl.cri.nz)
  43.  
  44.