render: store underlying DmaBufs in textures
This commit is contained in:
parent
1ac4f3dc52
commit
3635ae0104
10 changed files with 38 additions and 35 deletions
|
|
@ -267,6 +267,7 @@ pub trait GfxTexture: Debug {
|
|||
format: &'static Format,
|
||||
shm: &[Cell<u8>],
|
||||
) -> Result<(), GfxError>;
|
||||
fn dmabuf(&self) -> Option<&DmaBuf>;
|
||||
}
|
||||
|
||||
pub trait GfxContext: Debug {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue