Closed Bug 1911019 Opened 1 month ago Closed 1 month ago

[GPU-Canvas] MinorGC markers are not visible on a profile

Categories

(Core :: Graphics: Canvas2D, defect, P2)

defect

Tracking

()

RESOLVED FIXED
130 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- fixed
firefox128 --- unaffected
firefox129 --- unaffected
firefox130 --- fixed

People

(Reporter: mayankleoboy1, Assigned: lsalzman)

References

(Regression, )

Details

(Keywords: regression)

Attachments

(3 files)

Open https://share.firefox.dev/4fpfFnx

AR: The yellow colored minorGC markers are not visible on the "Memory" track
ER: They shoudl be visible.

Regressed by: bug 1910138

Attached file about:support
Summary: [GPU_Canvas] MinorGC markers are not visible on a profile → [GPU-Canvas] MinorGC markers are not visible on a profile

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

:lsalzman, since you are the author of the regressor, bug 1910138, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Attached image Bug.png

With gpu-canvas manually enabled, bisection:

Bug 1874314 - Better anti-aliasing for subpixel rectangles. r=aosmond

The existing distance-to-edge AA scheme breaks down somewhat when rectangles
have subpixel areas. We need to bias the AA to account for this situation when
the scales get to these subpixel sizes.

Differential Revision: https://phabricator.services.mozilla.com/D215095

Regressed by: 1874314
Severity: -- → S3
Priority: -- → P2

The previous attempt at refining the subpixel anti-aliasing approximation modified the
distance-to-edge tracking, which can cause the AA to approach zero too soon.

This fixes this by reverting the distance-to-edge tracking back to the way it was, but
instead limiting the alpha to the area of the subpixel rectangle if necessary.

Assignee: nobody → lsalzman
Status: NEW → ASSIGNED
Flags: needinfo?(lsalzman)
Pushed by lsalzman@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f19c35b800f5
Use different anti-aliasing approximation for subpixel rectangles. r=aosmond
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch

This is fixed for me on the latest Nightly

Comment on attachment 9417622 [details]
Bug 1911019 - Use different anti-aliasing approximation for subpixel rectangles. r?aosmond

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: Rendering artifacts in Canvas2D.
  • User impact if declined: Rendering artifacts in Canvas2D.
  • Fix Landed on Version: 130
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Seems stable in nightly.
Attachment #9417622 - Flags: approval-mozilla-esr128?

Comment on attachment 9417622 [details]
Bug 1911019 - Use different anti-aliasing approximation for subpixel rectangles. r?aosmond

Approved for 128.2esr.

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

Attachment

General

Creator:
Created:
Updated:
Size: