[webkit-changes] [WebKit/WebKit] 614038: WKCGCommandsContext backing store is always sRGB

Tim Horton noreply at github.com
Wed Oct 12 18:01:47 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6140386e0ec18600adab98d451a560d6c66d5428
      https://github.com/WebKit/WebKit/commit/6140386e0ec18600adab98d451a560d6c66d5428
  Author: Tim Horton <timothy_horton at apple.com>
  Date:   2022-10-12 (Wed, 12 Oct 2022)

  Changed paths:
    M Source/WebKit/Shared/RemoteLayerTree/CGDisplayListImageBufferBackend.mm

  Log Message:
  -----------
  WKCGCommandsContext backing store is always sRGB
https://bugs.webkit.org/show_bug.cgi?id=245983
<rdar://100735292>

Reviewed by Devin Rousso.

* Source/WebKit/Shared/RemoteLayerTree/CGDisplayListImageBufferBackend.mm:
(WebKit::makeContextOptions):
(WebKit::GraphicsContextCGDisplayList::GraphicsContextCGDisplayList):
Pass the color space through to the WKCGCommandsContext on creation so that
it knows the desired backing store color space.

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




More information about the webkit-changes mailing list