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.