Open Bug 1692583 Opened 4 years ago Updated 7 months ago

Make SWGL use a polynomial approximation for atan2() for conic gradients

Categories

(Core :: Graphics: WebRender, enhancement, P4)

enhancement

Tracking

()

People

(Reporter: lsalzman, Unassigned)

References

(Blocks 1 open bug)

Details

The current SWGL implementation of atan(x,y) just punts and calls scalar atan2f() times 4. This is probably low hanging fruit. We could easily change this to a polynomial approximation or some other variant of fast atan that would be acceptable for conic gradient quality.

Blocks: wr-gradients

Not a correctness issue.

No longer blocks: wr-gradients
See Also: → 1889792
You need to log in before you can comment on or make changes to this bug.