Denis Oliver Kropp wrote:
So the impact should be somewhere else if still present. I also cleaned up the font state handling code in gfxcard.c.
diff --git a/src/core/fonts.c b/src/core/fonts.c index 006c58f..851f261 100644 --- a/src/core/fonts.c +++ b/src/core/fonts.c @@ -876,6 +876,9 @@ dfb_font_get_glyph_data( CoreFont *font, type.pixel_format = font->pixel_format; type.surface_caps = font->surface_caps; + /* Avoid too many surface switches during one string rendering */ + type.height = MAX( font->height, type.height ); + ret = dfb_font_manager_get_cache( font->manager, &type, &cache ); if (ret) { D_DEBUG_AT( Core_Font, " -> could not get cache from manager!\n" ); The new code used lots of different cache rows for one string, so the BatchBlit was not quite efficiently used. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | '------------------------------------------' _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev