mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
883b0f1390
This has been done in multiple ways: - Each time we modeset the resolution via the VirtIOGPU DisplayConnector we ensure that the framebuffer is updated with the new resolution. - Each time the cursor is updated we ensure that the framebuffer console is marked dirty so the IO Work Queue task which is scheduled to check if it is dirty, will flush the surface. - We only initialize a framebuffer console after we ensure that at the very least a DisplayConnector has being set with a known resolution. - We only call GenericFramebufferConsole::enable() when enabling the console after the important variables of the console (m_width, m_pitch and m_height) have been set. |
||
---|---|---|
.. | ||
Bochs | ||
Console | ||
Generic | ||
Intel | ||
VirtIOGPU | ||
VMWare | ||
Definitions.h | ||
DisplayConnector.cpp | ||
DisplayConnector.h | ||
GenericGraphicsAdapter.h | ||
GraphicsManagement.cpp | ||
GraphicsManagement.h |