mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:57:47 +00:00
Kernel/Graphics: Convert type method => bool vga compatible method
We never used that type method except in initialization in GraphicsManagement, and we used it there to query whether the device is VGA compatible or not.
This commit is contained in:
parent
fb0ed2ae46
commit
a9538b5879
7 changed files with 12 additions and 17 deletions
|
@ -22,12 +22,13 @@ public:
|
|||
|
||||
virtual bool framebuffer_devices_initialized() const override { return m_created_framebuffer_devices; }
|
||||
|
||||
// FIXME: There's a VirtIO VGA GPU variant, so we should consider that
|
||||
virtual bool vga_compatible() const override { return false; }
|
||||
|
||||
private:
|
||||
explicit GraphicsAdapter(PCI::DeviceIdentifier const&);
|
||||
|
||||
virtual void initialize_framebuffer_devices() override;
|
||||
virtual Type type() const override { return Type::Raw; }
|
||||
|
||||
virtual void enable_consoles() override;
|
||||
virtual void disable_consoles() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue