Closed Bug 1757588 Opened 3 years ago Closed 3 years ago

Make it possible to enforce aa for axis-aligned primitives

Categories

(Core :: Graphics: WebRender, task, P3)

task

Tracking

()

RESOLVED FIXED
101 Branch
Tracking Status
firefox100 --- wontfix
firefox101 --- fixed

People

(Reporter: nical, Assigned: nical)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

Bug 1753986 added some plumbing to communicate that a primitive needs anti-aliasing but we end up ignoring it in the brush shader where we check whether the transform is axis-aligned.

Attachment #9265907 - Attachment description: WIP: Bug 1757588 - Add missing plumbing to force anti-aliasing. r-#gfx-reviewers → WIP: Bug 1757588 - Add missing plumbing to force anti-aliasing of axis-aligned rectangles. r-#gfx-reviewers

The goal is to allow the brush flags to use more bits in a followup changes.Currently it uses all of its available 8 bits, this patch allows it to use up to 12.

Attachment #9265907 - Attachment description: WIP: Bug 1757588 - Add missing plumbing to force anti-aliasing of axis-aligned rectangles. r-#gfx-reviewers → Bug 1757588 - Add missing plumbing to force anti-aliasing of axis-aligned rectangles. r=gw
Pushed by nsilva@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f3dbc4e70fc7 Reorganize the primitive instance flag bits. r=gw https://hg.mozilla.org/integration/autoland/rev/89ae192e5434 Add missing plumbing to force anti-aliasing of axis-aligned rectangles. r=gw
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
Regressions: 1759803
Backout by ccozmuta@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/4d80f4e1809a Backed out 2 changesets "for shader related crashes".a=backout
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: 100 Branch → ---
Pushed by ccozmuta@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/004e55aa837d Reorganize the primitive instance flag bits. r=gw
Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Pushed by nsilva@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6253846d257d Add missing plumbing to force anti-aliasing of axis-aligned rectangles. r=gw https://hg.mozilla.org/integration/autoland/rev/e65f44696571 Take the FORCE_AA flag into account in the shader. r=gw
Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → FIXED
Target Milestone: 100 Branch → 101 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: