Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3e12766ced21f82a68008cfaf3114e0dd57c8e2c
      
https://github.com/WebKit/WebKit/commit/3e12766ced21f82a68008cfaf3114e0dd57c8e2c
  Author: Kimmo Kinnunen <[email protected]>
  Date:   2026-09-08 (Tue, 08 Sep 2026)

  Changed paths:
    A 
LayoutTests/fast/canvas/webgl/composited-alpha-modes-match-drawImage-expected.html
    A LayoutTests/fast/canvas/webgl/composited-alpha-modes-match-drawImage.html
    M LayoutTests/platform/glib/TestExpectations
    M Source/WTF/wtf/PlatformHave.h
    M Source/WTF/wtf/spi/cocoa/IOSurfaceSPI.h
    M Source/WebCore/Configurations/AllowedSPI.toml
    M Source/WebCore/platform/graphics/cocoa/GraphicsContextGLCocoa.mm
    M Source/WebCore/platform/graphics/cocoa/IOSurface.h
    M Source/WebCore/platform/graphics/cocoa/IOSurface.mm

  Log Message:
  -----------
  WebGL: premultipliedAlpha=false is composited incorrectly
https://bugs.webkit.org/show_bug.cgi?id=200026
rdar://53509398

Reviewed by Dan Glastonbury.

Implement unpremultiplied compositing by tagging the IOSurface
with the unpremultiplied contents tag.

* Source/WTF/wtf/spi/cocoa/IOSurfaceSPI.h:
* Source/WebCore/Configurations/AllowedSPI.toml:
* Source/WebCore/platform/graphics/cocoa/GraphicsContextGLCocoa.mm:
(WebCore::GraphicsContextGLCocoa::createDrawingBuffer):
* Source/WebCore/platform/graphics/cocoa/IOSurface.h:
* Source/WebCore/platform/graphics/cocoa/IOSurface.mm:
(WebCore::IOSurface::create):
(WebCore::alphaChannelModeValue):
(WebCore::IOSurface::IOSurface):
(WebCore::m_name):
(WebCore::IOSurface::setContentsAlphaPremultiplication):

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



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

Reply via email to