[gcompris-devel] Performance issues
Bruno Coudoin
bruno.coudoin at free.fr
Tue Oct 9 21:13:23 UTC 2007
Le mardi 09 octobre 2007 à 16:39 -0400, Stuart D. Gathman a écrit :
> Terje Bergström wrote:
> > On Tuesday 09 October 2007 20:12:09 Bruno Coudoin wrote:
> >
> >> Even if you resize the images at build time, it won't solve the problem.
> >> It will even get worse. Let's take an example, you have an image that is
> >> 400x300. When GCompris is run at 800x600, its native resolution, there
> >> are no resize to do. When you run GCompris in a smaller or bigger
> >> windows, the canvas will rescale the image accordingly, whatever the
> >> original image size.
> >> Of course, SVG would also help if the SVG files are not too complex. Complex
> >>
> >> vector graphics can be slower than scaling bitmaps.
> >>
> Instead of scaling at build time, how about a cache for scaled images?
It would not work in the case of the N800, the image is only display
once and it's already slow. If we save it on disk, we will add some
mess, not solve it.
--
Bruno Coudoin
http://gcompris.net Free educational software for kids
http://toulibre.org Logiciel Libre à Toulouse
More information about the Gcompris-devel
mailing list