[sugar] rendering test
Benjamin Berg
benjamin
Sun Sep 28 12:57:56 EDT 2008
On Sun, 2008-09-28 at 18:35 +0200, Bernie Innocenti wrote:
> Benjamin Berg wrote:
> > A shared cache would be great. One way to do it would be to share a
> > mmap'able file similar to the GTK+ icon cache file. But to create this
> > file, one will need to know the icon colors that should be prerendered.
> >
> > More complicated would be to create a small service that uploads
> > rendered icons to the X server, and hands back the pixmap ID. That way
> > all applications could use one shared server side cache.
> > (The pixmap based sapwood GTK+ engine, used on the Nokia 770/8x0
> > devices, does this to save memory.)
>
> We discussed this approach in Brno. I'm glad to hear it's feasible.
>
> Oh, why can't we just use the gtk icon cache with the rendered pixmaps?
The thing is that the GTK+ icon cache are just prerendered icons
(created with a standalone application). In Sugar however, we need a
more complicated mechanism as the colour of the icons is changed on the
fly. One would probably need to implement a custom icon cache, that
prerenders the most often needed colour combinations.
Benjamin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.laptop.org/pipermail/sugar/attachments/20080928/a1d5ae5f/attachment.pgp
More information about the Sugar-devel
mailing list