Hi,
I’m trying to optimize an SDL application for an ARM processor. I find
that the rendering of text is really slow (TTF_Rendertext_Blended).
Has someone come across this before, and is there a known solution?
Thanks,
–Shree.
Hi,
I’m trying to optimize an SDL application for an ARM processor. I find
that the rendering of text is really slow (TTF_Rendertext_Blended).
Has someone come across this before, and is there a known solution?
Thanks,
–Shree.
It does work if you render the characters separately and compose them later.
NFont does this:
http://code.bluedinosaurs.com/NFont.html
http://code.bluedinosaurs.com/NFont.htmlJonny DOn Wed, Mar 10, 2010 at 7:48 AM, Jesse Palser wrote:
Hi,
I recommend rendering all the texts one time at program start.
At program start, render all your texts into SDL_Surfaces.Obviously this wont work for when you render variables (like score, etc)
Good luck!
Jesse
shree 0987 wrote:
Hi,
I’m trying to optimize an SDL application for an ARM processor. I find
that the rendering of text is really slow (TTF_Rendertext_Blended).Has someone come across this before, and is there a known solution?
Thanks,
–Shree.
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org