WindowServer: Remove the default background wallpaper

Booting without a wallpaper is significantly faster in QEMU when the
host machine is under load (e.g while recording the screen..)

Using a wallpaper is now optional. :^)
This commit is contained in:
Andreas Kling 2019-09-18 16:34:05 +02:00
parent 229dbd0ab2
commit 270adea22f
Notes: sideshowbarker 2024-07-19 12:03:20 +09:00
3 changed files with 0 additions and 99917 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

File diff suppressed because one or more lines are too long

View file

@ -38,9 +38,6 @@ WSCompositor::WSCompositor()
init_bitmaps();
m_wallpaper_path = "/res/wallpapers/retro.rgb";
m_wallpaper = GraphicsBitmap::load_from_file(GraphicsBitmap::Format::RGBA32, m_wallpaper_path, { 1024, 768 });
m_compose_timer.on_timeout = [=]() {
#if defined(COMPOSITOR_DEBUG)
dbgprintf("WSCompositor: delayed frame callback: %d rects\n", m_dirty_rects.size());