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

Kernel/Graphics: Rename GraphicsDevice => GenericGraphicsAdapter

We already use the term adapter for instances of this class, so let's
better represent this class by changing its name to what it really is.
This commit is contained in:
Liav A 2021-09-22 09:17:07 +03:00 committed by Idan Horowitz
parent c7eb761b7f
commit 78e724a899
11 changed files with 27 additions and 27 deletions

View file

@ -11,12 +11,12 @@
#include <Kernel/Bus/PCI/Device.h>
#include <Kernel/Graphics/Console/Console.h>
#include <Kernel/Graphics/FramebufferDevice.h>
#include <Kernel/Graphics/GraphicsDevice.h>
#include <Kernel/Graphics/GenericGraphicsAdapter.h>
#include <Kernel/PhysicalAddress.h>
namespace Kernel {
class VGACompatibleAdapter : public GraphicsDevice
class VGACompatibleAdapter : public GenericGraphicsAdapter
, public PCI::Device {
AK_MAKE_ETERNAL
public:
@ -39,7 +39,7 @@ protected:
private:
VGACompatibleAdapter(PCI::Address, PhysicalAddress, size_t framebuffer_width, size_t framebuffer_height, size_t framebuffer_pitch);
// ^GraphicsDevice
// ^GenericGraphicsAdapter
virtual void initialize_framebuffer_devices() override;
virtual void enable_consoles() override;