[webkit-changes] [WebKit/WebKit] bde602: [LBSE] Enable accelerated transform animations for...

Nikolas Zimmermann noreply at github.com
Tue Sep 19 00:20:09 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bde602f47049d0712b479d925ea19e0962e05f7f
      https://github.com/WebKit/WebKit/commit/bde602f47049d0712b479d925ea19e0962e05f7f
  Author: Nikolas Zimmermann <nzimmermann at igalia.com>
  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




More information about the webkit-changes mailing list