ladybird/Kernel/Graphics/VirtIOGPU
Liav A 72b144e9e9 Kernel/Graphics: Introduce a new mechanism to initialize a PCI device
Instead of using a clunky switch-case paradigm, we now have all drivers
being declaring two methods for their adapter class - create and probe.
These methods are linked in each PCIGraphicsDriverInitializer structure,
in a new s_initializers static list of them.
Then, when we probe for a PCI device, we use each probe method and if
there's a match, then the corresponding create method is called.

As a result of this change, it's much more easy to add more drivers and
the initialization code is more readable.
2023-01-07 11:51:13 -07:00
..
Console.cpp Kernel/Graphics: Restore VirtIO GPU framebuffer console functionality 2022-12-31 05:13:21 -07:00
Console.h Kernel/Graphics: Restore VirtIO GPU framebuffer console functionality 2022-12-31 05:13:21 -07:00
DisplayConnector.cpp Kernel/Graphics: Restore VirtIO GPU framebuffer console functionality 2022-12-31 05:13:21 -07:00
DisplayConnector.h Kernel/Graphics: Restore VirtIO GPU framebuffer console functionality 2022-12-31 05:13:21 -07:00
GPU3DDevice.cpp Kernel/Graphics: Propagate errors properly around in the VirtIO driver 2022-12-19 10:19:57 +00:00
GPU3DDevice.h Kernel/Graphics: Increase VirtIO GPU transfer buffer size to 4MiB 2022-12-26 09:39:20 +01:00
GraphicsAdapter.cpp Kernel/Graphics: Introduce a new mechanism to initialize a PCI device 2023-01-07 11:51:13 -07:00
GraphicsAdapter.h Kernel/Graphics: Introduce a new mechanism to initialize a PCI device 2023-01-07 11:51:13 -07:00
Protocol.h Everywhere: Prefix 'TYPEDEF_DISTINCT_ORDERED_ID' with 'AK_' 2022-07-22 23:09:43 +01:00