[webkit-changes] [WebKit/WebKit] 5cc3d3: [InteractionRegions] Remove the RSS soft link and ...

Etienne Segonzac noreply at github.com
Thu Jul 27 11:43:38 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5cc3d396317e931938df54f4d86e1af4cde97ca5
      https://github.com/WebKit/WebKit/commit/5cc3d396317e931938df54f4d86e1af4cde97ca5
  Author: Etienne Segonzac <sgz at apple.com>
  Date:   2023-07-27 (Thu, 27 Jul 2023)

  Changed paths:
    M Source/WebCore/PAL/pal/spi/cocoa/QuartzCoreSPI.h
    M Source/WebKit/Configurations/WebKit.xcconfig
    A Source/WebKit/Platform/spi/visionos/RealitySystemSupportSPI.h
    M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeInteractionRegionLayers.mm
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj

  Log Message:
  -----------
  [InteractionRegions] Remove the RSS soft link and move to an SPI header
https://bugs.webkit.org/show_bug.cgi?id=259556
<rdar://105775731>

Reviewed by Tim Horton.

Introduce a new RealitySystemSupport SPI for visionOS.

* Source/WebCore/PAL/pal/spi/cocoa/QuartzCoreSPI.h:
Clean-up the previous (outdated) definitions.

* Source/WebKit/Configurations/WebKit.xcconfig:
Link against RealitySystemSupport on visionOS.

* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
* Source/WebKit/Platform/spi/visionos/RealitySystemSupportSPI.h: Added.
Add new SPI header.

* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeInteractionRegionLayers.mm:
(WebKit::interactionRegionLayerClass):
(WebKit::interactionRegionEffectUserInfo):
Remove the RSS soft link and use the new SPI header instead.
(WebKit::configureLayerForInteractionRegion):
Remove the unused `LayerSizeMultiplier` user default.
Cast to `RCPGlowEffectLayer` to set the effect group configurator.

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




More information about the webkit-changes mailing list