[comp.sys.amiga] Double Buffering/Copper Lists

pawn@wpi.wpi.edu (Kevin Goroway) (02/22/89)

Ok, I have my problem simplified down to this...
I have a double buffered display, and an animated copper list. Now for the
problem:

The animated copper list requires this...
vp.DspIns=vp.SprIns (etc...for the ClrIns and SprIns)
then a FreeVPortCopLists() or it eats memory...
then I restore the variables and do a MrgCop, then a LoadView...

That's the problem, doing a MrgCop kills my double buffering...
I just can't draw into the rastport that points to it...
Anyone know where my RastPort is going?
(I know that it is switching, because if I put a RectFill in one it blinks)
(If I put a RectFill in the other, it never appears)
(They BOTH(the bitmaps) work if I don't do the MrgCop...)

thanks...

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| Pawn@wpi.wpi.edu 		Worcester Polytechnic Institute, Mass, U.S.A. |
| Pawn@wpi.Bitnet		main() { printf("Hello World!\n); }           |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

pawn@wpi.wpi.edu (Kevin Goroway) (02/22/89)

In article <950@wpi.wpi.edu>, pawn@wpi.wpi.edu (Kevin Goroway) writes:

(That's me...)

> That's the problem, doing a MrgCop kills my double buffering...
> I just can't draw into the rastport that points to it...

Notice: this isn't working BECAUSE I NEED to do a MrgCop, which
kills double buffering...

> (I know that it is switching, because if I put a RectFill in one it blinks)
> (If I put a RectFill in the other, it never appears)
> (They BOTH(the bitmaps) work if I don't do the MrgCop...)

If I put a RectFill in both, and get rid o' de MrgCop, it works perfectly.

How can I double buffer and use MrgCop in the same loop?
(I guess that's essentially what I am asking...)

> thanks...

thanks again...


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| Pawn@wpi.wpi.edu 		Worcester Polytechnic Institute, Mass, U.S.A. |
| Pawn@wpi.Bitnet		main() { printf("Hello World!\n); }           |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=