home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / amiga / programm / 12251 < prev    next >
Encoding:
Internet Message Format  |  1992-08-12  |  1.4 KB

  1. Path: sparky!uunet!cbmvax!cbmehq!cbmfra!forgeas
  2. From: forgeas@swinjm.UUCP (Jean-Michel Forgeas)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Double buffered intuition screens?
  5. Message-ID: <W5Aur*vP1@swinjm.UUCP>
  6. Date: 10 Aug 92 14:43:06 GMT
  7. References: <13240@chalmers.se>
  8. Reply-To: cbmvax!cbmehq!cbmfra!swinjm!forgeas (Jean-Michel Forgeas)
  9. Organization: The Software Winery
  10. Lines: 24
  11. X-Newsreader: Arn V1.00 alpha rel2
  12.  
  13. In article <13240@chalmers.se>, d9erikb@dtek.chalmers.se writes:
  14.  
  15. > swap the Planes[] part of the BitMap structure between the
  16. > Screen structures BitMap and my extra "draw" BitMap.
  17. > [...]
  18. > 1. Is there some particular reason for this to be a BAD THING?
  19.  
  20. Since the new IFF code doesn't use sc.BitMap but sc.RastPort->BitMap,
  21. I suspect that you should use the second one too, at least because
  22. using C='s way is the better way to have compatible code.
  23.  
  24. > 2. What do I need to do to prevent race conditions when I swap
  25. >    the bitplane pointers? Should I Disable(), Forbid() or what?
  26.  
  27. Do WaitBlit() before swaping to be sure that the blitter finished
  28. to draw in the BitMap you want to show, because if you swap and
  29. display it before the blitter has finished you will see blit flashes.
  30.  
  31. Best regards
  32.     Jean-Michel
  33. --
  34. Jean-Michel Forgeas         uunet!cbmvax!cbmehq!cbmfra!swinjm!forgeas
  35. 4 rue du General Leclerc                       __
  36. 95210 Saint Gratien, France                    \/
  37.