1
0
Fork 0
forked from wry/wry

metal: add copy-device based prime methods

This commit is contained in:
Julian Orth 2026-02-14 23:47:45 +01:00
parent a77929741a
commit 897944b580
4 changed files with 571 additions and 25 deletions

View file

@ -1135,7 +1135,6 @@ impl CopyDevice {
})
}
#[expect(dead_code)]
pub fn create_buffer(
&self,
dma_buf_ids: &DmaBufIds,
@ -1853,7 +1852,6 @@ impl Drop for Pending {
}
impl CopyDeviceBuffer {
#[expect(dead_code)]
pub fn dmabuf(&self) -> &DmaBuf {
&self.dmabuf
}