Summary: | Support patterns with a wide gamut source | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Cameron McCormack (:heycam) <heycam> | ||||||||||
Component: | Canvas | Assignee: | Cameron McCormack (:heycam) <heycam> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | alecflett, beidson, benjamin, cdumez, changseok, clopez, cmarcelo, dino, esprehn+autocc, ews-watchlist, gyuyoung.kim, jsbell, kondapallykalyan, sam, webkit-bug-importer, youennf | ||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||
Version: | WebKit Local Build | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
See Also: | https://github.com/web-platform-tests/wpt/pull/30836 | ||||||||||||
Bug Depends on: | |||||||||||||
Bug Blocks: | 225140 | ||||||||||||
Attachments: |
|
Description
Cameron McCormack (:heycam)
2021-08-11 21:37:23 PDT
This works with GPUP canvas drawing disabled. Created attachment 438009 [details]
Patch including squashed dependencies for EWS
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see https://trac.webkit.org/wiki/WPTExportProcess Created attachment 438010 [details]
Patch for review, without dependencies (which will fail EWS)
Comment on attachment 438010 [details] Patch for review, without dependencies (which will fail EWS) View in context: https://bugs.webkit.org/attachment.cgi?id=438010&action=review > Source/WebKit/GPUProcess/graphics/RemoteRenderingBackend.cpp:469 > + auto bitmap = ShareableBitmap::createShareable(resultSize, { imageBuffer->colorSpace() }); A great follow up would be to make the ShareableBitmap's configuration colorspace not optional, requiring each callsite to explicitly specify it. This has been a useful pattern in finding places where sRGB is implicit that can otherwise be hard to find. (In reply to Sam Weinig from comment #6) > A great follow up would be to make the ShareableBitmap's configuration > colorspace not optional, requiring each callsite to explicitly specify it. > This has been a useful pattern in finding places where sRGB is implicit that > can otherwise be hard to find. Filed bug 230381 for that. Created attachment 438418 [details]
Patch
Created attachment 438429 [details]
Patch
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/30836 Committed r282630 (241787@main): <https://commits.webkit.org/241787@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 438429 [details]. |