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