[webkit-changes] [WebKit/WebKit] eab190: Tweak the Interaction Region effect
Etienne Segonzac
noreply at github.com
Fri Jul 28 02:51:47 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: eab190cac6db1d621116abd34e246aa80e6a4b5f
https://github.com/WebKit/WebKit/commit/eab190cac6db1d621116abd34e246aa80e6a4b5f
Author: Etienne Segonzac <sgz at 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
More information about the webkit-changes
mailing list