export buffer to dma_buf: No such file or directory (2) [9731:9731:0427/063657.042879:ERROR:gbm_wrapper.cc(271)] Failed to export buffer to dma_buf: No such file or directory (2) [9731:9731:0427/063657.042899:ERROR:gbm_wrapper.cc(271)] Failed to export buffer to dma_buf: No such ...
(raw); } } }); } return native_texture; } /// Export texture to DMA buf /// source: Makepad (EddyB) pub fn export_to_dma_buf(adapter: &wgpu::Adapter, native_texture: NativeTexture) -> (TextureStorageMetadata, RawFd) { unsafe { return adapter.as_hal::<hal::api::Gles, _, ...
This only work if the underlying memory is contiguous. But if the VASurface is backed by at least 2 non-contiguous memory (for example one for each NV12 plane) then it would require to export each plane with a different dmabuf FD value. I think a solution could be to create to either...