MCPcopy Create free account
hub / github.com/Bananymous/banan-os / FramebufferDevice

Method FramebufferDevice

kernel/kernel/Device/FramebufferDevice.cpp:52–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 const auto fix_info = bga_controller->get_fb_fix_info();
51 const auto var_info = bga_controller->get_fb_var_info();
52 auto controller = TRY(create(
53 fix_info.mem_start,
54 var_info.xres,
55 var_info.yres,
56 fix_info.pitch,
57 var_info.bpp
58 ));
59 controller->m_bga_controller = bga_controller;
60 return controller;
61 }
62
63 BAN::ErrorOr<BAN::RefPtr<FramebufferDevice>> FramebufferDevice::create_from_boot_framebuffer()
64 {
65 s_boot_framebuffer = TRY(create(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected