I'm assuming that these SVGs are rendered at initialization time into
bitmaps using Cairo.

But either way, I think there is a big performance problem with Cairo on the
XO.  I see it again and again in my activities, so far in Bounce, Typing
Turtle and even Yay! Bee See; drawing simple shapes and images with Cairo
seems to always kill interactivity.

In Bounce I had to switch to custom gdk.Image based code in a C extension.
I would have done PyGame except it doesn't allow for GTK widgets.

I would like to see someone try getting in touch with Carl Worth (
www.cworth.org) and ask him to look at Cairo performance on an XO.  I've
tried contacting him in the past but not gotten a response.  It might be
that we need to switch to an integer-only version, enable some optimization
flags, or something similarly simple.

-Wade

On Sun, Dec 7, 2008 at 5:17 PM, Erik Blankinship <[EMAIL PROTECTED]>wrote:

> Are you rendering SVGs to bitmaps once, and then using the bitmaps from
> thereon?
>
> (This does not solve the svg performance problem, but attempts to limit its
> effect).
>
> On Sat, Dec 6, 2008 at 12:54 PM, Walter Bender <[EMAIL PROTECTED]>wrote:
>
>> I have been trying to speed up Turtle Art, which initializes much
>> slower (4x) since I converted from GIF to SVG. I've tried a lot of
>> tweaking, such as eliminating the linear gradients, in an attempt to
>> find out where the rendering bottleneck is (the file sizes are not
>> sizes are about the same) to no avail. Anyone have any experience with
>> such things?
>>
>
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to