1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 18:47:44 +00:00

WindowServer: Create the VirtualScreenBackend

This screen backend is just memory-backed and doesn't connect to any
screen hardware. That way, we can boot Serenity without video hardware
but in full graphical mode :^)

To create a virtual screen, put something like this in your
WindowServer.ini. There's no way yet to do this through Display
Settings, though an existing virtual screen's settings can be changed
there.
```ini
[Screen0]
Mode=Virtual
Left=1024
Top=0
Width=1920
Height=1080
ScaleFactor=1
```
This commit is contained in:
kleines Filmröllchen 2022-04-02 00:30:52 +02:00 committed by Linus Groh
parent be98ce0f9f
commit 935f401714
4 changed files with 140 additions and 4 deletions

View file

@ -26,6 +26,7 @@ set(SOURCES
Overlays.cpp
Screen.cpp
HardwareScreenBackend.cpp
VirtualScreenBackend.cpp
ScreenLayout.cpp
Window.cpp
WindowFrame.cpp