2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
9 #include <exec/memory.h>
10 #include <proto/exec.h>
11 #include "graphics_intern.h"
13 /*****************************************************************************
17 #include <graphics/view.h>
19 AROS_LH1(struct DBufInfo
*, AllocDBufInfo
,
23 AROS_LHA(struct ViewPort
*, vp
, A0
),
27 struct GfxBase
*, GfxBase
, 161, Graphics
)
31 Allocates a double buffering structure used by ChangeVPBitMap().
35 vp - pointer to a ViewPort
39 Returns NULL if there wasn't enough memory (or if the viewport doesn't
40 support double buffering).
52 Which ViewPorts doesn't support double buffering?
56 ******************************************************************************/
61 return (struct DBufInfo
*)AllocMem(MEMF_ANY
| MEMF_CLEAR
,
62 sizeof(struct DBufInfo
));