[Webkit-unassigned] [Bug 201326] [Cairo] Scaled tile painting is slow

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 24 22:29:33 PST 2019


https://bugs.webkit.org/show_bug.cgi?id=201326

--- Comment #7 from Fujii Hironori <Hironori.Fujii at sony.com> ---
Created attachment 386401

  --> https://bugs.webkit.org/attachment.cgi?id=386401&action=review

Patch to use CAIRO_FILTER_BILINEAR for cairo_pattern

This patch solves this issue.

The profiling result (Comment 4) shows bits_image_fetch_separable_convolution_affine_normal_a8r8g8b8 is dominant in the test case (comment 2).
The function name implies a separable convolution filter is used.
cairo_pattern default filter is CAIRO_FILTER_DEFAULT.
CAIRO_FILTER_DEFAULT is CAIRO_FILTER_GOOD.
Cairo uses PIXMAN_FILTER_SEPARABLE_CONVOLUTION for CAIRO_FILTER_BEST and CAIRO_FILTER_GOOD.
IIUC, Pixman SSE2 has fast paths for BILINEAR and NEAREST filter, but for PIXMAN_FILTER_SEPARABLE_CONVOLUTION.
Then, the generic implementation generic_composite_rect is used.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191225/5fe38494/attachment.htm>


More information about the webkit-unassigned mailing list