[webkit-changes] [WebKit/WebKit] d4766b: [LBSE] Composited SVG shapes are blurry when an an...

Vitaly Dyachkov noreply at github.com
Mon Jan 20 00:50:30 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d4766b667963256e41db8c72a02613067074d834
      https://github.com/WebKit/WebKit/commit/d4766b667963256e41db8c72a02613067074d834
  Author: Vitaly Dyachkov <vitaly at igalia.com>
  Date:   2025-01-20 (Mon, 20 Jan 2025)

  Changed paths:
    A LayoutTests/svg/compositing/transformed-child-in-scaled-parent-expected.xml
    A LayoutTests/svg/compositing/transformed-child-in-scaled-parent.xml
    M Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp
    M Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h

  Log Message:
  -----------
  [LBSE] Composited SVG shapes are blurry when an ancestor is upscaled
https://bugs.webkit.org/show_bug.cgi?id=275400

Reviewed by Nikolas Zimmermann.

When calculating `rootRelativeScaleFactor`, we should accommodate
the scale factor of every ancestor.

* LayoutTests/svg/compositing/transformed-child-in-scaled-parent-expected.xml: Added.
* LayoutTests/svg/compositing/transformed-child-in-scaled-parent.xml: Added.
* Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::updateRootRelativeScale):
* Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h:
(WebCore::GraphicsLayerCA::rootRelativeScaleFactor):

Canonical link: https://commits.webkit.org/289144@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list