Twitter

GRRLIB 4.3.0 slow with FreeType

On this moment GRRLIB 4.3.0 is working slow in combination with FreeType font access. Check out below mail content. The good news is that “Crayon” is working on a solution. I will keep you informed!

Hi Crayon, Today i have upgrade the GRRLIB from 4.2.1 to 4.3.0 in TowerDefense. The upgrade went good but the result was not really good. For some reason the freetype library is very slow. Resulting in poor (Frame-Per-Seconds) during the game play. Early this year you have tuned this library in the GRRlib 4.2.1 build and it was lighting fast. Why is it now so slow again. Do you have a idea? Looking forward to your response. wplaat

Hi wplaat, the code in GRRLIB has not changed that much, maybe the problem could be related to FreeType. If you have time, could you try to test older version of FreeType. Try different combination FreeType / GRRLIB. Let me know if you find something, I’ll try to test stuff on my side. Thanks for the feed back, Crayon

Hi crayon, Good news. I found the performance problem. I was testing wrong. I did not known, that when I compiled the new GRRLIB 4.3.0 library the *.a and *.h files were copied to the devkitpro directory. Therefor I was using everytime with the same “new” libraries. If I now replace the new freetype library of GRRLIB 4.3.0 build with my own old Freetype library (Downloaded from the wiibrew.org site). Everything is working lighting fast again. So the problem is related to the new freetype library. Can the performance issue be related to some wrong build flags in the freetype makefile? wplaat

hi wplaat, Good news, I was actually looking at your code 🙂 I’m going to test different way of building FreeType. It might be related to TrueType hinting, a new feature in FreeType 2.4.0. I’m going to try to build Freetype without this feature, normally TrueType hinting is suppose to make your text look better, but it might be slower too. I’ll keep you inform if I find something. Crayon

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>