Implement GeckoView's setVerticalClipping API for WebRender
Categories
(Core :: Graphics: WebRender, enhancement, P3)
Tracking
()
People
(Reporter: botond, Assigned: tnikkel)
References
Details
Attachments
(5 files)
The setVerticalClipping
API added in bug 1516048 is only implemented for non-WebRender.
WebRender requires a separate implementation. There is no AsyncCompositionManager
(manager
will be null here); instead, we likely need to enter Rust code and perform the clipping there.
Reporter | ||
Updated•5 years ago
|
Comment 1•5 years ago
|
||
Moving to the WebRender component.
Updated•5 years ago
|
Comment hidden (off-topic) |
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 4•5 years ago
|
||
We do this because we will need to access it in APZCTreeManager::SampleForWebRender which can't hold mTreeLock.
Depends on D54399
Assignee | ||
Comment 5•5 years ago
|
||
Depends on D54400
Assignee | ||
Comment 6•5 years ago
|
||
The plumbing from there to the HitTestingTreeNode is already in place for the non-webrender case.
Depends on D54401
Assignee | ||
Comment 7•5 years ago
|
||
Depends on D54402
Pushed by tnikkel@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/67364d4e1530 Plumb a fixed position webrender animation id from the display list to the HitTestingTreeNode. r=botond https://hg.mozilla.org/integration/autoland/rev/e4253c5a9c9b Protect APZCTreeManager::mFixedLayerMargins by mMapLock instead of mTreeLock. r=botond https://hg.mozilla.org/integration/autoland/rev/606ebee120e2 Refactor a helper out of nsLayoutUtils::SetFixedPositionLayerData to get the SideBits. r=botond https://hg.mozilla.org/integration/autoland/rev/9bfe410ce824 Plumb SideBits from the display list to WebRenderScrollDataWrapper. r=botond https://hg.mozilla.org/integration/autoland/rev/4c1b0b497b1b Collect fixed position info on APZCTreeManager and use that to provide transforms to webrender via SampleForWebRender. r=botond
Comment 9•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/67364d4e1530
https://hg.mozilla.org/mozilla-central/rev/e4253c5a9c9b
https://hg.mozilla.org/mozilla-central/rev/606ebee120e2
https://hg.mozilla.org/mozilla-central/rev/9bfe410ce824
https://hg.mozilla.org/mozilla-central/rev/4c1b0b497b1b
Updated•5 years ago
|
Description
•