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

WindowServer: Introduce the ScreenBackend concept

The ScreenBackend is a thin wrapper around the actual screen hardware
connection. It contains all the variables specific to that hardware and
abstracts away operations that deal with controlling the hardware. The
standard ScreenBackend implementor is HardwareScreenBackend, which
contains all the existing frame buffer & ioctl handling code of Screen.
I took this opportunity to introduce ErrorOr wherever sensible.
This commit is contained in:
kleines Filmröllchen 2022-03-31 18:00:44 +02:00 committed by Linus Groh
parent 1fce201d15
commit 0acffa5ef4
4 changed files with 213 additions and 0 deletions

View file

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