Avoid calculating snapped bounds for some display items twice
Categories
(Core :: Graphics: WebRender, enhancement, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox73 | --- | fixed |
People
(Reporter: mikokm, Assigned: mikokm)
References
Details
(Keywords: perf)
Attachments
(1 file)
The snapped bounds for Rectangle, ClearRectangle, HitTest, and BackdropFilter display items are the same as clip rect, so we can avoid some work here.
| Assignee | ||
Comment 1•6 years ago
|
||
Comment 3•6 years ago
|
||
Backed out for WR failures on background-border-collapsed-gradient.html .
Backout link: https://hg.mozilla.org/integration/autoland/rev/e94a014eb27e172be7f6b3860806803159d3d1f2
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=282134345&repo=autoland&lineNumber=19619
| Assignee | ||
Comment 4•6 years ago
|
||
This is very unexpected: the resulting bounds or clip rects should not have changed with this patch. I am looking into this.
| Assignee | ||
Comment 5•6 years ago
|
||
(In reply to Miko Mynttinen [:miko] (PTO until Jan 14th) from comment #4)
This is very unexpected: the resulting bounds or clip rects should not have changed with this patch. I am looking into this.
What changed was that some callers of process_common_properties_with_bounds() were expecting it to return unsnapped rect. I restored this behavior and refactored the code to make this more explicit.
Comment 7•6 years ago
|
||
| bugherder | ||
Description
•