Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 56841c90fa832b0e5fdb993e4b8915ae674c14aa
      
https://github.com/WebKit/WebKit/commit/56841c90fa832b0e5fdb993e4b8915ae674c14aa
  Author: Said Abou-Hallawa <[email protected]>
  Date:   2026-05-05 (Tue, 05 May 2026)

  Changed paths:
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebCore/platform/graphics/ImagePaintingOptions.h
    M Source/WebCore/platform/graphics/ImageTypes.h
    M Source/WebCore/rendering/BackgroundPainter.cpp
    M Source/WebCore/rendering/RenderImage.cpp
    M Source/WebCore/rendering/svg/RenderSVGImage.cpp
    M Source/WebCore/rendering/svg/legacy/LegacyRenderSVGImage.cpp

  Log Message:
  -----------
  [HDR] Add a feature flag for HDRAcceleratedApplyGainMapEnabled
https://bugs.webkit.org/show_bug.cgi?id=313601
rdar://175805950

Reviewed by Simon Fraser.

This feature flag will be turned on by default. It will allow comparing the
quality and brightness of the HDR image when of applying the gain-map manually
versus asking CGImageSource to do it when decoding the image frame.

* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/platform/graphics/ImagePaintingOptions.h:
(WebCore::ImagePaintingOptions::allowAcceleratedApplyGainMap const):
(WebCore::ImagePaintingOptions::setOption):
* Source/WebCore/platform/graphics/ImageTypes.h:
* Source/WebCore/rendering/BackgroundPainter.cpp:
(WebCore::BackgroundPainter::paintFillLayerImpl const):
* Source/WebCore/rendering/RenderImage.cpp:
(WebCore::RenderImage::paintIntoRect):
* Source/WebCore/rendering/svg/RenderSVGImage.cpp:
(WebCore::RenderSVGImage::paintIntoRect):
* Source/WebCore/rendering/svg/legacy/LegacyRenderSVGImage.cpp:
(WebCore::LegacyRenderSVGImage::paintForeground):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to