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. Does NOT flush — call fb_flush() after all writes for the frame.