I can tell you it will probably be the same.

If you need high performance text rendering then pango is not what you
should be using.
I've written a small library based on libxft called demontic that is
the beginings of a simple text rendering library for cairo. I don't
think you will see any real speed up using directfb libraries directly
since both cairo and directfb simply call into freetype and render the
resulting glyph directly. The only difference would be if the directfb
blit is accelerated and the one used by cairo is not. If this is the
case then its a bug in the cairo implementation and should be fixed.  
I'm not saying its perfect now since i've not verified the cairo blit
paths and caching but there should be no difference between cairo and
using the directfb freetype bindings if/when the cairo font
implementation is correct.

Ohh and your real problem with pango is that its redoing all the glyph
layout measurements each time you can do better there if you use pango
directly and save the pango objects its still pretty heavy for simple
drawing needs.





On 3/30/06, Denis Oliver Kropp <[EMAIL PROTECTED]> wrote:
> Hannes Mayr wrote
> > Hello,
> >
> > I'm currently using GTK 2.0.9 with DirectFB on an embedded device. Since
> > this is a bit slow, especially the text rendering, my question is if it
> > would make a big difference in performance/speed switching to the newer
> > GTK 2.9/2.10 version with included DFB backend? How is the performance
> > with cairo?
>
> I don't think it will make a difference, but can you verify that the
> text rendering of pure DirectFB doesn't have the same problem?
>
> You can access the IDirectFBSurface behind each GdkWindow directly,
> but I can't remember if there was a utility function already to get
> it, e.g. gdk_window_get_dfb_surface().
>
> --
> Best regards,
>    Denis Oliver Kropp
>
> .------------------------------------------.
> | DirectFB - Hardware accelerated graphics |
> | http://www.directfb.org/                 |
> "------------------------------------------"
>
> _______________________________________________
> directfb-dev mailing list
> [email protected]
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
>

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to