[Webkit-unassigned] [Bug 169586] Subpixel rendering causes repainting compositing layers moved by CSS animation
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 13 22:02:11 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=169586
--- Comment #2 from Fujii Hironori <Hironori.Fujii at sony.com> ---
Here are a simple patch to disable subpixel rendering:
> diff --git a/Source/WebCore/rendering/RenderLayerBacking.cpp b/Source/WebCore/rendering/RenderLayerBacking.cpp
> index 46c9ecd..4c72640 100644
> --- a/Source/WebCore/rendering/RenderLayerBacking.cpp
> +++ b/Source/WebCore/rendering/RenderLayerBacking.cpp
> @@ -889,8 +889,7 @@ private:
> LayoutRect RenderLayerBacking::computePrimaryGraphicsLayerRect(const LayoutRect& parentGraphicsLayerRect) const
> {
> ComputedOffsets compositedBoundsOffset(m_owningLayer, compositedBounds(), parentGraphicsLayerRect, LayoutRect());
> - return LayoutRect(encloseRectToDevicePixels(LayoutRect(toLayoutPoint(compositedBoundsOffset.fromParentGraphicsLayer()), compositedBounds().size()),
> - deviceScaleFactor()));
> + return LayoutRect(toLayoutPoint(compositedBoundsOffset.fromParentGraphicsLayer()), compositedBounds().size());
> }
>
> LayoutRect RenderLayerBacking::computeParentGraphicsLayerRect(RenderLayer* compositedAncestor, LayoutSize& ancestorClippingLayerOffset) const
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170314/22818bc0/attachment-0001.html>
More information about the webkit-unassigned
mailing list