1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:17:35 +00:00

Kernel/Graphics: Simplify the GenericGraphicsAdapter class

The old methods are already can be considered deprecated, and now after
we removed framebuffer devices entirely, we can safely remove these
methods too, which simplfies the GenericGraphicsAdapter class a lot.
This commit is contained in:
Liav A 2022-04-30 15:54:23 +03:00 committed by Andreas Kling
parent d49a35df31
commit b96b2fb9be
7 changed files with 3 additions and 89 deletions

View file

@ -71,11 +71,4 @@ bool BochsGraphicsAdapter::vga_compatible() const
return m_is_vga_capable;
}
ErrorOr<ByteBuffer> BochsGraphicsAdapter::get_edid(size_t output_port_index) const
{
if (output_port_index != 0)
return Error::from_errno(ENODEV);
return m_display_connector->get_edid();
}
}