[Sugar-devel] SVG performance

Tomeu Vizoso tomeu at sugarlabs.org
Fri Dec 12 03:26:18 EST 2008


2008/12/11 Marco Pesenti Gritti <marcopg at sugarlabs.org>:
> On Thu, Dec 11, 2008 at 9:56 PM, Ivan Krstić
> <krstic at solarsail.hcs.harvard.edu> wrote:
>> On Dec 11, 2008, at 4:45 PM, Walter Bender wrote:
>>> not a bad idea until we sort out this rendering issue.
>>
>>
>> It's actually the right idea, period. Except where prohibited by space
>> constraints, unchanging vector graphics should only be rendered into
>> bitmaps once, and reused in that form until an environmental
>> dependency (e.g. current screen resolution) changes.
>
> That's more or less the approach Benjamin icon cache takes, except for
> the complications coloured icons introduces. It sounds like we should
> make it available to activities.

But Benjamin's cache only stores icons in a few well-known sizes,
right? Not sure it would help in the turtle art case as-is.

Regards,

Tomeu


More information about the Sugar-devel mailing list