[webkit-changes] [WebKit/WebKit] e94277: Separate computation of InteractionRegions from us...

Tim Horton noreply at github.com
Thu Apr 18 10:03:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e94277b0b2f029b7c4ad98e8b9b2c0ec97c17bf8
      https://github.com/WebKit/WebKit/commit/e94277b0b2f029b7c4ad98e8b9b2c0ec97c17bf8
  Author: Tim Horton <thorton at apple.com>
  Date:   2024-04-18 (Thu, 18 Apr 2024)

  Changed paths:
    M Source/WTF/wtf/PlatformEnableCocoa.h
    M Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTreePropertyApplier.mm
    M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeInteractionRegionLayers.h
    M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeInteractionRegionLayers.mm
    M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeNode.h
    M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeNode.mm

  Log Message:
  -----------
  Separate computation of InteractionRegions from using them for gaze highlighting
https://bugs.webkit.org/show_bug.cgi?id=272861
rdar://126651848

Reviewed by Wenson Hsieh and Abrar Rahman Protyasha.

* Source/WTF/wtf/PlatformEnableCocoa.h:
* Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTreePropertyApplier.mm:
(WebKit::RemoteLayerTreePropertyApplier::applyProperties):
(WebKit::RemoteLayerTreePropertyApplier::applyHierarchyUpdates):
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeInteractionRegionLayers.h:
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeInteractionRegionLayers.mm:
(WebKit::configureLayerAsGuard):
(WebKit::updateLayersForInteractionRegions):
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeNode.h:
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeNode.mm:
(WebKit::RemoteLayerTreeNode::~RemoteLayerTreeNode):
(WebKit::RemoteLayerTreeNode::detachFromParent):
(WebKit::RemoteLayerTreeNode::initializeLayer):
Separate INTERACTION_REGIONS_IN_EVENT_REGION ("compute InteractionRegions") out
from GAZE_GLOW_FOR_INTERACTION_REGIONS (making visionOS gaze highlight layers
from InteractionRegions), so that they can be enabled separately in cases where
we might want to use InteractionRegions for other purposes.

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