Optimize stroked paths in accelerated Canvas2D
Categories
(Core :: Graphics: Canvas2D, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox109 | --- | fixed |
People
(Reporter: lsalzman, Assigned: lsalzman)
References
(Blocks 1 open bug, Regressed 5 open bugs)
Details
Attachments
(2 files)
wpf-gpu-raster can generate excessive amounts of geometry for stroked paths, and a more specialized solution could greatly enhance performance.
Assignee | ||
Comment 1•2 years ago
|
||
aa-stroke is a Rust library developed by the Gfx team at Mozilla to help
accelerate stroked paths for Canvas2D.
Assignee | ||
Comment 2•2 years ago
|
||
Depends on D163608
Comment 4•2 years ago
|
||
Backed out for causing talos crashes on pdfpaint.
Failure log: https://treeherder.mozilla.org/logviewer?job_id=398522199&repo=autoland
Backout link: https://hg.mozilla.org/integration/autoland/rev/de08d8b734796456d0c27d569fe42097125d8acc
Assignee | ||
Updated•2 years ago
|
Comment 6•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/42d770314bef
https://hg.mozilla.org/mozilla-central/rev/c1d54f41f984
Comment 7•2 years ago
|
||
== Change summary for alert #36360 (as of Thu, 08 Dec 2022 18:50:11 GMT) ==
Improvements:
Ratio | Test | Platform | Options | Absolute values (old vs new) |
---|---|---|---|---|
11% | pdfpaint | macosx1015-64-shippable-qr | e10s fission stylo webrender-sw | 704.65 -> 624.37 |
11% | pdfpaint | macosx1015-64-shippable-qr | e10s fission stylo webrender-sw | 703.06 -> 624.42 |
11% | pdfpaint | macosx1015-64-shippable-qr | e10s fission stylo webrender | 705.65 -> 629.56 |
8% | pdfpaint | linux1804-64-shippable-qr | e10s fission stylo webrender | 782.91 -> 717.35 |
8% | pdfpaint | linux1804-64-shippable-qr | e10s fission stylo webrender-sw | 747.18 -> 685.96 |
For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=36360
Description
•