mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:17: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:
parent
c7eb761b7f
commit
78e724a899
11 changed files with 27 additions and 27 deletions
|
@ -11,7 +11,7 @@
|
|||
#include <Kernel/Bus/PCI/Device.h>
|
||||
#include <Kernel/Graphics/Console/GenericFramebufferConsole.h>
|
||||
#include <Kernel/Graphics/FramebufferDevice.h>
|
||||
#include <Kernel/Graphics/GraphicsDevice.h>
|
||||
#include <Kernel/Graphics/GenericGraphicsAdapter.h>
|
||||
#include <Kernel/Memory/TypedMapping.h>
|
||||
#include <Kernel/PhysicalAddress.h>
|
||||
|
||||
|
@ -20,7 +20,7 @@ namespace Kernel {
|
|||
class GraphicsManagement;
|
||||
struct BochsDisplayMMIORegisters;
|
||||
|
||||
class BochsGraphicsAdapter final : public GraphicsDevice
|
||||
class BochsGraphicsAdapter final : public GenericGraphicsAdapter
|
||||
, public PCI::Device {
|
||||
AK_MAKE_ETERNAL
|
||||
friend class GraphicsManagement;
|
||||
|
@ -39,7 +39,7 @@ public:
|
|||
virtual bool vga_compatible() const override;
|
||||
|
||||
private:
|
||||
// ^GraphicsDevice
|
||||
// ^GenericGraphicsAdapter
|
||||
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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue