Bug 241674
| Summary: | [GPUProcess] [CG] Create ShareableBitmap with sRGB color-space when sending NativeImages to GPUProcess | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Said Abou-Hallawa <sabouhallawa> |
| Component: | Layout and Rendering | Assignee: | Said Abou-Hallawa <sabouhallawa> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | ap, bfulgham, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Said Abou-Hallawa
Sometimes CG fails to create GraphicsContext for some color-spaces. The conversion to sRGB will happen anyway when drawing the image to the destination GraphicsContext. So let's create ShareableBitmap with sRGB color-space when sending NativeImages to GPUProcess.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Said Abou-Hallawa
rdar://95048318
Said Abou-Hallawa
Pull request: https://github.com/WebKit/WebKit/pull/1571
Alexey Proskuryakov
> The conversion to sRGB will happen anyway when drawing the image to the destination GraphicsContext.
This sounds surprising. How do we support bigger color spaces then?
Said Abou-Hallawa
This seems to be a bug in one of the underlying frameworks.