Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bde602f47049d0712b479d925ea19e0962e05f7f
      
https://github.com/WebKit/WebKit/commit/bde602f47049d0712b479d925ea19e0962e05f7f
  Author: Nikolas Zimmermann <[email protected]>
  Date:   2023-09-19 (Tue, 19 Sep 2023)

  Changed paths:
    M Source/WebCore/rendering/RenderLayerBacking.cpp

  Log Message:
  -----------
  [LBSE] Enable accelerated transform animations for SVG renderers
https://bugs.webkit.org/show_bug.cgi?id=258122

Reviewed by Rob Buis.

Accelerated transform animations were not active for SVG renderers
in LBSE. RenderLayerBacking::startAnimation() only used accelerated
mode for RenderBoxModelObject derived renderers -- extend that to
all SVG layer awarerenderers. Forgot to upstream this half a year
ago :-(

Also make sure that 'transform-box' is respected, when calculating
the bounding box, against which e.g. 'transform-origin' percentage
values are resolved. This needs more testing to verify this outside
of SVG content in future -- need to coordinate with WPT.

Covered by existing tests, performance difference is significant.

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to