Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b29f8d8b4797a6b8734e0052b57e2d348d881b03
      
https://github.com/WebKit/WebKit/commit/b29f8d8b4797a6b8734e0052b57e2d348d881b03
  Author: Simon Fraser <simon.fra...@apple.com>
  Date:   2025-07-28 (Mon, 28 Jul 2025)

  Changed paths:
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WTF/wtf/PlatformHave.h
    M Source/WebCore/PAL/pal/spi/cocoa/QuartzCoreSPI.h
    M Source/WebKit/Shared/Cocoa/WebPreferencesDefaultValuesCocoa.mm
    M Source/WebKit/Shared/WebPreferencesDefaultValues.cpp
    M Source/WebKit/Shared/WebPreferencesDefaultValues.h

  Log Message:
  -----------
  Add a setting to control losslessly compressed IOSurface usage
https://bugs.webkit.org/show_bug.cgi?id=296582
rdar://156935443

Reviewed by Tim Horton.

Add the IOSurfaceLosslessCompressionEnabled setting. On Cocoa platforms,
this is only enabled when `HAVE(COREVIDEO_COMPRESSED_PIXEL_FORMAT_TYPES)`
and `HAVE(LOSSLESS_COMPRESSED_IOSURFACE_CG_SUPPORT)` are true
(i.e. iOS device, macOS), and when CASupportsFeature() says that
we can use it. `CA_FEATURE_CG_COMPRESSED_IOSURFACES` will be read from
an SPI header in future.

* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WTF/wtf/PlatformHave.h:
* Source/WebCore/PAL/pal/spi/cocoa/QuartzCoreSPI.h:
* Source/WebKit/Shared/Cocoa/WebPreferencesDefaultValuesCocoa.mm:
(WebKit::defaultIOSurfaceLosslessCompressionEnabled):
* Source/WebKit/Shared/WebPreferencesDefaultValues.cpp:
(WebKit::defaultIOSurfaceLosslessCompressionEnabled):
* Source/WebKit/Shared/WebPreferencesDefaultValues.h:

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



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

Reply via email to