[webkit-changes] [WebKit/WebKit] a0a324: Enable WebKit to build with InteractionRegions tur...

megangardner noreply at github.com
Thu Jul 20 09:05:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a0a3244607165dacc9960ad473899155b05f503d
      https://github.com/WebKit/WebKit/commit/a0a3244607165dacc9960ad473899155b05f503d
  Author: Megan Gardner <megan_gardner at apple.com>
  Date:   2023-07-20 (Thu, 20 Jul 2023)

  Changed paths:
    M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeInteractionRegionLayers.mm

  Log Message:
  -----------
  Enable WebKit to build with InteractionRegions turned on for platforms other than visionOS.
https://bugs.webkit.org/show_bug.cgi?id=259350
rdar://112560113

Reviewed by Wenson Hsieh.

Having the ability to inspect and debug interaction regions on other platforms than visionOS
makes it easier for more engineers to help refine the implementation. This detangles the visionOS
specific parts to allow them to be turned on and still build on non-visionOS platforms.

* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeInteractionRegionLayers.mm:
(WebKit::configureLayerForInteractionRegion):
(WebKit::interactionRegionLayerClass):
(WebKit::configureLayerAsGuard):

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




More information about the webkit-changes mailing list