Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8dd8eadc14fe77ae80e62ebd663c7fad0348730f
      
https://github.com/WebKit/WebKit/commit/8dd8eadc14fe77ae80e62ebd663c7fad0348730f
  Author: Gerald Squelart <squel...@apple.com>
  Date:   2024-10-04 (Fri, 04 Oct 2024)

  Changed paths:
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebCore/Modules/WebGPU/GPUCanvasConfiguration.idl
    M Source/WebCore/Modules/WebGPU/GPUCanvasToneMapping.idl
    M Source/WebCore/Modules/WebGPU/GPUCanvasToneMappingMode.idl
    M 
Source/WebCore/Modules/WebGPU/Implementation/WebGPUCompositorIntegrationImpl.cpp
    M Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations
    M Source/WebCore/html/canvas/GPUCanvasContextCocoa.mm
    M Source/WebGPU/WebGPU/PresentationContextIOSurface.mm

  Log Message:
  -----------
  WebGPU support for HDR
https://bugs.webkit.org/show_bug.cgi?id=280864
rdar://problem/137245923

Reviewed by Mike Wyrzykowski.

When a WebGPU canvas is configured with extended tone-mapping,
use ContentsFormat::RGBA16F to display it in HDR.

Tweaked feature flags, so that tone mapping configuration is
always available, but non-"standard" tone mapping mode is only
accepted if the platform supports it and the feature is turned on.

* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* 
Source/WebCore/Modules/WebGPU/Implementation/WebGPUCompositorIntegrationImpl.cpp:
(WebCore::WebGPU::CompositorIntegrationImpl::recreateRenderBuffers):
* Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations:
* Source/WebCore/html/canvas/GPUCanvasContextCocoa.mm:
(WebCore::computeTextureFormat):
(WebCore::GPUCanvasContextCocoa::configure):
* Source/WebGPU/WebGPU/PresentationContextIOSurface.mm:
(WebGPU::PresentationContextIOSurface::configure):

Canonical link: https://commits.webkit.org/284723@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