[Sugar-devel] Cairo performance (was Re: SVG performance)
Wade Brainerd
wadetb at gmail.com
Sun Dec 7 20:44:41 EST 2008
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 <erikb at mediamods.com>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 <walter.bender at gmail.com>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 at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sugarlabs.org/archive/sugar-devel/attachments/20081207/34197b8e/attachment.htm
More information about the Sugar-devel
mailing list