1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:37:34 +00:00
serenity/Kernel/Graphics
Liav A 053a832fac Kernel: Simplify graphics initialization somewhat
We use a switch-case statements to ensure we try to find the best
suitable driver for a specific graphics card. In case we don't find
such, we use the default statement to initialize the graphics card as a
generic VGA adapter, if the adapter is VGA compatible.

If we couldn't initialize the driver, we don't touch this adapter
anymore.

Also, GraphicsDevice should not be tied to a PCI::Address member, as it
can be theortically be used with other buses (e.g. ISA cards).
2021-07-03 16:28:49 +02:00
..
Console Kernel: Add VirtIOGPU graphics device 2021-06-25 19:26:30 +02:00
VirtIOGPU Kernel: Simplify graphics initialization somewhat 2021-07-03 16:28:49 +02:00
Bochs.h Kernel/Graphics: Remove unnecessary derived FramebufferDevice classes 2021-05-27 22:39:13 +02:00
BochsGraphicsAdapter.cpp Kernel: Simplify graphics initialization somewhat 2021-07-03 16:28:49 +02:00
BochsGraphicsAdapter.h Kernel/PCI: Move the PCI components as a subfolder to the Bus directory 2021-07-02 13:16:12 +02:00
Definitions.h Kernel/Graphics: Add basic support for Intel native accelerator 2021-05-16 19:58:33 +02:00
FramebufferDevice.cpp WindowServer: Coalesce flushing buffers into one ioctl() call 2021-06-27 09:46:27 +02:00
FramebufferDevice.h Kernel: Abstract FramebufferConsole away from contiguous physical range 2021-06-25 19:26:30 +02:00
GraphicsDevice.h Kernel: Simplify graphics initialization somewhat 2021-07-03 16:28:49 +02:00
GraphicsManagement.cpp Kernel: Simplify graphics initialization somewhat 2021-07-03 16:28:49 +02:00
GraphicsManagement.h Kernel: Simplify graphics initialization somewhat 2021-07-03 16:28:49 +02:00
IntelNativeGraphicsAdapter.cpp Kernel: Fix miscellaneous warnings when building with Clang 2021-07-03 01:56:31 +04:30
IntelNativeGraphicsAdapter.h Kernel/PCI: Move the PCI components as a subfolder to the Bus directory 2021-07-02 13:16:12 +02:00
VGACompatibleAdapter.cpp Kernel: Simplify graphics initialization somewhat 2021-07-03 16:28:49 +02:00
VGACompatibleAdapter.h Kernel/PCI: Move the PCI components as a subfolder to the Bus directory 2021-07-02 13:16:12 +02:00