Open Bug 1712452 Opened 3 years ago Updated 20 days ago

Incorrect rendering on codepen demo

Categories

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

defect

Tracking

()

Tracking Status
firefox-esr78 --- unaffected
firefox88 --- wontfix
firefox89 --- wontfix
firefox90 --- wontfix

People

(Reporter: mayankleoboy1, Unassigned)

References

(Blocks 2 open bugs, Regression, )

Details

(Keywords: regression)

Attachments

(2 files)

enable swwr
Go to : https://codepen.io/ayushi20-19/pen/gOmrBzm

AR: there is an addition sixth "leaf", some addiional elements drawn near the tail
ER: not so

2021-05-22T18:08:46.227000: DEBUG : Found commit message:
Bug 1682194 - Accelerate cs_clip_rectangle in SWGL. r=jrmuizel

cs_clip_rectangle is slow because we evaluate distance AA for every fragment
the shader touches. With SWGL, we can do much better since we have control
over span. We calculate an inner opaque octagon which can just use a cheap
solid fill and an outer AA octagon within which we need to actually we do
AA and outside which we can just do another solid clear. This reduces most
of the cost of rounded-rectangles to just some setup work, a few fragments
of distance AA on the ends of a span, and large runs of solid color where
we don't have to do much work.

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

2021-05-22T18:08:46.227000: DEBUG : Did not find a branch, checking all integration branches
2021-05-22T18:08:46.242000: INFO : The bisection is done.
2021-05-22T18:08:46.242000: INFO : Stopped

Attached image bug.png
Attached file testcase.html

reduced testcase

there is the artifact as soon as the rotation degree becomes >90deg

Severity: -- → S3
Flags: needinfo?(lsalzman)
Priority: -- → P3
Has Regression Range: --- → yes
Flags: needinfo?(lsalzman)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: