| Summary: | webview can not scroll when using WebKit2UseRemoteLayerTreeDrawingArea | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | dreamer_swift |
| Component: | Compositing | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | simon.fraser, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Mac (Intel) | ||
| OS: | macOS 12 | ||
Yes, this is not a supported configuration right now. Any plans for supporting RemoteLayerTreeDrawing in macos? (In reply to Simon Fraser (smfr) from comment #1) > Yes, this is not a supported configuration right now. Any plans for supporting RemoteLayerTreeDrawing in macos? It requires a large amount of refactoring work, so maybe, at some point. Why is this of interest to you? (In reply to Simon Fraser (smfr) from comment #4) > It requires a large amount of refactoring work, so maybe, at some point. Why > is this of interest to you? I would like to add a native video layer to some node, such as a matel layer, RemoteLayerTreeDrawingArea provide the whole layer tree for me to do this. if RemoteLayerTreeDrawingArea is not supported right now, do you have any suggestions about it? |
webview can not scroll when using WebKit2UseRemoteLayerTreeDrawingArea RemoteLayerTreeDrawingArea bool usesDelegatedScrolling() const override { return true; } bool usesDelegatedPageScaling() const override { return true; } usesDelegatedScrolling return true, but ui side not impl scrollview and scroll function ================================================================================== void PageClientImpl::requestScroll(const FloatPoint& scrollPosition, const IntPoint& scrollOrigin, ScrollIsAnimated) { } WebCore::FloatPoint PageClientImpl::viewScrollPosition() { return { }; } ================================================================================== so the function "scrollingTree().setNeedsApplyLayerPositionsAfterCommit();" is not called when scroll event fired