Bug 182033 - REGRESSION (r222961?): sRGB images shown in WebGL are over-saturated on a wide gamut monitor
Summary: REGRESSION (r222961?): sRGB images shown in WebGL are over-saturated on a wid...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Dean Jackson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-01-23 18:15 PST by Dean Jackson
Modified: 2018-01-24 13:58 PST (History)
2 users (show)

See Also:


Attachments
Patch (5.12 KB, patch)
2018-01-23 18:23 PST, Dean Jackson
graouts: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dean Jackson 2018-01-23 18:15:53 PST
REGRESSION (r222961?): sRGB images shown in WebGL are over-saturated on a wide gamut monitor
Comment 1 Dean Jackson 2018-01-23 18:17:34 PST
<rdar://problem/36377780>
Comment 2 Dean Jackson 2018-01-23 18:23:28 PST
Created attachment 332113 [details]
Patch
Comment 3 Dean Jackson 2018-01-24 09:15:28 PST
Committed r227524: <https://trac.webkit.org/changeset/227524>
Comment 4 Simon Fraser (smfr) 2018-01-24 13:58:03 PST
Comment on attachment 332113 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=332113&action=review

> Source/WebCore/platform/graphics/cocoa/WebGLLayer.mm:163
> +    IOSurfaceSetValue(_contentsBuffer->surface(), kIOSurfaceColorSpace, sRGBDetails.get());

This code should live in WebCore::IOSurface().