| 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( |
nothing calls this directly
no outgoing calls
no test coverage detected