MCPcopy Create free account
hub / github.com/chyyuu/os_kernel_lab / paint_on_framebuffer

Method paint_on_framebuffer

user/src/io.rs:34–37  ·  view source on GitHub ↗
(&mut self, p: impl FnOnce(&mut [u8]) -> ())

Source from the content-addressed store, hash-verified

32 self.fb
33 }
34 pub fn paint_on_framebuffer(&mut self, p: impl FnOnce(&mut [u8]) -> ()) {
35 p(self.framebuffer());
36 framebuffer_flush();
37 }
38}
39
40impl OriginDimensions for Display {

Callers 1

mainFunction · 0.80

Calls 2

framebuffer_flushFunction · 0.85
framebufferMethod · 0.80

Tested by

no test coverage detected