Home
last modified time | relevance | path

Searched refs:color_depth (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/
H A Dframebuffer_console.rs52 let depth = fb_info.color_depth(); in get_color()
207 vc_data.color_mode = fb.color_depth() != 1; in con_init()
374 let depth = fb_info.color_depth(); in con_set_palette()
624 let attr = FbConAttr::get_attr(data[0], fb_info.color_depth()); in put_string()
672 let attr = FbConAttr::get_attr(c, fb_info.color_depth()); in cursor()
H A Dmod.rs461 pub fn get_attr(c: u16, color_depth: u32) -> Self { in get_attr()
463 if color_depth == 1 { in get_attr()
/DragonOS/kernel/src/driver/video/fbdev/base/
H A Dmod.rs330 fn color_depth(&self) -> u32 { in color_depth() method