Closed Bug 1583380 Opened 5 years ago Closed 5 years ago

Implement GeckoView's setVerticalClipping API for WebRender

Categories

(Core :: Graphics: WebRender, enhancement, P3)

Unspecified
Android
enhancement

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox71 --- wontfix
firefox72 --- fixed

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.

See Also: → 1552608

Moving to the WebRender component.

Component: General → Graphics: WebRender
OS: All → Android
Product: GeckoView → Core
Priority: -- → P3
See Also: → 1586843
Assignee: nobody → tnikkel

We do this because we will need to access it in APZCTreeManager::SampleForWebRender which can't hold mTreeLock.

Depends on D54399

The plumbing from there to the HitTestingTreeNode is already in place for the non-webrender case.

Depends on D54401

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
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: