[cairo-bugs] [Bug 11529] Performance of cairo is not good without XRender extension

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 25 10:56:54 PDT 2007


http://bugs.freedesktop.org/show_bug.cgi?id=11529





------- Comment #14 from daniel.amelang at gmail.com  2007-07-25 10:56 PST -------
(In reply to comment #13)
> I used collect/analyser tools shipped in SunStudio12 to do some profiling. The
> most time consuming call is memcpy() and following is the related callstack:

That looks about right. Cairo here is filling in where XRender should go. If
you're bent on turning cairo into a good implementation of XRender (instead of
working on making your X server have a good implementation of XRender), you
might want to look into using mediaLib to make that bitblt fast (I'm pretty
sure that mediaLib could help make a really smoking version of
fbCompositeSrcSrc_nxn).

Brian has already looked into mediaLib integration, he just hadn't posted any
convincing profiles (e.g. cairo-perf results) to justify it. Perhaps the case
discussed here would make a perfect example of how mediaLib makes cairo much
faster for a common case.

Incidentally, I'm a little disappointed that Sun only open sourced the
uninteresting version of mediaLib. I'm still waiting for the useful version to
be free'd. It's almost like Sun just wanted to look the part (in the
announcement), and hope that people wouldn't notice that they weren't actually
open sourcing the real thing. I just hope I'm wrong.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the cairo-bugs mailing list