mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:37:35 +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
|
@ -28,6 +28,8 @@ public:
|
|||
virtual bool modesetting_capable() const override { return false; }
|
||||
virtual bool double_framebuffering_capable() const override { return false; }
|
||||
|
||||
virtual bool vga_compatible() const override final { return true; }
|
||||
|
||||
virtual bool try_to_set_resolution(size_t output_port_index, size_t width, size_t height) override;
|
||||
virtual bool set_y_offset(size_t output_port_index, size_t y) override;
|
||||
|
||||
|
@ -39,7 +41,6 @@ private:
|
|||
|
||||
// ^GraphicsDevice
|
||||
virtual void initialize_framebuffer_devices() override;
|
||||
virtual Type type() const override { return Type::VGACompatible; }
|
||||
|
||||
virtual void enable_consoles() override;
|
||||
virtual void disable_consoles() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue