Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: eab190cac6db1d621116abd34e246aa80e6a4b5f
      
https://github.com/WebKit/WebKit/commit/eab190cac6db1d621116abd34e246aa80e6a4b5f
  Author: Etienne Segonzac <s...@apple.com>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M Source/WebKit/Platform/spi/visionos/RealitySystemSupportSPI.h
    M 
Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeInteractionRegionLayers.mm

  Log Message:
  -----------
  Tweak the Interaction Region effect
https://bugs.webkit.org/show_bug.cgi?id=259574
<rdar://111230277>

Reviewed by Tim Horton.

Set the custom brightness multiplier and make it configurable for future
adjustments.

* Source/WebKit/Platform/spi/visionos/RealitySystemSupportSPI.h:
Introduce the new SPI method.
* 
Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeInteractionRegionLayers.mm:
(WebKit::brightnessMultiplier):
(WebKit::configureLayerForInteractionRegion):
Set the brightness multiplier on interaction effect layers, default to
1.5 but read potential overrides from a user default.

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to