video: add udmabuf allocator
This commit is contained in:
parent
2579834a60
commit
62cd29056a
33 changed files with 883 additions and 256 deletions
|
|
@ -43,7 +43,9 @@ impl WlDrmGlobal {
|
|||
track!(client, obj);
|
||||
client.add_client_obj(&obj)?;
|
||||
if let Some(rc) = client.state.render_ctx.get() {
|
||||
obj.send_device(&rc.render_node());
|
||||
if let Some(rn) = rc.render_node() {
|
||||
obj.send_device(&rn);
|
||||
}
|
||||
obj.send_capabilities(PRIME);
|
||||
}
|
||||
Ok(())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue