mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-02 20:42:11 +02: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:
Notes:
sideshowbarker
2024-07-18 01:51:19 +09:00
Author: https://github.com/supercomputer7 Commit: https://github.com/SerenityOS/serenity/commit/f476b49fd83 Pull-request: https://github.com/SerenityOS/serenity/pull/10163 Reviewed-by: https://github.com/IdanHo Reviewed-by: https://github.com/ccapitalK ✅
@@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user