Skip to main content

fb_write

Function fb_write 

Source
pub fn fb_write(x: u32, y: u32, w: u32, h: u32, data: *const u8) -> isize
Expand description

Write a rectangular BGRA pixel region to the kernel framebuffer. The kernel copies the data and flushes the display.