On Wed, Nov 19, 2008 at 12:04 PM, Mikael Liljeroth <[EMAIL PROTECTED]> wrote: > Hi, I have a question regarding caching of big blocks of text. > The custom made evas engine that I have made for an embedded system > implements an eng_font_draw function that sets the context_font_ext with > a font_texture_draw function that renders each glyph. > The problem is that when there is a lot of text that changes (scrolling > textblocks), > the performance is not so good. > > When a textblock's position changes I do not want each glyph to be rendered > again, > instead I would like some kind of cache, an image buffer of the rendered > textblock. > If this is possible I could copy this image buffer to the destination with > only > one blit using a hardware accelerated blitter. > > Any ideas how this can be done?
freetype and regular evas engines do that. No much way to help you without code. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: [EMAIL PROTECTED] Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
