Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f000f446e0f56e5a5dd6b1c396c6f4bb280ac7ac
      
https://github.com/WebKit/WebKit/commit/f000f446e0f56e5a5dd6b1c396c6f4bb280ac7ac
  Author: Gerald Squelart <[email protected]>
  Date:   2025-06-17 (Tue, 17 Jun 2025)

  Changed paths:
    M Source/WebCore/PAL/pal/spi/cocoa/QuartzCoreSPI.h
    M 
Source/WebCore/platform/graphics/ca/cocoa/PlatformDynamicRangeLimitCocoa.mm
    M Source/WebKit/UIProcess/mac/WebViewImpl.mm

  Log Message:
  -----------
  Use official HDR-suppression APIs
https://bugs.webkit.org/show_bug.cgi?id=294549
rdar://149022443

Reviewed by Cameron McCormack.

* Source/WebCore/PAL/pal/spi/cocoa/QuartzCoreSPI.h:
No more need for the in-development names.

* Source/WebCore/platform/graphics/ca/cocoa/PlatformDynamicRangeLimitCocoa.mm:
(WebCore::layerDynamicRangeLimitSetter):
Use [CALayer setPreferredDynamicRange:] now in QuartzCore/CALayer.h.

* Source/WebKit/UIProcess/mac/WebViewImpl.mm:
(-[WKWindowVisibilityObserver startObserving:]):
Use NSApplication suppress-HDR notifications; guarded by 
SUPPORT_HDR_DISPLAY_APIS,
which will only be #defined for the OS versions that support them.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to