drm: add unique identifiers to dmabufs
This commit is contained in:
parent
3635ae0104
commit
fed2ceb8b5
17 changed files with 72 additions and 25 deletions
|
|
@ -123,6 +123,7 @@ impl UsrJayScreencast {
|
|||
_ => return Err(UsrJayScreencastError::UnknownFormat(ev.format)),
|
||||
};
|
||||
self.pending_buffers.borrow_mut().push(DmaBuf {
|
||||
id: self.con.dma_buf_ids.next(),
|
||||
width: ev.width,
|
||||
height: ev.height,
|
||||
format,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue