Make fewer nsDisplayCompositorHitTestInfo display items
Categories
(Core :: Graphics: WebRender, enhancement, P2)
Tracking
()
People
(Reporter: kats, Unassigned)
References
Details
(Whiteboard: [gfx-noted][triage])
Attachments
(1 obsolete file)
Updated•8 years ago
|
| Reporter | ||
Comment 1•8 years ago
|
||
Comment 2•8 years ago
|
||
| Reporter | ||
Comment 3•8 years ago
|
||
Comment 4•7 years ago
|
||
| Reporter | ||
Comment 5•7 years ago
|
||
Comment 6•7 years ago
|
||
Comment 7•7 years ago
|
||
Comment 8•7 years ago
|
||
| Reporter | ||
Comment 9•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
| Reporter | ||
Comment 11•7 years ago
|
||
Updated•7 years ago
|
| Reporter | ||
Comment 12•6 years ago
|
||
Talked this over with Matt a bit to get a better understanding of how to implement this change. The general idea is that if a frame adds a background color item here then we should make that background item's WR commands carry the hit-test info to WebRender. If the frame doesn't create a background color item, then it can instead add a nsDisplayCompositorHitTestInfo item to the background list, and that would carry the hit-test info to WebRender.
There will be cases where we end up creating spurious nsDisplayCompositorHitTestInfo items, but we can at least try and optimize away the corresponding WR dummy rects by checking if they are contained inside the previous rect with hit-test info.
Comment 13•4 years ago
|
||
I implemented this in bug 1534549.
| Reporter | ||
Comment 14•4 years ago
|
||
Awesome, thank you! I'm looking forward to hopefully seeing some good perf improvement numbers :)
Description
•