import_raw now takes (&wgpu::Device, &wgpu::Adapter) and extracts the raw Vulkan handles via as_hal, instead of taking the crate's own DrmDevice. This lets a VAAPI surface be imported onto ANY DMA-BUF-import-capable wgpu device — the encoder/decoder's own device today, and the editor's shared device (Stage 3a) next, so hardware-decoded frames are usable by the preview compositor. Encoder/decoder pass their DrmDevice's device+adapter; round-trip decode test still passes. |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.toml | ||