Closed
Bug 1632376
Opened 5 years ago
Closed 5 years ago
Fix pixel rounding in SWGL
Categories
(Core :: Graphics: WebRender, defect)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla77
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: lsalzman, Assigned: lsalzman)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
SWGL has a legacy magic number in its rounding code (255.49) that predates some of the rounding cleanups I did. Now just a straight scale to 255.0 and then rounding yields more accurate results which should reduce the necessary fuzzing of tests by quite a bit.
Assignee | ||
Comment 1•5 years ago
|
||
Pushed by lsalzman@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1363548b4e4d
just scale pixels to integer 255 before rounding. r=jimb
Comment 3•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox77:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in
before you can comment on or make changes to this bug.
Description
•