[cairo] Where's the bottleneck in using glitz/cairo/librsvg?
Carl Worth
cworth at cworth.org
Tue Jun 6 22:14:38 PDT 2006
On Tue, 6 Jun 2006 23:25:59 -0400, "Dominic Lachowicz" wrote:
> It's startling how many times these get called. All of the icons are
> re-rendered every time the mouse moves. They are re-rendered even if
> the SVGs in question wouldn't rescale.
Oh, that's an interesting datapoint.
> Also, if there are a finite number of zoom percentages, it might be
> worthwhile to pre-render the SVGs to cairo_surface_t's and then
> set_source_surface()/cairo_paint() those.
If I read the blog entry correctly, (the email here wasn't as
detailed), that technique was known to the author and deliberately
avoided just to see what would happen.
Something else I would like to see is what it would take to get an EXA
driver to the point where cairo's xlib backend could be competitive
with a well-performing glitz backend for code like this.
-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20060606/0e3150ed/attachment.pgp
More information about the cairo
mailing list