mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +00:00
Kernel/Graphics: Merge VirtIO GraphicsAdapter and VirtIO GPU code
A VirtIO graphics adapter is really the VirtIO GPU, so the virtualized hardware has no distinction between both components so there's no need to put such distinction in software. We might need to split things in the future, but when we do so, we must take proper care to ensure that the interface between the components is correct and use the usual codebase patterns.
This commit is contained in:
parent
a9538b5879
commit
f476b49fd8
11 changed files with 435 additions and 474 deletions
|
@ -36,6 +36,7 @@ public:
|
|||
|
||||
protected:
|
||||
FramebufferDevice(const GraphicsDevice&, size_t);
|
||||
NonnullRefPtr<GraphicsDevice> m_graphics_adapter;
|
||||
|
||||
private:
|
||||
FramebufferDevice(const GraphicsDevice&, size_t, PhysicalAddress, size_t, size_t, size_t);
|
||||
|
@ -68,7 +69,6 @@ private:
|
|||
|
||||
size_t m_y_offset { 0 };
|
||||
size_t m_output_port_index;
|
||||
NonnullRefPtr<GraphicsDevice> m_graphics_adapter;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue