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
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Sugar mailing list [email protected] http://lists.laptop.org/listinfo/sugar

