jay-compositor 1.15.0

The Jay compositor
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::gfx_api::GfxContext;
use crate::gfx_api::GfxFormat;
use crate::utils::bhash::BHashMap;
use std::rc::Rc;
use 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<BHashMap<u32, GfxFormat>>,
    pub server_formats: Option<BHashMap<u32, GfxFormat>>,
}