[webkit-changes] [WebKit/WebKit] 85605e: REGRESSION (256576 at main): P3 WebGL canvases get fl...

Simon Fraser noreply at github.com
Wed Nov 16 08:58:11 PST 2022


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

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

  Log Message:
  -----------
  REGRESSION (256576 at 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 at 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




More information about the webkit-changes mailing list