[Webkit-unassigned] [Bug 218278] [GTK][WPE] Enable direct compositing of images with rounded corners

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 28 09:06:31 PDT 2020


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

--- Comment #1 from Miguel Gomez <magomez at igalia.com> ---
> This was disabled in r219445 for GTK and WPE platforms. In order to enable
> it again we need to undo that change, and also check whether the image has
> an invertible transformation matrix, as we require that to perform the
> rounded clipping.

This is getting more complicated than I expected. I wanted to use this call

https://github.com/WebKit/webkit/blob/3420a35c9d08fb5d981c075d555754409ae1891e/Source/WebCore/rendering/RenderLayerBacking.cpp#L2817

to calculate inside the CoordinatedGraphicsLayer whether the transformation matrix is invertible. But the problem is that at the moment that call is performed, the CoordinatedGraphicsLayer only has its local transform set, not the accumulated transform combined with the ancestors. That has to be calculated recursively for all the ancestors, and that doesn't happen until the first layer flush.

-- 
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/20201028/bdfca3e9/attachment-0001.htm>


More information about the webkit-unassigned mailing list