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

  1. Path: grafix.xs4all.nl!john.hendrikx
  2. Date: Sat, 06 Jan 96 20:22:32 GMT+1
  3. Newsgroups: comp.sys.amiga.programmer
  4. Distribution: world
  5. Subject: Re: Demo/game to OS friendly part II
  6. MIME-Version: 1.0
  7. Content-Type: text/plain; charset=iso-8859-1
  8. Content-Transfer-Encoding: 8bit
  9. From: john.hendrikx@grafix.xs4all.nl (John Hendrikx)
  10. Message-ID: <john.hendrikx.44ce@grafix.xs4all.nl>
  11. Organization: Grafix Attack BBS Holland
  12.  
  13. In a message of 05 Jan 96 Michael Van Elst wrote to All:
  14.  
  15.  >> Ok. What is the fastest way to have triple buffering on a Intuition
  16.  >> screen? ScrollVPort()?
  17.  
  18.  MVE> The fastest method is to use the double buffer functions in OS 3.x.
  19.  MVE> Doesn't mean that all displays support double buffering (i.e. last time
  20.  MVE> I checked there was no double buffering in CyberGraphics).
  21.  
  22. :-(((
  23.  
  24.  MVE> I'm not sure whether ScrollVPort() with different BitMaps is supported
  25.  MVE> on anything else than the native graphics either. If it would be
  26.  MVE> supported it could be pretty slow if a bitmap has to be swapped from
  27.  MVE> fast memory to the card.
  28.  
  29.  MVE> Opening a screen with twice the height or width and using ScrollVPort()
  30.  MVE> to change the displayed region might be compatible with more graphics
  31.  MVE> cards. With only one BitMap it should be guaranteed that no data has to
  32.  MVE> be copied.
  33.  
  34. Don't you mean MoveScreen()?  With ScrollVPort you'll need to modify the
  35. bitplane offsets yourself, while MoveScreen() handles this automatically.
  36. Changing bitplane offsets will likely not work with gfx-cards.  (BTW, Picasso
  37. uses MoveScreen() internally to accomplish its double-buffering).
  38.  
  39.  MVE> So I'd try the double buffer functions and if that fails resort to one
  40.  MVE> of the kludges below.
  41.  
  42. Grtz John
  43.  
  44. -----------------------------------------------------------------------
  45.  John.Hendrikx@grafix.xs4all.nl   TextDemo/FastView/Etc... development
  46. -----------------------------------------------------------------------
  47. -- Via Xenolink 1.985B1, XenolinkUUCP 1.1
  48.