There are two performance problems in Drawing layer: 1) Load a Presentation document.
A Presentation document contains many text object, So it will spend too many time to calculate object bound rectangle in loading. (The function is SdrObject::RecalcBoundRect ). The first question is: can we return the snap rectangle directly for text object when getting its bound rectangle? 2) Drawing Gradient/Hatching/Bitmap. a) Insert a shape and fill it with Gradient/Hatching/Bitmap b) Insert another shape and insert some text, set a text animation to it. Move the shape to overlap with previous shape. The OpenOffice CPU usage is very high. The text animation will paint both two shapes, and draw Gradient/Hatching/Bitmap consume many CPU time. The second question is: Can we replace drawing Gradient/Hatching algorithm to system API? I know Windows and Mac OS X support drawing Gradient/Hatching API. Thanks.
