[webkit-changes] [WebKit/WebKit] 3b6473: [visionOS] Don't reset CALayers `separated` flag i...

Etienne Segonzac noreply at github.com
Wed Jan 22 12:21:14 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3b6473e8bfb59955757e1eaacb5dbc79b3a7056b
      https://github.com/WebKit/WebKit/commit/3b6473e8bfb59955757e1eaacb5dbc79b3a7056b
  Author: Etienne Segonzac <sgz at apple.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTreePropertyApplier.mm

  Log Message:
  -----------
  [visionOS] Don't reset CALayers `separated` flag if it was never set
https://bugs.webkit.org/show_bug.cgi?id=286355
<rdar://140374118>

Reviewed by Simon Fraser.

We update the CALayer flag on both `SeparatedChanged` _and_
`VisibleRectChanged` since it depends on viewport visibility.
This can cause side effects on layers that were never separated.

If the flag is already false don't make any CA change.

* Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTreePropertyApplier.mm:
(WebKit::RemoteLayerTreePropertyApplier::applyProperties):

Canonical link: https://commits.webkit.org/289253@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