[gcompris-devel] Performance issues

Stuart D. Gathman stuart at gathman.org
Tue Oct 9 20:39:43 UTC 2007


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?




More information about the Gcompris-devel mailing list