Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 85605e6892da22a97fcb626e9cd11ab336f8f9bd
      
https://github.com/WebKit/WebKit/commit/85605e6892da22a97fcb626e9cd11ab336f8f9bd
  Author: Simon Fraser <simon.fra...@apple.com>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M Source/WebCore/platform/graphics/cocoa/WebProcessGraphicsContextGLCocoa.mm

  Log Message:
  -----------
  REGRESSION (256576@main): P3 WebGL canvases get flattened to sRGB
https://bugs.webkit.org/show_bug.cgi?id=247965
rdar://102395564

Reviewed by Kimmo Kinnunen.

`setDisplayBuffer` was explicitly asking for an sRGB colorspace, which was now 
respected
after 256576@main. Pass std::nullopt to use the colorspace of the source 
IOSurface.

There are no tests for this.

* Source/WebCore/platform/graphics/cocoa/WebProcessGraphicsContextGLCocoa.mm:

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to