jay-compositor 1.13.0

The Jay compositor
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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<dyn GfxContext>,
}

pub struct PortalServerRenderCtx {
    pub ctx: Rc<PortalRenderCtx>,
    pub usable_formats: Rc<AHashMap<u32, GfxFormat>>,
    pub server_formats: Option<AHashMap<u32, GfxFormat>>,
}