Bug 237649 (DMA-BUF)
Summary: | [Meta][Linux] Adoption of DMABuf as a reference buffer sharing mechanism | ||
---|---|---|---|
Product: | WebKit | Reporter: | Zan Dobersek <zan> |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | alex, aperez, clopez, clord, crzwdjk, kdwkleung, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | 236635, 237759, 235946, 236436, 236520, 236607, 236637, 236836, 236883, 237199, 237328, 237606, 237758, 237883, 237974, 238017, 238110, 238141, 238199, 238200, 238539, 239037, 239038, 240276, 240313, 240314, 240392, 240633, 240636, 240637, 241119, 241326, 241462, 241850, 242108, 242938, 252988, 253085, 253244, 253245 | ||
Bug Blocks: | 238593, 244472 |
Zan Dobersek
We want to have an efficient way of integrating content like WebGL, WebGPU, HTML5 Canvas and Media between each such subsystem as well as deeper in the graphics/display pipeline. Undergoing architectural changes also impose the necessity of cross-process migration for these buffers.
On Linux, DMABuf seems an ideal reference solution. This would allow ANGLE to be used to render into DMABuf objects. GStreamer pipelines with hardware decoders outputting DMABufs would be most efficient to handle, while raw decoded data from fallback software decoders would be manually uploaded into dmabufs.
DMABufs aren't universally available. For other platforms, we would require equivalent mechanisms (like e.g. AHardwareBuffer on Android).
This is a tracking bug for all the relevant changes and regressions coming from this work.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/90364279>