Closed Bug 1402954 Opened 2 years ago Closed 2 years ago

Webrender's rounded border rendering quality is noticeably inferior to Gecko's

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla58
Tracking Status
firefox58 --- fixed

People

(Reporter: mstange, Assigned: nical)

References

Details

(Whiteboard: [wr-mvp])

Attachments

(2 files)

Attached file testcase
I noticed this with the border of the Firefox URL bar.

Compare the rendering quality of rounded border between Gecko's current implementation and webrender, for example in the attached testcase.

There are two major problems:
 1. The curved part of the border doesn't connect smoothly to the straight part of the border. There is a pixel at the connection point which doesn't have full opacity.
 2. The anti-aliasing in general is very crude. The shape looks like it's built out of two or three straight lines per corner, and doesn't look like a round curve.
Attached image comparison screenshot
Priority: -- → P2
Whiteboard: [wr-mvp]
Bug 1405790 will improve this a fair bit, because it will pick up https://github.com/servo/webrender/pull/1791 .
Mostly fixed by the WebRender update in bug 1405790. I would describe the quality as "good enough for now".
Assignee: nobody → nical.bugzilla
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Priority: P2 → P1
You need to log in before you can comment on or make changes to this bug.