portal: add a desktop portal
This commit is contained in:
parent
323a6ed953
commit
a162055f1d
38 changed files with 2389 additions and 27 deletions
6
src/portal/ptl_render_ctx.rs
Normal file
6
src/portal/ptl_render_ctx.rs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
use {crate::render::RenderContext, std::rc::Rc, uapi::c};
|
||||
|
||||
pub struct PortalRenderCtx {
|
||||
pub dev_id: c::dev_t,
|
||||
pub ctx: Rc<RenderContext>,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue