Closed Bug 1849487 Opened 2 years ago Closed 1 years ago

[gpu-canvas] Dotted lines appear at intersection of actual lines on a codepen demo

Categories

(Core :: Graphics: Canvas2D, defect)

defect

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox-esr115 --- wontfix
firefox116 --- wontfix
firefox117 --- wontfix
firefox118 --- fixed
firefox119 --- fixed

People

(Reporter: mayankleoboy1, Assigned: jrmuizel)

References

(Regression, )

Details

(Keywords: regression, Whiteboard: [sp3])

Attachments

(3 files)

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

Attached file about:support

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.

Seems like a dup of bug 1846207.

Severity: -- → S3
Flags: needinfo?(lsalzman)
See Also: → 1846207

Bug 1841020 actually made this worse.

This has now improved significantly with the patches from Bug 1841020 .

Some dotted lines still exist though.

Depends on: 1841020

Set release status flags based on info from the regressing bug 1803604

This avoids numerical stability problems when computing the
miter pointer intersection when the lines are nearly parallel.

Assignee: nobody → jmuizelaar
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 1 years ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch

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 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(jmuizelaar)

This is fixed. Thanks Jeff!

Whiteboard: [sp3]

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
Flags: needinfo?(jmuizelaar)
Attachment #9350720 - Flags: approval-mozilla-beta?

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

Flags: needinfo?(jmuizelaar)

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?

Flags: needinfo?(jmuizelaar)

(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 on attachment 9350720 [details]
Bug 1849487. Futher improve miter joining.

Approved for 118.0b5, also taking 30f4abd6b2af as a dependency, thanks.

Attachment #9350720 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: