[gpu-canvas] Dotted lines appear at intersection of actual lines on a codepen demo
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
People
(Reporter: mayankleoboy1, Assigned: jrmuizel)
References
(Regression, )
Details
(Keywords: regression, Whiteboard: [sp3])
Attachments
(3 files)
40.04 KB,
text/plain
|
Details | |
843.52 KB,
video/mp4
|
Details | |
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
enable gpu-canvas
go to https://codepen.io/zimjs/pen/qvdQqy
Let it load
click on play
AR: Lots of dotted lines appear at the intersection of lines
Regressed by : Bug 1834079 - Move stroke fallback heuristic to after we attempt AA-Stroke. r=jrmuizel
I think Bug 1834079 just allowed aa-stroke for this demo where previously we would be using non aa-stroke codepath. The actual regression would probably be from bug 1803604
Reporter | ||
Comment 1•2 years ago
|
||
Comment 2•2 years ago
|
||
Set release status flags based on info from the regressing bug 1803604
:lsalzman, since you are the author of the regressor, bug 1803604, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Comment 3•2 years ago
|
||
Seems like a dup of bug 1846207.
Updated•2 years ago
|
Assignee | ||
Comment 4•2 years ago
|
||
Bug 1841020 actually made this worse.
Reporter | ||
Comment 5•2 years ago
|
||
This has now improved significantly with the patches from Bug 1841020 .
Some dotted lines still exist though.
Reporter | ||
Comment 6•2 years ago
|
||
Comment 7•1 years ago
|
||
Set release status flags based on info from the regressing bug 1803604
Assignee | ||
Comment 8•1 years ago
|
||
This avoids numerical stability problems when computing the
miter pointer intersection when the lines are nearly parallel.
Updated•1 years ago
|
Comment 10•1 years ago
|
||
bugherder |
Comment 11•1 years ago
|
||
The patch landed in nightly and beta is affected.
:jrmuizel, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox118
towontfix
.
For more information, please visit BugBot documentation.
Reporter | ||
Comment 12•1 years ago
|
||
This is fixed. Thanks Jeff!
Updated•1 years ago
|
Updated•1 years ago
|
Assignee | ||
Comment 13•1 years ago
|
||
Comment on attachment 9350720 [details]
Bug 1849487. Futher improve miter joining.
Beta/Release Uplift Approval Request
- User impact if declined: This fixes an issue introduced by bug 1841020 and overall improves the behaviour.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): If there are bugs with this code it's likely to only cause rare drawing errors when stroking paths in canvas which will not have a large impact on users.
- String changes made/needed:
- Is Android affected?: Yes
Comment 14•1 years ago
|
||
Jeff, the patch doesn't graft cleanly because only one part of bug 1841020 landed in 118, the second part landed in 119. Should https://hg.mozilla.org/mozilla-central/rev/30f4abd6b2af also be uplifted? Thanks
Assignee | ||
Comment 15•1 years ago
|
||
Yes(In reply to Pascal Chevrel:pascalc (PTO until August 21) from comment #14)
Should https://hg.mozilla.org/mozilla-central/rev/30f4abd6b2af also be uplifted?
Yes. Do you want a separate uplift request?
Comment 16•1 years ago
|
||
(In reply to Jeff Muizelaar [:jrmuizel] from comment #15)
Yes(In reply to Pascal Chevrel:pascalc (PTO until August 21) from comment #14)
Should https://hg.mozilla.org/mozilla-central/rev/30f4abd6b2af also be uplifted?
Yes. Do you want a separate uplift request?
No it's fine, thanks.
Comment 17•1 years ago
|
||
Comment on attachment 9350720 [details]
Bug 1849487. Futher improve miter joining.
Approved for 118.0b5, also taking 30f4abd6b2af as a dependency, thanks.
Comment 18•1 years ago
|
||
uplift |
Comment 19•1 years ago
|
||
bugherder uplift |
Updated•1 years ago
|
Description
•