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)
Core
Graphics: WebRender
Tracking
()
NEW
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.
Updated•7 months ago
|
Blocks: wr-gradients
You need to log in
before you can comment on or make changes to this bug.
Description
•