use { crate::gfx_api::{GfxContext, GfxFormat}, ahash::AHashMap, std::rc::Rc, uapi::c, }; pub struct PortalRenderCtx { pub _dev_id: c::dev_t, pub ctx: Rc, } pub struct PortalServerRenderCtx { pub ctx: Rc, pub usable_formats: Rc>, pub server_formats: Option>, }