[webkit-changes] [WebKit/WebKit] 7d701b: [threaded-animation-resolution] avoid uploading a ...

Antoine Quint noreply at github.com
Thu Feb 15 12:50:16 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7d701b17b375c819c5f97de628c712e3b1ac51ba
      https://github.com/WebKit/WebKit/commit/7d701b17b375c819c5f97de628c712e3b1ac51ba
  Author: Antoine Quint <graouts at webkit.org>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp

  Log Message:
  -----------
  [threaded-animation-resolution] avoid uploading a new effect stack to the UIProcess if it remains empty
https://bugs.webkit.org/show_bug.cgi?id=269451

Reviewed by Dean Jackson.

Fix the `GraphicsLayerCA::setAcceleratedEffectsAndBaseValues()` method to return early if the effect stack
remains empty in order to avoid a layer property change and a subsequent upload to the UIProcess.

* Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::setAcceleratedEffectsAndBaseValues):

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




More information about the webkit-changes mailing list