Summary: | [GPUP] Enable 2D Canvas in layout tests by default | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Jon Lee <jonlee> | ||||||||||||||||||||||||||||||||||
Component: | Canvas | Assignee: | Jon Lee <jonlee> | ||||||||||||||||||||||||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||||||||||||||||||||||||
Severity: | Normal | CC: | cdumez, changseok, clopez, commit-queue, dino, esprehn+autocc, ews-watchlist, gyuyoung.kim, hi, sabouhallawa, simon.fraser, webkit-bug-importer, youennf | ||||||||||||||||||||||||||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||||||||||||||||||||||||||
Version: | WebKit Nightly Build | ||||||||||||||||||||||||||||||||||||
Hardware: | Unspecified | ||||||||||||||||||||||||||||||||||||
OS: | Unspecified | ||||||||||||||||||||||||||||||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=webglgpup | ||||||||||||||||||||||||||||||||||||
Bug Depends on: | 222855, 222879, 222880, 222881, 222960, 223004, 223096, 223176 | ||||||||||||||||||||||||||||||||||||
Bug Blocks: | |||||||||||||||||||||||||||||||||||||
Attachments: |
|
Description
Jon Lee
2021-03-05 15:24:46 PST
Created attachment 422438 [details]
EWS test
Created attachment 422476 [details]
Patch
Created attachment 422483 [details]
Patch
Comment on attachment 422483 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=422483&action=review > LayoutTests/ChangeLog:16 > + * http/tests/canvas/color-fonts/fill-gradient-sbix-2.html: > + * http/tests/canvas/color-fonts/fill-gradient-sbix-3.html: > + * http/tests/canvas/color-fonts/fill-gradient-sbix-4.html: > + * http/tests/canvas/color-fonts/stroke-gradient-sbix-2.html: > + * http/tests/canvas/color-fonts/stroke-gradient-sbix-3.html: > + * http/tests/canvas/color-fonts/stroke-gradient-sbix-4.html: > + * inspector/canvas/memory.html: > + * svg/canvas/canvas-global-alpha-svg.html: Would be nice to annotate these with bug numbers to explain why they still fail. Created attachment 422521 [details]
Patch
Created attachment 422605 [details]
Patch
Created attachment 422606 [details]
Patch
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 Comment on attachment 422606 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=422606&action=review > LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/2d.line.cap.butt.html:1 > +<!-- webkit-test-runner [ UseGPUProcessForCanvasRenderingEnabled=false ] --> Is this something we can do in WPT? Comment on attachment 422606 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=422606&action=review >> LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/2d.line.cap.butt.html:1 >> +<!-- webkit-test-runner [ UseGPUProcessForCanvasRenderingEnabled=false ] --> > > Is this something we can do in WPT? It is a temporary change till the issue is investigated. The other choice is to skip the test on macOS and iOS. Created attachment 422620 [details]
Patch
Created attachment 422641 [details]
Patch
Created attachment 422647 [details]
Patch
Created attachment 422654 [details]
Patch
Created attachment 422655 [details]
Patch
Created attachment 422656 [details]
Patch
Created attachment 422657 [details]
Patch
Created attachment 422660 [details]
Patch
Comment on attachment 422660 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=422660&action=review > Source/WebCore/html/ImageBitmap.cpp:848 > + if (isMainThread()) > + return; > + if (auto imageBuffer = takeImageBuffer()) > + callOnMainThread([imageBuffer = WTFMove(imageBuffer)]() mutable { }); This should probably be done in a separate patch. Comment on attachment 422660 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=422660&action=review >> Source/WebCore/html/ImageBitmap.cpp:848 >> + callOnMainThread([imageBuffer = WTFMove(imageBuffer)]() mutable { }); > > This should probably be done in a separate patch. Done in bug 222960. Created attachment 422741 [details]
Patch
Committed r274171: <https://commits.webkit.org/r274171> All reviewed patches have been landed. Closing bug and clearing flags on attachment 422741 [details]. Re-opened since this is blocked by bug 223004 Created attachment 423015 [details]
Patch
Committed r274327: <https://commits.webkit.org/r274327> All reviewed patches have been landed. Closing bug and clearing flags on attachment 423015 [details]. |