(C) 1998 AROS - The Amiga Research OS


NAME

LONG BeginUpdate (l)

LOCATION
In LayersBase at offset 13

SYNOPSIS
struct Layer * l

FUNCTION
Converts the damage list to ClipRects and exchanges the two lists for faster redrawing. This routine allows a faster update of the display as it will only be rendered in the damaged areas. This routine will automatically lock the layer agains changes.

INPUTS
l
pointer to layer

RESULT
TRUE if damage list conversion was successful FALSE if list could not be converted.

EXAMPLE

SEE ALSO
EndUpdate()

NOTES

BUGS
not tested

INTERNALS

HISTORY
16.03.1999 bergers
ClipRects are not cached in the LayerInfo structure anymore as this might suggest that there is a memory leak while there is not one. Instead there are cached with every layer individually.
25.02.1999 bergers
Alloc ClipRects are fetched from a pool of cliprects in the LayerInfo and when freed put into that pool.
26.01.1999 bergers
Incomplete.
19.10.1998 ldp
Amiga Research OS
18.08.1997 ldp
Empty functions