[cairo-bugs] [Bug 82002] [HSW bisected] cairo-trace(all cases) performance reduce 30%~90%

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 1 18:41:49 PDT 2014


--- Comment #3 from Bill Spitzak <spitzak at gmail.com> ---
This will disable the image filtering on xlib backends. This may not be a
concern as it sounds like the major users of the filtering are using the image
backend anyway. Also it was also not using it on xcb, and perhaps other
backends that talk to a remote pixman.

A correct fix would be to make the xlib backend switch to the fallback only if
image filtering is being done, but I don't have a good idea how to do that.
Probably even better is to move the filtering into pixman, so the xrender
backend will use it and thus fix xlib/xcb with no changes to cairo. I have
posted some code for this but have not seen any feedback.

Another problem with the current one is that if BEST is used it will do the
filtering even for the identity transform (the code in pixman does not do this
for GOOD/BEST). It should check for this and use nearest in this case. I will
try to add a patch for that.

You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20140802/955cd35b/attachment.html>

More information about the cairo-bugs mailing list