Home
last modified time | relevance | path

Searched refs:pesudo_palette (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/driver/video/fbdev/
H A Dvesafb.rs87 fb_info_data.pesudo_palette.resize(256, 0); in new()
293 if regno as usize >= fb_data.pesudo_palette.len() { in fb_set_color_register()
304 fb_data.pesudo_palette[regno as usize] = ((red as u32 & 0xf800) >> 1) in fb_set_color_register()
308 fb_data.pesudo_palette[regno as usize] = (red as u32 & 0xf800) in fb_set_color_register()
317 fb_data.pesudo_palette[regno as usize] = ((red as u32) << var.red.offset) in fb_set_color_register()
395 self.fb_data.read().pesudo_palette[rect.color as usize] in fb_fillrect()
/DragonOS/kernel/src/driver/video/fbdev/base/
H A Dmod.rs97 fg = fb_info_data.pesudo_palette[image.fg as usize]; in generic_imageblit()
98 bg = fb_info_data.pesudo_palette[image.bg as usize]; in generic_imageblit()
292 pub pesudo_palette: Vec<u32>, field