| Summary: | Capability to duplicate WKWebView to multiple views | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Dan <dsaunders45459> |
| Component: | WebKit2 | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | kevin_neal, kkinnunen, simon.fraser, thorton, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Dan
2021-10-03 16:04:53 PDT
Thank you for filing. The appropriate engineers have been notified. This is a bit tricky in the general case, because we use the system compositor, so to WebKit's eyes there isn't a single pixel buffer that you can just slap in multiple places, but a whole layer tree.
It's actually all doable in the UI-side-compositing (read: iOS family, currently) world (and done, e.g. for our debug tile indicator, which duplicates all of the layers + their contents inside itself -- see `RemoteLayerTreeDrawingAreaProxy::initializeDebugIndicator`), /except/ for video (which you specifically call out), since CALayerHost can't host the same tree in two places. macOS WebKit has the same issue, except it applies to all layers, not just video.
> as long as it also allows user to interact with the content
Ah, they'd both be interactive, too? That is an interesting additional constraint (not covered by any of the partial versions of this we have).
|