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

  1. Path: comma.rhein.de!serpens!not-for-mail
  2. From: mlelstv@serpens.rhein.de (Michael van Elst)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Q: Scrolling a Window
  5. Date: 27 Mar 1996 09:36:26 +0100
  6. Organization: dis-
  7. Message-ID: <4jauma$ji3@serpens.rhein.de>
  8. References: <4j5r2n$566@ousrvr3.oulu.fi> <Pine.LNX.3.91.960326113409.12997A-100000@mix.hsv.no> <4ja48r$hva@the-fly.zip.com.au>
  9. NNTP-Posting-Host: serpens.rhein.de
  10.  
  11. stuartm@zip.com.au (Stuart Mackinnon) writes:
  12.  
  13. >In fact it would probably be best to do ScrollRaster() AND ClipBlit().
  14. >Refer to the "Optimised Window Refreshing" AmigaMail article to
  15. >understand why it is best to use both. Basically you use ScrollRaster()
  16. >to do the blit, then set the write mask to 0 and use ClipBlit() to
  17. >scroll the damage areas. Then set the write mask back to what it was.
  18.  
  19. This is basically right but backwards. You use ClipBlit to do the
  20. blit and ScrollRaster to scroll the damage areas :)
  21.  
  22. >Don't use GZZ. Firstly it uses a LOT more CHIP ram, and is much slower
  23. >on window moves and resizes.
  24.  
  25. GZZ shouldn't need more CHIP ram. It "just" needs another layer (i.e. some
  26. management structures that reside in any memory).
  27.  
  28. >The only reason anyone would EVER need to
  29. >use a GZZ window is if they want GadTools gadgets clipped to the
  30. >window border (GadTools seems to screw around with clipping regions
  31. >such that they are ignored during any GadTools gadget rendering).
  32.  
  33. No gadgets are clipped. And you need GZZ for a Superbitmap window with a border.
  34.  
  35. Regards,
  36. -- 
  37.                                 Michael van Elst
  38.  
  39. Internet: mlelstv@serpens.rhein.de
  40.                                 "A potential Snark may lurk in every tree."
  41.